Percentage of allocs less than 48 bytes: 96.3 All allocations # A tibble: 22 × 4 obj_len n n_less_than percent 1 9 17 17 0.0167 2 12 62 79 0.0775 3 16 10832 10911 10.7 4 18 2914 13825 13.6 5 19 339 14164 13.9 6 20 408 14572 14.3 7 21 518 15090 14.8 8 22 648 15738 15.4 9 23 392 16130 15.8 10 24 31418 47548 46.6 11 25 282 47830 46.9 12 26 184 48014 47.1 13 27 218 48232 47.3 14 28 254 48486 47.6 15 29 131 48617 47.7 16 30 94 48711 47.8 17 31 83 48794 47.9 18 32 25032 73826 72.4 19 33 99 73925 72.5 20 34 70 73995 72.6 21 35 59 74054 72.7 22 36 72 74126 72.7 # A tibble: 5 × 4 obj_len n n_less_than percent 1 4096 3 101922 100. 2 4113 1 101923 100. 3 8192 1 101924 100. 4 16384 1 101925 100. 5 32768 1 101926 100 Common Sizes # A tibble: 8 × 2 obj_len n 1 24 31418 2 32 25032 3 48 22725 4 16 10832 5 18 2914 6 56 1244 7 40 798 8 64 760 101,926 total allocations, total bytes = 3,445,597 Typed allocations # A tibble: 20 × 3 func_name n percent 1 syntax_asdl::Token* Alloc* Alloc* Alloc>() 4521 6.44 5 List* Alloc* Alloc* Alloc>() 2634 3.75 8 syntax_asdl::SourceLine* Alloc* Alloc>() 1687 2.40 10 List* Alloc*>* Alloc*>… 1291 1.84 13 List* Alloc… 1202 1.71 14 syntax_asdl::command__Simple* Alloc* Alloc>() 909 1.30 18 syntax_asdl::command__CommandList* Alloc* Alloc>() 582 0.829 20 Tuple2* Alloc, int, int>(int&&, int… 559 0.797 # A tibble: 5 × 3 func_name n percent 1 value_asdl::value__List* Alloc 68.84% of allocs are typed Str - NewStr() and OverAllocatedStr() # A tibble: 16 × 4 str_len n n_less_than percent 1 1 2914 2914 33.7 2 2 339 3253 37.6 3 3 408 3661 42.3 4 4 518 4179 48.3 5 5 648 4827 55.8 6 6 392 5219 60.3 7 7 300 5519 63.7 8 8 282 5801 67.0 9 9 184 5985 69.1 10 10 218 6203 71.6 11 11 247 6450 74.5 12 12 131 6581 76.0 13 13 94 6675 77.1 14 14 83 6758 78.1 15 15 85 6843 79.0 16 16 99 6942 80.2 # A tibble: 5 × 4 str_len n n_less_than percent 1 202 1 8654 100. 2 255 1 8655 100. 3 358 1 8656 100. 4 1024 1 8657 100. 5 4096 1 8658 100 8,658 string allocations, total length = 102,362, total bytes = 249,548 8.49% of allocs are strings 7.24% of bytes are strings NewSlab() Lengths # A tibble: 6 × 4 slab_len n n_less_than percent 1 5 20800 20800 90.0 2 7 442 21242 92.0 3 8 28 21270 92.1 4 10 1048 22318 96.6 5 14 78 22396 97.0 6 15 222 22618 97.9 # A tibble: 5 × 4 slab_len n n_less_than percent 1 511 1 23094 100. 2 1022 2 23096 100. 3 1023 1 23097 100. 4 2047 1 23098 100. 5 4095 1 23099 100 Slab Types # A tibble: 6 × 2 func_name n 1 Slab* NewSlab(int) 7554 2 Slab* NewSlab(int) 3252 3 Slab* NewSlab(i… 3215 4 Slab* NewSlab(int) 3158 5 Slab* NewSlab(int) 2783 6 Slab* NewSlab(int) 1564 # A tibble: 5 × 2 func_name n 1 Slab* NewSlab(int) 1 2 Slab* NewSlab… 1 3 Slab* NewSlab(i… 1 4 Slab* NewSlab(int) 1 5 Slab* NewSlab(int) 1 23,099 slabs, total items = 156,636 22.66% of allocs are slabs ::reserve(int n) Num Items # A tibble: 15 × 4 num_items n n_less_than percent 1 0 5 5 0.0124 2 1 21365 21370 53.1 3 2 7613 28983 72.0 4 3 3015 31998 79.5 5 4 1926 33924 84.3 6 5 895 34819 86.5 7 6 1140 35959 89.4 8 7 258 36217 90.0 9 8 196 36413 90.5 10 9 146 36559 90.9 11 10 105 36664 91.1 12 11 123 36787 91.4 13 12 76 36863 91.6 14 13 63 36926 91.8 15 14 51 36977 91.9 # A tibble: 5 × 4 num_items n n_less_than percent 1 2508 1 40235 100. 2 2509 1 40236 100. 3 2510 1 40237 100. 4 2511 1 40238 100. 5 2512 1 40239 100 40,239 reserve() calls, total items = 3,264,978 Untyped: 101,926 Typed + Str + Slab: 101,926