script-sort-by-num-blocks-expected.txt (1079B)
1 #----------------------------------------------------------------- 2 # dmd.py --filter-stacks-for-testing -o script-sort-by-num-blocks-actual.txt --sort-by=num-blocks script-sort-by.json.gz 3 4 Invocation { 5 $DMD = '--mode=live' 6 Mode = 'live' 7 } 8 9 #----------------------------------------------------------------- 10 11 Live { 12 8 blocks in heap block record 1 of 3 13 16,384 bytes (8,200 requested / 8,184 slop) 14 Individual block sizes: 2,048 x 8 15 33.32% of the heap (33.32% cumulative) 16 Allocated at { 17 #01: C (C.cpp:99) 18 } 19 } 20 21 Live { 22 5 blocks in heap block record 2 of 3 23 16,400 bytes (12,016 requested / 4,384 slop) 24 Individual block sizes: 4,096 x 4; 16 25 33.35% of the heap (66.67% cumulative) 26 Allocated at { 27 #01: B (B.cpp:99) 28 } 29 } 30 31 Live { 32 5 blocks in heap block record 3 of 3 33 16,392 bytes (16,392 requested / 0 slop) 34 Individual block sizes: 4,096 x 4; 8 35 33.33% of the heap (100.00% cumulative) 36 Allocated at { 37 #01: A (A.cpp:99) 38 } 39 } 40 41 #----------------------------------------------------------------- 42 43 Summary { 44 Total: 49,176 bytes in 18 blocks 45 }