 Jon Ross-Perkinsandjosh11b
|
f1190a4792
|
Add basic output of where memory is stored after a compile. (#4136)
The output is really basic, I'm just adding this to help track how
memory is allocated.
```
---
filename: 'check/testdata/expr_category/in_place_tuple_init.carbon'
source_:
used_bytes: 8057
reserved_bytes: 8057
tokens_.allocator_:
used_bytes: 0
reserved_bytes: 0
tokens_.token_infos_:
used_bytes: 1040
reserved_bytes: 2032
(eliding)
value_stores_.string_literals_.set_:
used_bytes: 320
reserved_bytes: 320
Total:
used_bytes: 20609
reserved_bytes: 29437
...
```
---------
Co-authored-by: josh11b <15258583+josh11b@users.noreply.github.com>
|
2024-07-16 23:11:01 +00:00 |
|