Skip to content

More human readable Memory used output when running tscΒ #62374

@hamirmahal

Description

@hamirmahal

πŸ” Search Terms

human readable Memory used diagnostics formatting

βœ… Viability Checklist

⭐ Suggestion

It'd be nice if the Memory used output when running tsc with the --diagnostics flag was more human readable.

πŸ“ƒ Motivating Example

242380K is a bit harder to wrap my mind around. I think a more human readable Memory used would be a nice improvement.

> tsc --diagnostics --noEmit

Files:              322
Lines:           142602
Identifiers:     126674
Symbols:         158347
Types:            70954
Instantiations:   79936
Memory used:    242380K
I/O read:         0.02s
I/O write:        0.00s
Parse time:       0.51s
Bind time:        0.19s
Check time:       1.79s
Emit time:        0.00s
Total time:       2.49s

πŸ’» Use Cases

This would make it easier to understand tsc's memory usage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DeclinedThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions