Skip to content

perf: implement fast path for declarations w/o hack or prefix#167

Merged
bartveneman merged 1 commit intomainfrom
perf/decl-fast-path
Mar 8, 2026
Merged

perf: implement fast path for declarations w/o hack or prefix#167
bartveneman merged 1 commit intomainfrom
perf/decl-fast-path

Conversation

@bartveneman
Copy link
Member

@bartveneman bartveneman commented Mar 8, 2026

before

Screenshot 2026-03-08 at 22 44 02

after

Screenshot 2026-03-08 at 22 43 09

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 91.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.96%. Comparing base (c1cc139) to head (b14f496).

Files with missing lines Patch % Lines
src/parse-declaration.ts 91.66% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #167      +/-   ##
==========================================
- Coverage   94.96%   94.96%   -0.01%     
==========================================
  Files          16       16              
  Lines        2880     2877       -3     
  Branches      805      804       -1     
==========================================
- Hits         2735     2732       -3     
  Misses        145      145              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codecov-commenter
Copy link

Bundle Report

Changes will decrease total bundle size by 3 bytes (-0.0%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
@projectwallace/css-parser-esm 159.07kB -3 bytes (-0.0%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: @projectwallace/css-parser-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
parse-declaration.js -3 bytes 6.01kB -0.05%

Files in parse-declaration.js:

  • ./src/parse-declaration.ts → Total Size: 5.65kB

@bartveneman bartveneman merged commit 42d04c6 into main Mar 8, 2026
4 checks passed
@bartveneman bartveneman deleted the perf/decl-fast-path branch March 8, 2026 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants