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

perf: improve sort method #28

Merged
merged 1 commit into from
May 31, 2024
Merged

perf: improve sort method #28

merged 1 commit into from
May 31, 2024

Conversation

Boshen
Copy link
Member

@Boshen Boshen commented May 31, 2024

No description provided.

Copy link

codspeed-hq bot commented May 31, 2024

CodSpeed Performance Report

Merging #28 will improve performances by 8.54%

Comparing perf-sort (8c84c79) with main (ff082bf)

Summary

⚡ 6 improvements

Benchmarks breakdown

Benchmark main perf-sort Change
resolve '> 0.5%' 40.1 µs 36.9 µs +8.54%
resolve 'cover 99%' 372.3 µs 121.9 µs ×3.1
resolve 'defaults, not dead' 172.9 µs 140.3 µs +23.23%
resolve 'electron >= 10' 11.5 µs 10.5 µs +10.02%
resolve 'node >= 8' 246 µs 182.3 µs +34.96%
resolve 'supports es6-module' 259.1 µs 228.4 µs +13.41%

Copy link

codecov bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.14%. Comparing base (ff082bf) to head (8c84c79).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
- Coverage   98.15%   98.14%   -0.01%     
==========================================
  Files          49       49              
  Lines        2437     2432       -5     
==========================================
- Hits         2392     2387       -5     
  Misses         45       45              

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

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.

1 participant