Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use calculateSelectorNode for calculating specificity #423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bartveneman
Copy link
Member

@bartveneman bartveneman commented Aug 9, 2024

refs #422

@codecov-commenter
Copy link

codecov-commenter commented Aug 9, 2024

Bundle Report

Changes will increase total bundle size by 167.34kB ⬆️

Bundle name Size Change
analyzeCss-analyzeCss-esm 99.27kB 99.27kB ⬆️
analyzeCss-analyzeCss-esm-analyzeCss-umd 68.07kB 68.07kB ⬆️

Copy link

codspeed-hq bot commented Aug 9, 2024

CodSpeed Performance Report

Merging #423 will improve performances by 50.23%

Comparing perf/calculate-selector-node (4fd5f5b) with master (bc42b86)

Summary

⚡ 5 improvements
✅ 2 untouched benchmarks

Benchmarks breakdown

Benchmark master perf/calculate-selector-node Change
color names 859.5 µs 572.6 µs +50.12%
font shorthand 545.9 µs 458.2 µs +19.14%
high complexity/specificity selectors 1,016.6 µs 676.7 µs +50.23%
slice of Syntax.fm 6.5 ms 5.2 ms +24.43%
slice of nerdy.dev 9 ms 6.9 ms +30.44%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants