scrapbox-parser icon indicating copy to clipboard operation
scrapbox-parser copied to clipboard

Migrate from `tsc` to `tsgo`

Open progfay opened this issue 7 months ago • 0 comments

Proposed Changes

  • Summary: 0.44s → 0.047s (9.36x faster!)
❯ ./node_modules/.bin/tsc -p ./tsconfig.lint.json --extendedDiagnostics
Files:                         215
Lines of Library:            40406
Lines of Definitions:        60685
Lines of TypeScript:          2359
Lines of JavaScript:             0
Lines of JSON:                   0
Lines of Other:                  0
Identifiers:                 92812
Symbols:                     69257
Types:                        3651
Instantiations:               3313
Memory used:               120363K
Assignability cache size:      586
Identity cache size:             6
Subtype cache size:            175
Strict subtype cache size:     104
I/O Read time:               0.04s
Parse time:                  0.15s
ResolveModule time:          0.03s
ResolveTypeReference time:   0.00s
ResolveLibrary time:         0.00s
Program time:                0.24s
Bind time:                   0.08s
Check time:                  0.12s
transformTime time:          0.02s
printTime time:              0.00s
Emit time:                   0.00s
Total time:                  0.44s
❯ ./node_modules/.bin/tsgo -p ./tsconfig.lint.json --extendedDiagnostics
Files:             215
Lines:          101867
Identifiers:     91711
Symbols:         71335
Types:            5496
Instantiations:   4037
Memory used:    55759K
Memory allocs:  252134
Parse time:     0.033s
Bind time:      0.006s
Check time:     0.007s
Emit time:      0.000s
Total time:     0.047s

progfay avatar May 25 '25 11:05 progfay