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

fix: escape invalid chars anywhere in to_identifier_with_escaped

#13707Merged
Comparing
fy/infallible-williamson
(
fe0d029
) with
main
(
e26bca5
)
CodSpeed Performance Gauge
-1%
Regression
1
Untouched
27

Benchmarks

28 total
rust@concatenate_module_code_generation
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
-1%
137 ms138.7 ms
js@external getResolve
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
1.5 ms1.5 ms
js@Traverse module graph by dependencies
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
+1%
843.9 µs838.8 µs
rust@persistent_cache_restore_after_single_file_change@basic-react-development
xtask/benchmark/benches/groups/persistent_cache.rs::persistent_cache::persistent_cache_benchmark::persistent_cache
CodSpeed Performance Gauge
+1%
27.8 ms27.7 ms
rust@build_module_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_module_graph_benchmark
CodSpeed Performance Gauge
0%
1.5 s1.5 s
js@record chunk group
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
79.1 µs78.9 µs
rust@scan_dependencies@three_module
xtask/benchmark/benches/groups/scan_dependencies.rs::scan_dependencies::benchmark_scan_dependencies
CodSpeed Performance Gauge
0%
23.6 ms23.6 ms
rust@module_graph_api
xtask/benchmark/benches/groups/module_graph_api.rs::module_graph_api::module_graph_api_benchmark
CodSpeed Performance Gauge
0%
12.4 ms12.4 ms
rust@create_module_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
12.6 ms12.6 ms
rust@build_chunk_graph
xtask/benchmark/benches/groups/build_chunk_graph.rs::chunk_graph::build_chunk_graph_benchmark
CodSpeed Performance Gauge
0%
103 ms102.9 ms
js@is css mod
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
84.2 µs84.2 µs
js@record module
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
1.9 ms1.9 ms
rust@create_concatenate_module
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
42.3 ms42.3 ms
bundle@threejs-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
707.1 ms707.4 ms
rust@flag_dependency_usage
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
30.5 ms30.5 ms
js@stats.toJson()
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
20.9 ms21 ms
js@collect imported identifiers
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
212.2 µs212.4 µs
bundle@threejs-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
2 s2 s
js@Traverse compilation.modules
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
61.9 µs61.9 µs
bundle@basic-react-development
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
344.2 ms344.6 ms
rust@persistent_cache_restore@basic-react-development
xtask/benchmark/benches/groups/persistent_cache.rs::persistent_cache::persistent_cache_benchmark::persistent_cache
CodSpeed Performance Gauge
0%
26.8 ms26.9 ms
rust@create_chunk_hashes
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
4.2 ms4.2 ms
rust@create_chunk_ids
xtask/benchmark/benches/groups/compilation_stages.rs::compilation_stages::compilation_stages_benchmark
CodSpeed Performance Gauge
0%
10.2 ms10.3 ms
bundle@basic-react-production-sourcemap
xtask/benchmark/benches/groups/bundle.rs::bundle::bundle_benchmark::bundle
CodSpeed Performance Gauge
0%
732.8 ms735.2 ms
js@Traverse module graph by connections
tests/bench/ts-react.bench.ts::TypeScript React project
CodSpeed Performance Gauge
0%
266 µs267 µs

Commits

Click on a commit to change the comparison range
Base
main
e26bca5
+1.93%
fix: escape invalid chars anywhere in to_identifier_with_escaped (#12940)
bb853b5
3 days ago
by JSerFeng
-3.13%
fix: restore cheap fast-path in to_identifier_with_escaped
fe0d029
2 days ago
by JSerFeng
© 2026 CodSpeed Technology
Home Terms Privacy Docs