oxc-project
oxc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(linter): reduce the `RuleEnum` enum size from 168 to 16 bytes
#1783
Merged
Comparing
perf-linter-enum-size
(
dde4b70
) with
main
(
521aa2c
)
CodSpeed Performance Gauge
-3%
Improvement
3
Regression
1
Untouched
12
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
16 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
semantic[typescript.js]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
-3%
367.5 ms
379.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter[react.development.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
+15%
23.4 ms
20.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter[antd.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
+14%
1.9 s
1.7 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter[typescript.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
+14%
3.4 s
3 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minifier[react.development.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minifier[antd.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
CodSpeed Performance Gauge
0%
242.4 ms
242.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minifier[typescript.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
CodSpeed Performance Gauge
0%
431.4 ms
430.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[binder.ts]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
14.6 ms
14.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[scanner.ts]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
14.5 ms
14.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[react.development.js]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
2.4 ms
2.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
semantic[react.development.js]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[antd.js]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
197.6 ms
197.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[typescript.js]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
350.1 ms
350.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[parser.ts]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
37.7 ms
37.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
semantic[antd.js]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
-1%
192.9 ms
194.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[checker.ts]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
-1%
236.8 ms
238.8 ms
Commits
Click on a commit to change the comparison range
Base
main
521aa2c
-3.12%
perf: try shrinking the enum size for RuleEnum from 168 to 16 bytes
dde4b70
2 years ago
by Boshen
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs