Avatar for the projectwallace user
projectwallace
css-analyzer
BlogDocsChangelog

use `calculateSelectorNode` for calculating specificity

#423
Comparing
perf/calculate-selector-node
(
4fd5f5b
) with
master
(
bc42b86
)
CodSpeed Performance Gauge
+50%
Improvements
5
Regressions
0
Untouched
2
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

high complexity/specificity selectors
benchmark/benchmark.js::high complexity/specificity selectors
CodSpeed Performance Gauge
+50%
1,016.6 µs
676.7 µs
color names
benchmark/benchmark.js::color names
CodSpeed Performance Gauge
+50%
859.5 µs
572.6 µs
slice of nerdy.dev
benchmark/benchmark.js::slice of nerdy.dev
CodSpeed Performance Gauge
+30%
9 ms
6.9 ms
slice of Syntax.fm
benchmark/benchmark.js::slice of Syntax.fm
CodSpeed Performance Gauge
+24%
6.5 ms
5.2 ms
font shorthand
benchmark/benchmark.js::font shorthand
CodSpeed Performance Gauge
+19%
545.9 µs
458.2 µs

Passed

KeywordSet
benchmark/benchmark.js::KeywordSet
CodSpeed Performance Gauge
+8%
20 µs
18.6 µs
css-tricks-20231008.css (112.7kB)
benchmark/benchmark.js::css-tricks-20231008.css (112.7kB)
CodSpeed Performance Gauge
0%
412 ms
413.7 ms

Commits

Click on a commit to change the comparison range
Base
master
bc42b86
+50%
use `calculateSelectorNode` for calculating specificity
4fd5f5b
5 months ago
Home Terms PrivacyDocs