BlogDocs

use `calculateSelectorNode` for calculating specificity(#423)

Comparing
perf/calculate-selector-node
(
4fd5f5b
) with
master
(
bc42b86
)
+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
+50%
1,016.6 µs
676.7 µs
color names
benchmark/benchmark.js::color names
+50%
859.5 µs
572.6 µs
slice of nerdy.dev
benchmark/benchmark.js::slice of nerdy.dev
+30%
9 ms
6.9 ms
slice of Syntax.fm
benchmark/benchmark.js::slice of Syntax.fm
+24%
6.5 ms
5.2 ms
font shorthand
benchmark/benchmark.js::font shorthand
+19%
545.9 µs
458.2 µs

Passed

KeywordSet
benchmark/benchmark.js::KeywordSet
+8%
20 µs
18.6 µs
css-tricks-20231008.css (112.7kB)
benchmark/benchmark.js::css-tricks-20231008.css (112.7kB)
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
3 months ago
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.