swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(hstr): trim atom hash and benchmark hashset lookups
#11874
Closed
Comparing
hardfist:perf/micro-optimize-hstr
(
9472db8
) with
main
(
aa5b539
)
CodSpeed Performance Gauge
+2%
Improvement
13
Untouched
206
New
228
Ignored
1
Skipped
31
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
New
Untouched
Ignored
Skipped
479 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/d3
crates/swc_ecma_minifier/benches/full.rs::bench_all::bench_libs::es/minifier/libs
CodSpeed Performance Gauge
+3%
377.4 ms
365.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/lodash
crates/swc_ecma_minifier/benches/full.rs::bench_all::bench_libs::es/minifier/libs
CodSpeed Performance Gauge
+3%
108.3 ms
105.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/large/minify/libraries/d3
crates/swc/benches/minify.rs::benches::files_group::es/large/minify/libraries
CodSpeed Performance Gauge
+3%
493.1 ms
479.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/large/minify/libraries/lodash
crates/swc/benches/minify.rs::benches::files_group::es/large/minify/libraries
CodSpeed Performance Gauge
+3%
142 ms
138.4 ms
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
+3%
757.7 ms
738.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/vue
crates/swc_ecma_minifier/benches/full.rs::bench_all::bench_libs::es/minifier/libs
CodSpeed Performance Gauge
+2%
135.7 ms
132.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/moment
crates/swc_ecma_minifier/benches/full.rs::bench_all::bench_libs::es/minifier/libs
CodSpeed Performance Gauge
+2%
57.8 ms
56.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/large/all/es2018
crates/swc/benches/typescript.rs::benches::full_group
CodSpeed Performance Gauge
+2%
112.8 ms
110.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/jquery
crates/swc_ecma_minifier/benches/full.rs::bench_all::bench_libs::es/minifier/libs
CodSpeed Performance Gauge
+2%
89.8 ms
87.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/oxc/benches/assets/parser.ts/sourceMap=false/reactDev=false
crates/swc/benches/oxc.rs::benches::full_group
CodSpeed Performance Gauge
+2%
48.8 ms
47.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/large/minify/libraries/vue
crates/swc/benches/minify.rs::benches::files_group::es/large/minify/libraries
CodSpeed Performance Gauge
+2%
177.9 ms
174.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/react
crates/swc_ecma_minifier/benches/full.rs::bench_all::bench_libs::es/minifier/libs
CodSpeed Performance Gauge
+2%
18.5 ms
18.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/large/all/es3
crates/swc/benches/typescript.rs::benches::full_group
CodSpeed Performance Gauge
+2%
180.4 ms
176.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compact_str[1024]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
741.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compact_str[128]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
741.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compact_str[32]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
770.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compact_str[4]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
745.3 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
smartstring[16]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
768.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
kstring[1024]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
611.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compact_str[512]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
741.1 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
smartstring[2048]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
kstring[128]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
611.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
hstr[128]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
1.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compact_str[16]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
744.2 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
compact_str[2048]
crates/hstr/benches/libs.rs::benches::bench_basic_creation::single-thread/create/cached
CodSpeed Performance Gauge
N/A
N/A
770.3 ns
1
2
3
4
5
...
20
Commits
Click on a commit to change the comparison range
Base
main
aa5b539
+2.6%
perf(hstr): hash dynamic atom bytes directly
03e0a13
15 hours ago
by hardfist
-2.59%
perf(hstr): trim atom hash and equality hot paths
caf9244
12 hours ago
by hardfist
+3.09%
bench(hstr): measure hashset lookups without drop costs
e8a21e8
12 hours ago
by hardfist
-0.63%
perf(hstr): inline atom equality hot path
9472db8
12 hours ago
by hardfist
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs