Micro Timings

Focused single-file, generated, and solver stress timings for isolating compiler hot spots after the full-project pass. These rows are not product speedup claims; fixed startup, lib loading, and import-graph behavior can dominate small inputs.

tsz tsgo

utility-types files piotrwitek/utility-types

Real-world utility-types file-level benchmark set from pinned snapshot.

library file · 650 lines · 17 KB

Single-file type-check from utility-types with real-world helper types.

tsz
203ms
tsgo
814ms
tsz 4.0x faster
View details
library file · 175 lines · 5 KB

Single-file type-check from utility-types with real-world helper types.

tsz
210ms
tsgo
796ms
tsz 3.8x faster
View details
library file · 103 lines · 3 KB

Single-file type-check from utility-types with real-world helper types.

tsz
157ms
tsgo
834ms
tsz 5.3x faster
View details
library file · 69 lines · 1 KB

Single-file type-check from utility-types with real-world helper types.

tsz
208ms
tsgo
766ms
tsz 3.7x faster
View details

ts-toolbelt files millsp/ts-toolbelt

Real-world ts-toolbelt file-level benchmark set with type-heavy examples.

library file · 215 lines · 8 KB

Single-file type-check from ts-toolbelt with real-world helper types.

tsz
177ms
tsgo
847ms
tsz 4.8x faster
View details
library file · 82 lines · 1 KB

Single-file type-check from ts-toolbelt with real-world helper types.

tsz
173ms
tsgo
839ms
tsz 4.9x faster
View details
library file · 61 lines · 1 KB

Single-file type-check from ts-toolbelt with real-world helper types.

tsz
324ms
tsgo
880ms
tsz 2.7x faster
View details
library file · 47 lines · 0 KB

Single-file type-check from ts-toolbelt with real-world helper types.

tsz
345ms
tsgo
821ms
tsz 2.4x faster
View details

ts-essentials files ts-essentials/ts-essentials

Real-world ts-essentials file-level benchmark set from pinned snapshot.

library file · 2,717 lines · 44 KB

Single-file type-check from ts-essentials with real-world helper types.

tsz
151ms
tsgo
306ms
tsz 2.0x faster
View details
library file · 101 lines · 3 KB

Single-file type-check from ts-essentials with real-world helper types.

tsz
215ms
tsgo
288ms
tsz 1.3x faster
View details
library file · 47 lines · 1 KB

Single-file type-check from ts-essentials with real-world helper types.

tsz
73ms
tsgo
327ms
tsz 4.5x faster
View details
library file · 39 lines · 1 KB

Single-file type-check from ts-essentials with real-world helper types.

tsz
75ms
tsgo
305ms
tsz 4.1x faster
View details

Compiler scenarios

Focused compiler behavior on representative mixed workloads.

benchmark · 8,012 lines · 136 KB

No-emit type-check timing for conditional type discriminating large union regular type fetching speed reasonable.

tsz
3.2s
tsgo
669ms
tsgo 4.8x faster
View details
benchmark · 5,003 lines · 150 KB

No-emit type-check timing for many const exports.

tsz
147ms
tsgo
512ms
tsz 3.5x faster
View details
benchmark · 4,973 lines · 39 KB

Binder and symbol-table setup for syntax-heavy TypeScript input.

tsz
101ms
tsgo
501ms
tsz 5.0x faster
View details
benchmark · 4,971 lines · 38 KB

Binder and symbol-table setup for syntax-heavy TypeScript input.

tsz
97ms
tsgo
511ms
tsz 5.2x faster
View details
benchmark · 2,055 lines · 39 KB

Enum literal subtype reduction and related assignability checks.

tsz
166ms
tsgo
559ms
tsz 3.4x faster
View details
benchmark · 1,298 lines · 44 KB

Control-flow graph construction and narrowing analysis.

tsz
317ms
tsgo
558ms
tsz 1.8x faster
View details
benchmark · 893 lines · 27 KB

Control-flow graph construction and narrowing analysis.

tsz
839ms
tsgo
898ms
tsz 1.1x faster
View details
benchmark · 819 lines · 321 KB

No-emit type-check timing for constraint conflicts n=200.

tsz
638ms
tsgo
831ms
tsz 1.3x faster
View details
benchmark · 687 lines · 26 KB

Declaration emit privacy checks for public APIs that reference private parameter types.

tsz
113ms
tsgo
509ms
tsz 4.5x faster
View details
benchmark · 684 lines · 13 KB

No-emit type-check timing for infer stress n=30.

tsz
293ms
tsgo
439ms
tsz 1.5x faster
View details
benchmark · 603 lines · 18 KB

Control-flow graph construction and narrowing analysis.

tsz
579ms
tsgo
575ms
equal
View details
benchmark · 531 lines · 10 KB

Declaration emit privacy checks for public APIs that reference private parameter types.

tsz
102ms
tsgo
515ms
tsz 5.0x faster
View details
benchmark · 514 lines · 10 KB

No-emit type-check timing for infer stress n=25.

tsz
307ms
tsgo
461ms
tsz 1.5x faster
View details
benchmark · 440 lines · 14 KB

Declaration emit privacy checks for public APIs that reference private parameter types.

tsz
112ms
tsgo
530ms
tsz 4.8x faster
View details
benchmark · 428 lines · 36 KB

No-emit type-check timing for bct candidates=200.

tsz
859ms
tsgo
920ms
tsz 1.1x faster
View details
benchmark · 419 lines · 89 KB

No-emit type-check timing for constraint conflicts n=100.

tsz
488ms
tsgo
750ms
tsz 1.5x faster
View details
benchmark · 313 lines · 9 KB

Control-flow graph construction and narrowing analysis.

tsz
337ms
tsgo
454ms
tsz 1.3x faster
View details
benchmark · 289 lines · 4 KB

No-emit type-check timing for intersection n=45.

tsz
273ms
tsgo
430ms
tsz 1.6x faster
View details
benchmark · 252 lines · 7 KB

No-emit type-check timing for mapped complex template keys=200.

tsz
396ms
tsgo
525ms
tsz 1.3x faster
View details
benchmark · 249 lines · 5 KB

No-emit type-check timing for infer stress n=15.

tsz
274ms
tsgo
492ms
tsz 1.8x faster
View details
benchmark · 229 lines · 3 KB

No-emit type-check timing for intersection n=35.

tsz
275ms
tsgo
443ms
tsz 1.6x faster
View details
benchmark · 228 lines · 17 KB

No-emit type-check timing for bct candidates=100.

tsz
265ms
tsgo
841ms
tsz 3.2x faster
View details
benchmark · 219 lines · 28 KB

No-emit type-check timing for constraint conflicts n=50.

tsz
447ms
tsgo
746ms
tsz 1.7x faster
View details

Generated type workloads

Generated stress tests that isolate specific type-system patterns.

synthetic · 16,424 lines · 4,112 KB

Mapped-type and property traversal behavior in the solver.

tsz
1.4s
tsgo
3s
tsz 2.2x faster
View details
synthetic · 16,420 lines · 4,112 KB

Mapped-type and property traversal behavior in the solver.

tsz
1.4s
tsgo
2.8s
tsz 2.0x faster
View details
synthetic · 9,203 lines · 162 KB

Class declaration binding plus constructor/member shape checking.

tsz
550ms
tsgo
812ms
tsz 1.5x faster
View details
synthetic · 4,611 lines · 143 KB

Generic signature checking and type-parameter environment setup.

tsz
1.1s
tsgo
843ms
tsgo 1.3x faster
View details
synthetic · 4,603 lines · 81 KB

Class declaration binding plus constructor/member shape checking.

tsz
320ms
tsgo
767ms
tsz 2.4x faster
View details
synthetic · 2,311 lines · 72 KB

Generic signature checking and type-parameter environment setup.

tsz
726ms
tsgo
831ms
tsz 1.1x faster
View details
synthetic · 2,303 lines · 40 KB

Class declaration binding plus constructor/member shape checking.

tsz
239ms
tsgo
730ms
tsz 3.1x faster
View details
synthetic · 1,161 lines · 36 KB

Generic signature checking and type-parameter environment setup.

tsz
678ms
tsgo
778ms
tsz 1.1x faster
View details
synthetic · 491 lines · 24 KB

Union construction, reduction, and assignability checks.

tsz
612ms
tsgo
840ms
tsz 1.4x faster
View details
synthetic · 471 lines · 14 KB

Generic signature checking and type-parameter environment setup.

tsz
488ms
tsgo
789ms
tsz 1.6x faster
View details
synthetic · 463 lines · 8 KB

Class declaration binding plus constructor/member shape checking.

tsz
170ms
tsgo
774ms
tsz 4.6x faster
View details
synthetic · 251 lines · 12 KB

Union construction, reduction, and assignability checks.

tsz
312ms
tsgo
846ms
tsz 2.7x faster
View details

Solver stress

Upper-bound tests for recursive, mapped, and conditional type complexity.

solver stress · 481 lines · 10 KB

Mapped-type and property traversal behavior in the solver.

tsz
300ms
tsgo
434ms
tsz 1.4x faster
View details
solver stress · 331 lines · 7 KB

Mapped-type and property traversal behavior in the solver.

tsz
286ms
tsgo
434ms
tsz 1.5x faster
View details