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

perf: optimize parser identifier atoms

#14242
Comparing
codex/extract-fn-identifier
(
cd8f982
) with
main
(
a02e8ee
)
CodSpeed Performance Gauge
0%
Improvement
1
Regression
2
Untouched
49
Skipped
38

Benchmarks

90 total
rust@create_named_chunk_ids
xtask/benchmark/stages/create_named_chunk_ids.rs::stage::bench
CodSpeed Performance Gauge
-3%
6.2 ms6.4 ms
bundle@threejs-development
xtask/benchmark/cases/bundle_threejs_development.rs::case::bench::bundle
CodSpeed Performance Gauge
-2%
60.5 ms61.8 ms
bundle@threejs-production-sourcemap
xtask/benchmark/cases/bundle_threejs_production_sourcemap.rs::case::bench::bundle
CodSpeed Performance Gauge
+4%
125.7 ms120.8 ms
rust@persistent_cache_restore@basic-react-development
xtask/benchmark/cases/persistent_cache_restore.rs::case::bench::persistent_cache
CodSpeed Performance Gauge
+2%
15.9 ms15.6 ms
bundle@basic-react-development
xtask/benchmark/cases/bundle_basic_react_development.rs::case::bench::bundle
CodSpeed Performance Gauge
+1%
305.3 ms301.3 ms
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
79 µs78.4 µs
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
64.4 µs64.1 µs
rust@flag_dependency_usage
xtask/benchmark/stages/flag_dependency_usage.rs::stage::bench
CodSpeed Performance Gauge
0%
22 ms22 ms
rust@create_module_assets
xtask/benchmark/stages/create_module_assets.rs::stage::bench
CodSpeed Performance Gauge
0%
690.8 µs689.2 µs
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
210 µs209.6 µs
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
259.9 µs259.5 µs
rust@create_concatenate_module
xtask/benchmark/stages/create_concatenate_module.rs::stage::bench
CodSpeed Performance Gauge
0%
33.3 ms33.2 ms
rust@create_chunk_assets
xtask/benchmark/stages/create_chunk_assets.rs::stage::bench
CodSpeed Performance Gauge
0%
3.2 ms3.2 ms
rust@create_named_module_ids
xtask/benchmark/stages/create_named_module_ids.rs::stage::bench
CodSpeed Performance Gauge
0%
5.8 ms5.8 ms
rust@real_content_hash
xtask/benchmark/stages/real_content_hash.rs::stage::bench
CodSpeed Performance Gauge
0%
33.6 ms33.6 ms
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
sources@repetitive_react_components_map
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
sources@concat_generate_string_with_cache
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
13.7 µs13.7 µs
sources@complex_replace_source_map
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
8.7 ms8.7 ms
sources@complex_replace_source_map_cached_source_stream_chunks
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
6.2 ms6.2 ms
sources@complex_replace_source_source
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
2.8 ms2.8 ms
sources@concat_generate_string
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
42.7 µs42.7 µs
sources@complex_replace_source_size
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
221.3 µs221.3 µs
sources@cached_source_hash
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
2.9 µs2.9 µs
sources@concat_source_add_few
xtask/benchmark/benches/rspack_sources.rs::rspack_sources_benches::rspack_sources::rspack_sources_benchmark::rspack_sources
CodSpeed Performance Gauge
0%
4.1 µs4.1 µs

Commits

Click on a commit to change the comparison range
Base
main
a02e8ee
-0.33%
perf: optimize parser identifier atoms
cd8f982
2 hours ago
by SyMind
© 2026 CodSpeed Technology
Home Terms Privacy Docs