Skip to content

Instantly share code, notes, and snippets.

@luser
Created April 4, 2022 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luser/efdb579a9737d81feea77929dd910547 to your computer and use it in GitHub Desktop.
Save luser/efdb579a9737d81feea77929dd910547 to your computer and use it in GitHub Desktop.
Bloaty functions
FILE SIZE
--------------
+31% +225Ki .text
+36% +148Ki [4603 Others]
[NEW] +9.58Ki url::host::Host::parse
[NEW] +9.21Ki fancy_regex::compile::compile_inner
[NEW] +9.00Ki flatbuffers::get_root::root
+45% +6.50Ki _$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$::fmt
+28e2% +5.38Ki shared_core::events::eventlist::EventList::push_fb_event
[NEW] +4.89Ki fancy_regex::parse::Parser::parse_branch
[NEW] +3.65Ki _$LT$regex_syntax..hir..translate..TranslatorI$u20$as$u20$regex_syntax..ast..visitor..Visitor$GT$::visit_post
[NEW] +3.09Ki regex::compile::Compiler::c
[NEW] +2.74Ki regex_syntax::ast::visitor::HeapVisitor::visit_class_post
+161% +2.62Ki alloc::vec::Vec$LT$T$C$A$GT$::push
[NEW] +2.45Ki regex::exec::ExecNoSync::exec_nfa
[NEW] +2.37Ki _$LT$std..net..ip..Ipv6Addr$u20$as$u20$core..fmt..Display$GT$::fmt
[NEW] +2.37Ki url::parser::Parser::after_double_slash
[NEW] +2.19Ki fancy_regex::vm::run
[NEW] +2.11Ki fancy_regex::compile::Compiler::visit
[NEW] +2.09Ki fancy_regex::analyze::Analyzer::visit
[NEW] +2.08Ki url::parser::Parser::parse_file
[NEW] +1.92Ki regex_syntax::hir::interval::IntervalSet$LT$I$GT$::canonicalize
+265% +1.82Ki _$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$::fmt
[NEW] +1.71Ki shared_core::urlprivacy::scrubstr
+257% +153Ki .rodata
+282% +151Ki [section .rodata]
[NEW] +1.36Ki core::unicode::unicode_data::alphabetic::OFFSETS
[NEW] +267 core::unicode::unicode_data::n::OFFSETS
[NEW] +208 core::unicode::unicode_data::alphabetic::SHORT_OFFSET_RUNS
[NEW] +152 core::unicode::unicode_data::n::SHORT_OFFSET_RUNS
[NEW] +57 str.0.313
[NEW] +57 str.1.450
[NEW] +57 str.1.787
[NEW] +57 str.6.1966
[NEW] +25 str.0.448
[NEW] +25 str.1.92
[DEL] -25 str.1.100
[DEL] -57 str.0.330
[DEL] -57 str.6.2110
+242% +152Ki .rela.dyn
+249% +152Ki [section .rela.dyn]
[NEW] +24 regex::pool::THREAD_ID::__getit::__KEY
+344% +150Ki .data.rel.ro
+31% +59.7Ki .eh_frame
+269% +52.2Ki [1796 Others]
+39% +1.59Ki _$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$::fmt
+124% +984 _$LT$alloc..raw_vec..RawVec$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop
+195% +952 alloc::vec::Vec$LT$T$C$A$GT$::push
+119% +456 core::alloc::layout::Layout::array
+20% +408 alloc::alloc::box_free
+500% +360 _$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..index..Index$LT$I$GT$$GT$::index
+121% +320 alloc::vec::Vec$LT$T$C$A$GT$::reserve
+300% +264 alloc::vec::Vec$LT$T$C$A$GT$::with_capacity_in
+11e2% +264 core::str::traits::_$LT$impl$u20$core..ops..index..Index$LT$I$GT$$u20$for$u20$str$GT$::index
+50% +216 core::option::Option$LT$T$GT$::unwrap
+24% +208 _$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$::fmt
+31% +200 flatbuffers::verifier::TableVerifier::visit_field
+200% +192 _$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..index..IndexMut$LT$I$GT$$GT$::index_mut
[NEW] +192 alloc::slice::insert_head
+88% +184 _$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop
+288% +184 _$LT$alloc..vec..drain..Drain$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop
+175% +168 core::slice::index::_$LT$impl$u20$core..ops..index..IndexMut$LT$I$GT$$u20$for$u20$$u5b$T$u5d$$GT$::index_mut
+475% +152 alloc::vec::from_elem
+50% +144 _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$::deallocate
+164% +144 alloc::raw_vec::RawVec$LT$T$C$A$GT$::allocate_in
+31% +17.6Ki .eh_frame_hdr
+288% +15.4Ki [1790 Others]
+37% +448 _$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$::fmt
+124% +328 _$LT$alloc..raw_vec..RawVec$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop
+193% +216 alloc::vec::Vec$LT$T$C$A$GT$::push
+119% +152 core::alloc::layout::Layout::array
+20% +136 alloc::alloc::box_free
+500% +120 _$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..index..Index$LT$I$GT$$GT$::index
+118% +104 alloc::vec::Vec$LT$T$C$A$GT$::reserve
+11e2% +88 core::str::traits::_$LT$impl$u20$core..ops..index..Index$LT$I$GT$$u20$for$u20$str$GT$::index
+300% +72 alloc::vec::Vec$LT$T$C$A$GT$::with_capacity_in
+50% +72 core::option::Option$LT$T$GT$::unwrap
+200% +64 _$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..index..IndexMut$LT$I$GT$$GT$::index_mut
+20% +56 _$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$::fmt
[NEW] +56 alloc::slice::insert_head
+175% +56 core::slice::index::_$LT$impl$u20$core..ops..index..IndexMut$LT$I$GT$$u20$for$u20$$u5b$T$u5d$$GT$::index_mut
+50% +48 _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$::deallocate
+300% +48 core::cell::RefCell$LT$T$GT$::borrow_mut
+300% +48 core::cmp::impls::_$LT$impl$u20$core..cmp..PartialEq$LT$$RF$B$GT$$u20$for$u20$$RF$A$GT$::eq
+75% +48 core::slice::index::_$LT$impl$u20$core..ops..index..Index$LT$I$GT$$u20$for$u20$$u5b$T$u5d$$GT$::index
+83% +40 _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$::allocate
+83% +40 _$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop
+31% +12.9Ki .gcc_except_table
+7.3% +52 [Unmapped]
+3.1% +24 .data
[NEW] +16 regex::pool::THREAD_ID::__getit::__KEY
[NEW] +8 regex::pool::COUNTER
-0.5% -8 .rela.plt
[DEL] -8 [LOAD #0 [RX]]
-8.4% -14 .gnu.version
-44.4% -32 .gnu.hash
-5.5% -58 .dynstr
-2.5% -25 [section .dynstr]
[DEL] -33 global_vm
-8.8% -168 .dynsym
[DEL] -72 global_vm
-5.3% -96 [section .dynsym]
+64% +772Ki TOTAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment