• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FullHuman / purgecss / 40920527343
92%
main: 95%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/minimatch-11.0.10
DEFAULT BRANCH: main
Ran 29 Oct 2026 05:23PM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Oct 2026 05:21PM UTC coverage: 91.681%. Remained the same
40920527343

Pull #1533

github

claude
perf(purgecss): find used css variables by name, in linear time

removeUnused already reads every declaration of each used variable and
adds the variables they use, then marks every declaration of the used
names. The dependencies recorded between declarations by
addVariableUsage, and followed by setAsUsed, always point into that set
of names, so they never change the output. Since #1520 there are still
O(N^2) of them when N rules redefine dependent variables: 20,000 rules
took about 25 s and 2 GB of memory.

- stop recording dependencies: addVariableUsage does nothing and
  VariableNode.nodes stays empty, both deprecated
- setAsUsed only marks the declarations of the given variable
- addVariable pushes in place instead of copying the list each time

20,000 rules now take about 0.5 s and 85 MB. The performance test uses
20,000 rules, which runs out of memory before this change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GfM7HtCSJF647Jd679RRc2
Pull Request #1533: perf(purgecss): find used css variables by name, in linear time

491 of 570 branches covered (86.14%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 1 file covered. (100.0%)

545 of 560 relevant lines covered (97.32%)

10253.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40920527343.1 29 Oct 2026 05:23PM UTC 17
89.31
GitHub Action Run
Source Files on build 40920527343
  • Tree
  • List 8
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40920527343
  • Pull Request #1533
  • PR Base - main (#40917367672)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc