Skip to content

Add tsc extractor #23

@fcsonline

Description

@fcsonline

It would be great to be able to extract these metrics

pnpm tsc --extendedDiagnostics --incremental false

> frontend@ tsc /project
> NODE_OPTIONS=--max-old-space-size=8192 tsc --noEmit "--extendedDiagnostics" "--incremental" "false"

Files:                        19499
Lines of Library:             50780
Lines of Definitions:        522989
Lines of TypeScript:        1674125
Lines of JavaScript:              0
Lines of JSON:                53335
Lines of Other:                   0
Identifiers:                3158920
Symbols:                    7954849
Types:                      2788435
Instantiations:             5135695
Memory used:               6942037K
Assignability cache size:   1242839
Identity cache size:          80202
Subtype cache size:           34300
Strict subtype cache size:   452809
I/O Read time:                0.63s
Parse time:                   3.26s
ResolveModule time:           1.72s
ResolveTypeReference time:    0.00s
ResolveLibrary time:          0.01s
Program time:                 6.54s
Bind time:                    2.36s
Check time:                  54.45s
printTime time:               0.00s
Emit time:                    0.00s
Total time:                  63.35s

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions