rstackjs
rspack-sources
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
chore(deps): update github-actions
renovate/github-actions
1 day ago
chore(deps): update github-actions
renovate/github-actions
2 days ago
chore(deps): update github-actions
renovate/github-actions
3 days ago
Merge branch 'main' into fy/jolly-mendeleev-0b5e28
fy/jolly-mendeleev-0b5e28
3 days ago
test(bench): add concat_source_add microbenchmark (#233) Adds two new criterion benches that build a ConcatSource by repeatedly calling `add()` — one with 500 children (mirroring rspack's concatenated_module rendering), one with 16 (mirroring runtime module assembly). The existing bench suite only exercises `.map().to_json()` on a pre-built ConcatSource, which leaves `add()`'s hot path unmeasured. These cover that gap so future regressions in the construction path get caught.
main
3 days ago
test(bench): add concat_source_add microbenchmark Adds two new criterion benches that build a ConcatSource by repeatedly calling `add()` — one with 500 children (mirroring rspack's concatenated_module rendering), one with 16 (mirroring runtime module assembly). The existing bench suite only exercises `.map().to_json()` on a pre-built ConcatSource, which leaves `add()`'s hot path unmeasured. These cover that gap so future regressions in the construction path get caught.
fy/bench-concat-source-add
3 days ago
perf(concat_source): skip Mutex acquire in add() under &mut self `ConcatSource::add` takes `&mut self`, which already guarantees exclusive access to the inner children Vec. Locking the Mutex was a redundant atomic acquire/release on a hot construction path — rspack's JS code generation calls `add` hundreds of times per chunk (e.g. concatenated module rendering, runtime module assembly, parallel rayon folds). Switch to `Mutex::get_mut()` which is the standard zero-overhead alternative when exclusive access is statically known. All other read-only accessors (`Clone`, `Debug`, `optimized_children`) still acquire the lock.
fy/jolly-mendeleev-0b5e28
3 days ago
test(bench): add concat_source_add microbenchmark Adds two new criterion benches that build a ConcatSource by repeatedly calling `add()` — one with 500 children (mirroring rspack's concatenated_module rendering), one with 16 (mirroring runtime module assembly). The existing bench suite only exercises `.map().to_json()` on a pre-built ConcatSource, which leaves `add()`'s hot path unmeasured. These cover that gap so future regressions in the construction path get caught.
fy/jolly-mendeleev-0b5e28
3 days ago
Latest Branches
CodSpeed Performance Gauge
0%
chore(deps): update github-actions
#228
1 day ago
999dd0c
renovate/github-actions
CodSpeed Performance Gauge
0%
perf(concat_source): skip Mutex acquire in add() under &mut self
#232
3 days ago
9c6efe2
fy/jolly-mendeleev-0b5e28
CodSpeed Performance Gauge
0%
test(bench): add concat_source_add microbenchmark
#233
3 days ago
678e9a7
fy/bench-concat-source-add
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs