Skip to content

chore(benchmark): use 1000 npm package to benchmark resolve performance#57

Merged
stormslowly merged 17 commits intomainfrom
chore/benchmark_rayon
Mar 27, 2025
Merged

chore(benchmark): use 1000 npm package to benchmark resolve performance#57
stormslowly merged 17 commits intomainfrom
chore/benchmark_rayon

Conversation

@stormslowly
Copy link
Collaborator

@stormslowly stormslowly commented Mar 24, 2025

  1. use lots npm packages to bechmark performance; in daily development resolveer resolves much more under node_modules folder
  2. clean cache in each benchmark iteration
  3. keep debug symbol in benchmark, to view the flamegraph in codespeed

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 24, 2025

CodSpeed Performance Report

Merging #57 will degrade performances by 99.45%

Comparing chore/benchmark_rayon (6fc22f6) with main (67d9b6c)

Summary

❌ 2 regressions
✅ 1 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
resolver[multi-thread] 499.1 µs 90,649.3 µs -99.45%
resolver[single-thread] 483.2 µs 86,676.6 µs -99.44%

@stormslowly stormslowly enabled auto-merge (squash) March 24, 2025 16:16
@stormslowly stormslowly changed the title chore: init rayon thread pool avdancing benchmark chore(benchmark): use 1000 npm package to benchmark resolve performance Mar 25, 2025
@stormslowly stormslowly force-pushed the chore/benchmark_rayon branch from e1414cb to 01deb81 Compare March 26, 2025 06:09
@stormslowly stormslowly disabled auto-merge March 27, 2025 03:02
@stormslowly stormslowly enabled auto-merge (squash) March 27, 2025 03:02
@stormslowly stormslowly merged commit d4265fb into main Mar 27, 2025
20 of 21 checks passed
@stormslowly stormslowly deleted the chore/benchmark_rayon branch March 27, 2025 03:09
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