kamiazya
web-csv-toolbox
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
feat: implement const type parameters to eliminate `as const` requirement
#616
Merged
Comparing
feat/const-type-parameters
(
3d75c8b
) with
main
(
2a7b22e
)
CodSpeed Performance Gauge
-51%
Improvement
3
Regression
1
Untouched
61
Skipped
8
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
Untouched
Skipped
73 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Data transformation: no conversion (100 rows)
benchmark/main.ts
CodSpeed Performance Gauge
-51%
2.3 ms
4.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parseString.toIterableIterator(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
+92%
2.8 ms
1.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Engine comparison: mainThread (500 rows)
benchmark/main.ts
CodSpeed Performance Gauge
+76%
30.5 ms
17.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Worker perf: medium (1000 rows) - mainThread
benchmark/main.ts
CodSpeed Performance Gauge
+71%
33.6 ms
19.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Engine comparison: wasm (5000 rows)
benchmark/main.ts
CodSpeed Performance Gauge
+27%
142.7 ms
112.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Engine comparison: mainThread (5000 rows)
benchmark/main.ts
CodSpeed Performance Gauge
+15%
176.3 ms
153.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Scaling: 100 rows
benchmark/main.ts
CodSpeed Performance Gauge
+14%
3.4 ms
2.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Stream approach: parseBinaryStream (100KB)
benchmark/main.ts
CodSpeed Performance Gauge
+13%
350.2 ms
311 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Quote ratio: 50% (1000 rows)
benchmark/main.ts
CodSpeed Performance Gauge
+10%
13.2 ms
12 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Field length: 100 chars (1000 rows)
benchmark/main.ts
CodSpeed Performance Gauge
+6%
14.2 ms
13.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Stream approach: parseBinaryStream (10KB)
benchmark/main.ts
CodSpeed Performance Gauge
+2%
36.4 ms
35.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Stream approach: parseBinaryStream (1KB)
benchmark/main.ts
CodSpeed Performance Gauge
+1%
4.5 ms
4.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parseBinary.toArraySync(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
+1%
999 µs
987.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Low-level: CSVLexer + CSVRecordAssembler (1000 rows)
benchmark/main.ts
CodSpeed Performance Gauge
+1%
27.9 ms
27.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Binary approach: parseBinary (100KB)
benchmark/main.ts
CodSpeed Performance Gauge
+1%
36 ms
35.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Concurrent: Sequential mainThread
benchmark/main.ts
CodSpeed Performance Gauge
+1%
35.7 ms
35.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Scaling: 50 rows
benchmark/main.ts
CodSpeed Performance Gauge
+1%
1.7 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parseString.toStream(50 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
2.3 ms
2.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Worker perf: small (100 rows) - mainThread
benchmark/main.ts
CodSpeed Performance Gauge
0%
2.1 ms
2.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Field length: 1KB (1000 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
27.4 ms
27.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Quote ratio: 100% (1000 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
12.6 ms
12.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parseString engine:stable (1000 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
21.1 ms
21 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parseString engine:fast (1000 rows)
benchmark/main.ts
CodSpeed Performance Gauge
0%
13.8 ms
13.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Scaling: 5000 rows
benchmark/main.ts
CodSpeed Performance Gauge
0%
161.4 ms
161.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Worker perf: tiny (10 rows) - mainThread
benchmark/main.ts
CodSpeed Performance Gauge
0%
351.3 µs
351 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
main
2a7b22e
-51.12%
feat: implement const type parameters to eliminate `as const` requirement
3d75c8b
2 months ago
by kamiazya
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs