Skip to content

Instantly share code, notes, and snippets.

@thejh
Created April 3, 2025 19:32
Show Gist options
  • Save thejh/92befd69a727b02aa4262075c554a872 to your computer and use it in GitHub Desktop.
Save thejh/92befd69a727b02aa4262075c554a872 to your computer and use it in GitHub Desktop.
old heapallocsite profiler output excerpt
================================= PARTITION malloc =================================
12329 allocs 3407376 bytes 0x8000562dd37d9a3e = '../../third_party/blink/renderer/core/layout/ng/ng_physical_box_fragment.cc':FastMalloc INLINED FROM FastMalloc INLINED FROM '../../third_party/blink/renderer/core/layout/ng/ng_physical_box_fragment.cc':Create
17926 allocs 2007712 bytes typeunit:blink::ComputedStyle
0x000 0x060 <inheritance> typeunit:blink::ComputedStyleBase
0x000 0x008 inherited_data_ typeunit:blink::DataRef<blink::ComputedStyleBase::StyleInheritedData>
0x000 0x008 data_ typeunit:scoped_refptr<blink::ComputedStyleBase::StyleInheritedData>
0x000 0x008 ptr_ typeunit:<unnamed>
#### TOP VALUES:
#### 7130 80 ff 56 01 1e 3e 00 00
#### 3534 40 ff 56 01 1e 3e 00 00
#### 1905 c0 82 48 01 1e 3e 00 00
#### TOP VALUES:
#### 7130 80 ff 56 01 1e 3e 00 00
#### 3534 40 ff 56 01 1e 3e 00 00
#### 1905 c0 82 48 01 1e 3e 00 00
#### TOP VALUES:
#### 7130 80 ff 56 01 1e 3e 00 00
#### 3534 40 ff 56 01 1e 3e 00 00
#### 1905 c0 82 48 01 1e 3e 00 00
0x008 0x008 rare_inherited_usage_less_than_64_percent_data_ typeunit:blink::DataRef<blink::ComputedStyleBase::StyleRareInheritedUsageLessThan64PercentData>
0x008 0x008 data_ typeunit:scoped_refptr<blink::ComputedStyleBase::StyleRareInheritedUsageLessThan64PercentData>
0x008 0x008 ptr_ typeunit:<unnamed>
#### TOP VALUES:
#### 7120 c0 49 a5 01 1e 3e 00 00
#### 6126 00 52 a5 01 1e 3e 00 00
#### 2200 40 d9 09 00 1e 3e 00 00
#### TOP VALUES:
#### 7120 c0 49 a5 01 1e 3e 00 00
#### 6126 00 52 a5 01 1e 3e 00 00
#### 2200 40 d9 09 00 1e 3e 00 00
#### TOP VALUES:
#### 7120 c0 49 a5 01 1e 3e 00 00
#### 6126 00 52 a5 01 1e 3e 00 00
#### 2200 40 d9 09 00 1e 3e 00 00
0x010 0x008 visual_data_ typeunit:blink::DataRef<blink::ComputedStyleBase::StyleVisualData>
0x010 0x008 data_ typeunit:scoped_refptr<blink::ComputedStyleBase::StyleVisualData>
0x010 0x008 ptr_ typeunit:<unnamed>
#### TOP VALUES:
#### 17916 50 a0 87 00 1e 3e 00 00
#### 6 b0 b2 87 00 1e 3e 00 00
#### 2 c0 c8 50 01 1e 3e 00 00
#### TOP VALUES:
#### 17916 50 a0 87 00 1e 3e 00 00
#### 6 b0 b2 87 00 1e 3e 00 00
#### 2 c0 c8 50 01 1e 3e 00 00
#### TOP VALUES:
#### 17916 50 a0 87 00 1e 3e 00 00
#### 6 b0 b2 87 00 1e 3e 00 00
#### 2 c0 c8 50 01 1e 3e 00 00
0x018 0x008 rare_non_inherited_usage_less_than_14_percent_data_ typeunit:blink::DataRef<blink::ComputedStyleBase::StyleRareNonInheritedUsageLessThan14PercentData>
0x018 0x008 data_ typeunit:scoped_refptr<blink::ComputedStyleBase::StyleRareNonInheritedUsageLessThan14PercentData>
0x018 0x008 ptr_ typeunit:<unnamed>
#### TOP VALUES:
#### 7361 70 b0 0a 00 1e 3e 00 00
#### 239 c0 9c 47 01 1e 3e 00 00
#### 235 10 d6 47 01 1e 3e 00 00
#### TOP VALUES:
#### 7361 70 b0 0a 00 1e 3e 00 00
#### 239 c0 9c 47 01 1e 3e 00 00
#### 235 10 d6 47 01 1e 3e 00 00
#### TOP VALUES:
#### 7361 70 b0 0a 00 1e 3e 00 00
#### 239 c0 9c 47 01 1e 3e 00 00
#### 235 10 d6 47 01 1e 3e 00 00
0x020 0x008 svg_data_ typeunit:blink::DataRef<blink::ComputedStyleBase::StyleSVGData>
0x020 0x008 data_ typeunit:scoped_refptr<blink::ComputedStyleBase::StyleSVGData>
0x020 0x008 ptr_ typeunit:<unnamed>
#### TOP VALUES:
#### 14691 a0 5c 09 00 1e 3e 00 00
#### 8 20 d5 92 00 1e 3e 00 00
#### 6 f0 c1 5a 01 1e 3e 00 00
#### TOP VALUES:
#### 14691 a0 5c 09 00 1e 3e 00 00
#### 8 20 d5 92 00 1e 3e 00 00
#### 6 f0 c1 5a 01 1e 3e 00 00
#### TOP VALUES:
#### 14691 a0 5c 09 00 1e 3e 00 00
#### 8 20 d5 92 00 1e 3e 00 00
#### 6 f0 c1 5a 01 1e 3e 00 00
0x028 0x008 box_data_ typeunit:blink::DataRef<blink::ComputedStyleBase::StyleBoxData>
0x028 0x008 data_ typeunit:scoped_refptr<blink::ComputedStyleBase::StyleBoxData>
0x028 0x008 ptr_ typeunit:<unnamed>
#### TOP VALUES:
#### 3546 50 c0 1a 02 1e 3e 00 00
#### 3535 f0 51 a6 01 1e 3e 00 00
#### 3534 50 4f a6 01 1e 3e 00 00
#### TOP VALUES:
#### 3546 50 c0 1a 02 1e 3e 00 00
#### 3535 f0 51 a6 01 1e 3e 00 00
#### 3534 50 4f a6 01 1e 3e 00 00
#### TOP VALUES:
#### 3546 50 c0 1a 02 1e 3e 00 00
#### 3535 f0 51 a6 01 1e 3e 00 00
#### 3534 50 4f a6 01 1e 3e 00 00
0x030 0x008 background_data_ typeunit:blink::DataRef<blink::ComputedStyleBase::StyleBackgroundData>
0x030 0x008 data_ typeunit:scoped_refptr<blink::ComputedStyleBase::StyleBackgroundData>
0x030 0x008 ptr_ typeunit:<unnamed>
#### TOP VALUES:
#### 17258 40 5d 09 00 1e 3e 00 00
#### 239 c0 a1 9e 00 1e 3e 00 00
#### 235 f0 a8 9e 00 1e 3e 00 00
#### TOP VALUES:
#### 17258 40 5d 09 00 1e 3e 00 00
#### 239 c0 a1 9e 00 1e 3e 00 00
#### 235 f0 a8 9e 00 1e 3e 00 00
#### TOP VALUES:
#### 17258 40 5d 09 00 1e 3e 00 00
#### 239 c0 a1 9e 00 1e 3e 00 00
#### 235 f0 a8 9e 00 1e 3e 00 00
0x038 0x008 surround_data_ typeunit:blink::DataRef<blink::ComputedStyleBase::StyleSurroundData>
0x038 0x008 data_ typeunit:scoped_refptr<blink::ComputedStyleBase::StyleSurroundData>
0x038 0x008 ptr_ typeunit:<unnamed>
#### TOP VALUES:
#### 3546 00 ba 1b 02 1e 3e 00 00
#### 3535 00 1f a6 01 1e 3e 00 00
#### 3534 00 1d a6 01 1e 3e 00 00
#### TOP VALUES:
#### 3546 00 ba 1b 02 1e 3e 00 00
#### 3535 00 1f a6 01 1e 3e 00 00
#### 3534 00 1d a6 01 1e 3e 00 00
#### TOP VALUES:
#### 3546 00 ba 1b 02 1e 3e 00 00
#### 3535 00 1f a6 01 1e 3e 00 00
#### 3534 00 1d a6 01 1e 3e 00 00
0x040 0x008 base_data_ typeunit:scoped_refptr<blink::StyleBaseData>
0x040 0x008 ptr_ typeunit:<unnamed>
#### TOP VALUES:
#### 17893 00 00 00 00 00 00 00 00
#### 5 e0 c1 9c 00 1e 3e 00 00
#### 3 40 29 8c 00 1e 3e 00 00
#### TOP VALUES:
#### 17893 00 00 00 00 00 00 00 00
#### 5 e0 c1 9c 00 1e 3e 00 00
#### 3 40 29 8c 00 1e 3e 00 00
0x048 0x004 pseudo_bits_ typeunit:unsigned int
#### TOP VALUES:
#### 6129 80 20 10 00
#### 3695 80 00 29 80
#### 3571 80 00 11 00
0x048 0x004 white_space_ typeunit:unsigned int
#### TOP VALUES:
#### 6129 80 20 10 00
#### 3695 80 00 29 80
#### 3571 80 00 11 00
0x048 0x004 cursor_ typeunit:unsigned int
#### TOP VALUES:
#### 6129 80 20 10 00
#### 3695 80 00 29 80
#### 3571 80 00 11 00
0x048 0x004 style_type_ typeunit:unsigned int
#### TOP VALUES:
#### 6129 80 20 10 00
#### 3695 80 00 29 80
#### 3571 80 00 11 00
0x048 0x004 affected_by_active_ typeunit:unsigned int
#### TOP VALUES:
#### 6129 80 20 10 00
#### 3695 80 00 29 80
#### 3571 80 00 11 00
[...]
10844 allocs 977776 bytes typeunit:blink::HarfBuzzRunGlyphData
0x000 0x004 glyph typeunit:unsigned int
#### TOP VALUES:
#### 4289 03 00 00 80
#### 1150 14 00 00 80
#### 1113 15 00 00 80
0x000 0x004 character_index typeunit:unsigned int
#### TOP VALUES:
#### 4289 03 00 00 80
#### 1150 14 00 00 80
#### 1113 15 00 00 80
0x000 0x004 safe_to_break_before typeunit:unsigned int
#### TOP VALUES:
#### 4289 03 00 00 80
#### 1150 14 00 00 80
#### 1113 15 00 00 80
0x004 0x004 advance typeunit:float
#### TOP VALUES:
#### 8538 00 74 fa 40
#### 2013 00 74 7a 41
#### 26 9a 01 38 41
#### TOP VALUES:
#### 2150 03 00 00 80 00 74 fa 40
#### 2013 03 00 00 80 00 74 7a 41
#### 1145 14 00 00 80 00 74 fa 40
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment