Stranger6667 / css-inline

High-performance library for inlining CSS into HTML 'style' attributes
https://css-inline.org/
MIT License
237 stars 29 forks source link

perf: Reuse caches for nth index selectors #278

Closed Stranger6667 closed 9 months ago

codecov[bot] commented 9 months ago

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (9024970) 85.17% compared to head (8ffea7f) 84.87%.

Files Patch % Lines
css-inline/src/html/document.rs 12.50% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #278 +/- ## ========================================== - Coverage 85.17% 84.87% -0.31% ========================================== Files 18 18 Lines 1693 1699 +6 ========================================== Hits 1442 1442 - Misses 251 257 +6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codspeed-hq[bot] commented 9 months ago

CodSpeed Performance Report

Merging #278 will improve performances by 25.43%

Comparing dd/use-more-cache (8ffea7f) with master (9024970)

Summary

⚡ 1 improvements ✅ 5 untouched benchmarks

Benchmarks breakdown

Benchmark master dd/use-more-cache Change
big_page 10.8 s 8.6 s +25.43%