swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(es/fast-lexer): replace PHF with static keyword lookup table
#10181
Merged
Comparing
GiveMe-A-Name:perf/fast-keyword-lookup-table
(
c8c37d3
) with
main
(
bccdafc
)
CodSpeed Performance Gauge
+10%
Improvement
8
Untouched
142
Archived
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Archived
152 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/fast-lexer/three
crates/swc_ecma_fast_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
+10%
31.2 ms
28.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/fast-lexer/underscore
crates/swc_ecma_fast_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
+10%
996.8 µs
905.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/fast-lexer/jquery
crates/swc_ecma_fast_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
+10%
6.4 ms
5.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/fast-lexer/mootools
crates/swc_ecma_fast_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
+10%
5.1 ms
4.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/fast-lexer/jquery mobile
crates/swc_ecma_fast_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
+9%
10.4 ms
9.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/fast-lexer/backbone
crates/swc_ecma_fast_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
+9%
1.2 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/fast-lexer/angular
crates/swc_ecma_fast_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
+8%
9.5 ms
8.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/fast-lexer/yui
crates/swc_ecma_fast_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
+6%
5.8 ms
5.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/lints/libs/d3
crates/swc_ecma_lints/benches/all.rs::files::bench_files::es/lints/libs
CodSpeed Performance Gauge
+2%
28.6 ms
28 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
serialization of serde
crates/swc_common/benches/serde.rs::benches::bench_serde
CodSpeed Performance Gauge
-1%
2.8 µs
2.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/terser
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs
CodSpeed Performance Gauge
-1%
390.6 ms
393.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/lints/libs/three
crates/swc_ecma_lints/benches/all.rs::files::bench_files::es/lints/libs
CodSpeed Performance Gauge
0%
64.3 ms
64.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/hygiene/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases
CodSpeed Performance Gauge
0%
498.6 ms
499.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/three
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs
CodSpeed Performance Gauge
0%
809.1 ms
807.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/echarts
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs
CodSpeed Performance Gauge
0%
1.9 s
1.9 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/lints/libs/terser
crates/swc_ecma_lints/benches/all.rs::files::bench_files::es/lints/libs
CodSpeed Performance Gauge
0%
25.2 ms
25.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/parser/colors
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files
CodSpeed Performance Gauge
0%
128.9 µs
128.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/resolver_with_hygiene/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases
CodSpeed Performance Gauge
0%
810.8 ms
811.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
github
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document
CodSpeed Performance Gauge
0%
45.2 ms
45.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
html/document_fragment/visitor/compare/visit_mut_span_panic
crates/swc_html_parser/benches/compare.rs::benches::bench_cases
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/jquery
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs
CodSpeed Performance Gauge
0%
128.8 ms
128.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/d3
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs
CodSpeed Performance Gauge
0%
497.5 ms
497.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/lexer/colors
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
0%
45.5 µs
45.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/lints/libs/react
crates/swc_ecma_lints/benches/all.rs::files::bench_files::es/lints/libs
CodSpeed Performance Gauge
0%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/lexer/cal-com
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
0%
35.3 ms
35.3 ms
1
2
3
4
5
6
7
Commits
Click on a commit to change the comparison range
Base
main
bccdafc
+10.4%
perf(es/fast-lexer): replace PHF with static keyword lookup table
c8c37d3
1 year ago
by GiveMe-A-Name
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs