-------------------------------------------------------------------------------- Profile data file 'benchmarks/rust-runtime-investigation/target/evidence/selected-diagnostics/write-1000.callgrind' (creator: callgrind-3.26.0) -------------------------------------------------------------------------------- I1 cache: D1 cache: LL cache: Timerange: Basic block 0 - 27961426 Trigger: Program termination Profiled target: benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics write 1000 25 instructions (PID 394749, part 1) Events recorded: Ir Events shown: Ir Event sort order: Ir Thresholds: 95 Include dirs: User annotated: Auto-annotation: off -------------------------------------------------------------------------------- Ir -------------------------------------------------------------------------------- 73,268,130 (100.0%) PROGRAM TOTALS -------------------------------------------------------------------------------- Ir file:function -------------------------------------------------------------------------------- 7,975,000 (10.88%) crates/polyxml-core/src/serializer.rs:::write_model::<&mut alloc::vec::Vec>'2 [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 6,239,550 ( 8.52%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/str/validations.rs:core::str::converts::from_utf8 5,451,300 ( 7.44%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/writer.rs:>>::write_event:: [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 4,801,200 ( 6.55%) ???:0x0000000000197a00 [/usr/lib/x86_64-linux-gnu/libc.so.6] 2,962,775 ( 4.04%) ???:realloc [/usr/lib/x86_64-linux-gnu/libc.so.6] 2,500,200 ( 3.41%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/escape.rs:quick_xml::escape::_escape::::{closure#0}, &str> [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 2,240,625 ( 3.06%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-write-float-1.0.6/src/algorithm.rs:::format_scalar_to 2,100,350 ( 2.87%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/str/converts.rs:core::str::converts::from_utf8 [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 2,100,000 ( 2.87%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/iter/macros.rs:::write_model::<&mut alloc::vec::Vec>'2 2,050,200 ( 2.80%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/iter/macros.rs:quick_xml::escape::_escape::::{closure#0}, &str> 2,012,750 ( 2.75%) crates/polyxml-core/src/serializer.rs:::format_scalar_to [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 1,800,700 ( 2.46%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs:>>::write_event:: 1,726,575 ( 2.36%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:>>::write_event:: 1,433,475 ( 1.96%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-write-integer-1.0.6/src/jeaiii.rs:::format_scalar_to 1,325,400 ( 1.81%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs:>>::write_event:: 1,187,750 ( 1.62%) ???:0x00000000000b4180 [/usr/lib/x86_64-linux-gnu/libc.so.6] 1,175,000 ( 1.60%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:::write_model::<&mut alloc::vec::Vec>'2 1,150,000 ( 1.57%) crates/polyxml-core/src/serializer.rs:::validate_scalar [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 1,079,375 ( 1.47%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:>::reserve::do_reserve_and_handle:: [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 1,062,650 ( 1.45%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/non_null.rs:quick_xml::escape::_escape::::{closure#0}, &str> 916,750 ( 1.25%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/escape.rs:quick_xml::escape::_escape::::{closure#0}, &str> [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 877,975 ( 1.20%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::finish_grow [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 850,000 ( 1.16%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/option.rs:::write_model::<&mut alloc::vec::Vec>'2 825,925 ( 1.13%) ???:free [/usr/lib/x86_64-linux-gnu/libc.so.6] 775,225 ( 1.06%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/option.rs:>>::write_event:: 651,125 ( 0.89%) ???:malloc [/usr/lib/x86_64-linux-gnu/libc.so.6] 600,150 ( 0.82%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/convert/mod.rs:>>::write_event:: 500,000 ( 0.68%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::push_attribute::<(&str, &str)> 466,750 ( 0.64%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/iter/macros.rs:quick_xml::escape::_escape::::{closure#0}, &str> 451,575 ( 0.62%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:::finish_grow 450,450 ( 0.61%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:core::str::converts::from_utf8 450,000 ( 0.61%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/events/mod.rs:::push_attribute::<(&str, &str)> [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 450,000 ( 0.61%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs:::write_model::<&mut alloc::vec::Vec>'2 425,425 ( 0.58%) crates/polyxml-core/src/schema.rs:::matches_variant [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 425,125 ( 0.58%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:>>::write_event:: 425,000 ( 0.58%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/events/mod.rs:::push_attr [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 402,925 ( 0.55%) crates/polyxml-core/src/serializer.rs:::write_model::<&mut alloc::vec::Vec> [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 400,000 ( 0.55%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs:::push_attr 400,000 ( 0.55%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/non_null.rs:::write_model::<&mut alloc::vec::Vec>'2 375,000 ( 0.51%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/events/mod.rs:::write_model::<&mut alloc::vec::Vec>'2 351,225 ( 0.48%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/alloc/global.rs:__rustc::__rust_realloc 350,100 ( 0.48%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mut_ptr.rs:>>::write_event:: 350,000 ( 0.48%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::push_attr 314,000 ( 0.43%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/non_null.rs:quick_xml::escape::_escape::::{closure#0}, &str> 300,000 ( 0.41%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/events/attributes.rs:>::from [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/selected/target/release/xml-diagnostics] 300,000 ( 0.41%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs:::write_model::<&mut alloc::vec::Vec>'2 300,000 ( 0.41%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/index.rs:::write_model::<&mut alloc::vec::Vec>'2 280,300 ( 0.38%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/index.rs:::format_scalar_to 262,500 ( 0.36%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-write-float-1.0.6/src/write.rs:::format_scalar_to 250,875 ( 0.34%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/alloc.rs:::finish_grow 250,875 ( 0.34%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/cmp.rs:>::reserve::do_reserve_and_handle:: 250,875 ( 0.34%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:::finish_grow 225,225 ( 0.31%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/std/src/sys/sync/rwlock/futex.rs:::matches_variant 225,000 ( 0.31%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs:::push_attr 224,825 ( 0.31%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-util-1.0.7/src/num.rs:::format_scalar_to 200,700 ( 0.27%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/std/src/sys/alloc/unix.rs:__rustc::__rust_realloc 200,000 ( 0.27%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/escape.rs:::write_model::<&mut alloc::vec::Vec>'2 200,000 ( 0.27%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/borrow.rs:::push_attribute::<(&str, &str)> 192,225 ( 0.26%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:::format_scalar_to 175,700 ( 0.24%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/intrinsics/mod.rs:::finish_grow 168,725 ( 0.23%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/cmp.rs:::format_scalar_to 150,525 ( 0.21%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:>::reserve::do_reserve_and_handle:: 150,000 ( 0.20%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-write-float-1.0.6/src/shared.rs:::format_scalar_to 150,000 ( 0.20%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/alloc.rs:::write_model::<&mut alloc::vec::Vec>'2 150,000 ( 0.20%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/borrow.rs:::push_attr 150,000 ( 0.20%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/iter/adapters/enumerate.rs:::write_model::<&mut alloc::vec::Vec>'2