-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed as not planned
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptAn idea for TypeScript
Description
π Search Terms
human readable Memory used diagnostics formatting
β Viability Checklist
- This wouldn't be a breaking change in existing TypeScript/JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
- This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
- This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals
β 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.
simonrey1
Metadata
Metadata
Assignees
Labels
DeclinedThe issue was declined as something which matches the TypeScript visionThe issue was declined as something which matches the TypeScript visionSuggestionAn idea for TypeScriptAn idea for TypeScript