Avatar for the web-infra-dev user
web-infra-dev
rspack-sources
BlogDocsChangelog

perf: strict lifecycle and reduce allocation

#106Merged
Comparing
SyMind:perf-by-on-index
(
6d7bb00
) with
main
(
5f8b4a0
)
CodSpeed Performance Gauge
+24%
Improvements
1
Untouched
4

Benchmarks

Improved

replace_large_minified_source
benches/bench.rs::rspack_sources::bench_rspack_sources::rspack_sources::replace_large_minified_source
CodSpeed Performance Gauge
+24%
126.5 ms101.9 ms

Passed

concat_generate_string
benches/bench.rs::rspack_sources::bench_rspack_sources::rspack_sources::concat_generate_string
CodSpeed Performance Gauge
+8%
59 µs54.4 µs
concat_generate_base64
benches/bench.rs::rspack_sources::bench_rspack_sources::rspack_sources::concat_generate_base64
CodSpeed Performance Gauge
+8%
61.4 µs56.6 µs
concat_generate_string_with_cache
benches/bench.rs::rspack_sources::bench_rspack_sources::rspack_sources::concat_generate_string_with_cache
CodSpeed Performance Gauge
+1%
26.5 µs26.4 µs
concat_generate_base64_with_cache
benches/bench.rs::rspack_sources::bench_rspack_sources::rspack_sources::concat_generate_base64_with_cache
CodSpeed Performance Gauge
0%
30.1 µs30.1 µs

Commits

Click on a commit to change the comparison range
Base
main
5f8b4a0
+46.71%
perf: strict lifecycle
15f65f4
1 year ago
by SyMind
0%
fix: CachedSource stream_chunks
81070b8
1 year ago
by SyMind
0%
fix: impl to_writer
850c4ce
1 year ago
by SyMind
0%
fix: CompatSource
14b104f
1 year ago
by SyMind
0%
fix: cargo lint & fmt
ba99038
1 year ago
by SyMind
+0.25%
feat: OnName
8b0c8cd
1 year ago
by SyMind
0%
fix: fmt & lint
24b9cd3
1 year ago
by SyMind
-17.55%
Merge branch 'main' into perf-by-on-index
dc6aa96
1 year ago
by SyMind
0%
perf: reduce name_mapping allocation
d08e8c4
1 year ago
by SyMind
+0.43%
perf: try on_source
9013073
1 year ago
by SyMind
0%
fix: cargo lint & fmt
ebba1ab
1 year ago
by SyMind
-0.01%
fix: ReplaceSource
c999a75
1 year ago
by SyMind
-5.38%
refactor: RawSource
1c5e7c2
1 year ago
by SyMind
0%
Merge branch 'main' into perf-by-on-index
096649f
1 year ago
by SyMind
-0.38%
fix: remove unsafe in replace source
6d7bb00
1 year ago
by SyMind
© 2025 CodSpeed Technology
Home Terms Privacy Docs