-------------------------------------------------------------------------------- Profile data file 'benchmarks/rust-runtime-investigation/target/evidence/old/write-1000.callgrind' (creator: callgrind-3.26.0) -------------------------------------------------------------------------------- I1 cache: D1 cache: LL cache: Timerange: Basic block 0 - 30027593 Trigger: Program termination Profiled target: benchmarks/rust-runtime-investigation/target/old/target/release/xml-diagnostics write 1000 25 instructions (PID 341931, part 1) Events recorded: Ir Events shown: Ir Event sort order: Ir Thresholds: 95 Include dirs: User annotated: Auto-annotation: off -------------------------------------------------------------------------------- Ir -------------------------------------------------------------------------------- 80,501,030 (100.0%) PROGRAM TOTALS -------------------------------------------------------------------------------- Ir file:function -------------------------------------------------------------------------------- 7,202,000 ( 8.95%) ???:0x0000000000197a00 [/usr/lib/x86_64-linux-gnu/libc.so.6] 6,239,250 ( 7.75%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/str/validations.rs:core::str::converts::from_utf8 6,077,100 ( 7.55%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/io/cursor.rs: as core::io::cursor::WriteThroughCursor>::write_all [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/old/target/release/xml-diagnostics] 5,500,000 ( 6.83%) /home/bailey/github/polyxml-perf-old/crates/polyxml-core/src/serializer.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/old/target/release/xml-diagnostics] 5,226,325 ( 6.49%) /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/old/target/release/xml-diagnostics] 2,962,775 ( 3.68%) ???:realloc [/usr/lib/x86_64-linux-gnu/libc.so.6] 2,725,825 ( 3.39%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/io/cursor.rs:>>>::write_event:: 2,500,200 ( 3.11%) /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/old/target/release/xml-diagnostics] 2,426,375 ( 3.01%) /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.61%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/str/converts.rs:core::str::converts::from_utf8 [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/old/target/release/xml-diagnostics] 2,050,200 ( 2.55%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/iter/macros.rs:quick_xml::escape::_escape::::{closure#0}, &str> 1,950,000 ( 2.42%) /home/bailey/github/polyxml-perf-old/crates/polyxml-core/src/serializer.rs:::format_scalar_to [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/old/target/release/xml-diagnostics] 1,575,375 ( 1.96%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs:>>>::write_event:: 1,328,450 ( 1.65%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-write-integer-1.0.6/src/jeaiii.rs:::format_scalar_to 1,200,400 ( 1.49%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/io/cursor.rs:>>>::write_event:: 1,187,750 ( 1.48%) ???:0x00000000000b4180 [/usr/lib/x86_64-linux-gnu/libc.so.6] 1,175,000 ( 1.46%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/iter/macros.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 1,100,400 ( 1.37%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:>>>::write_event:: 1,079,375 ( 1.34%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:>::reserve::do_reserve_and_handle:: [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/old/target/release/xml-diagnostics] 1,062,650 ( 1.32%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/non_null.rs:quick_xml::escape::_escape::::{closure#0}, &str> 950,000 ( 1.18%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 916,750 ( 1.14%) /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/old/target/release/xml-diagnostics] 900,375 ( 1.12%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs: as core::io::cursor::WriteThroughCursor>::write_all 877,975 ( 1.09%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::finish_grow [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/old/target/release/xml-diagnostics] 825,925 ( 1.03%) ???:free [/usr/lib/x86_64-linux-gnu/libc.so.6] 775,225 ( 0.96%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/option.rs:>>>::write_event:: 651,125 ( 0.81%) ???:malloc [/usr/lib/x86_64-linux-gnu/libc.so.6] 600,150 ( 0.75%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/convert/mod.rs:>>>::write_event:: 575,000 ( 0.71%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/option.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 550,250 ( 0.68%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs:>>>::write_event:: 500,000 ( 0.62%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::push_attribute::<(&str, &str)> 475,825 ( 0.59%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:>>>::write_event:: 466,750 ( 0.58%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/iter/macros.rs:quick_xml::escape::_escape::::{closure#0}, &str> 451,575 ( 0.56%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:::finish_grow 450,225 ( 0.56%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs: as core::io::cursor::WriteThroughCursor>::write_all 450,150 ( 0.56%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:core::str::converts::from_utf8 450,150 ( 0.56%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs: as core::io::cursor::WriteThroughCursor>::write_all 450,000 ( 0.56%) /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/old/target/release/xml-diagnostics] 425,425 ( 0.53%) /home/bailey/github/polyxml-perf-old/crates/polyxml-core/src/schema.rs:::matches_variant [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/old/target/release/xml-diagnostics] 425,000 ( 0.53%) /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/old/target/release/xml-diagnostics] 400,000 ( 0.50%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs:::push_attr 375,000 ( 0.47%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/events/mod.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 351,225 ( 0.44%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/alloc/global.rs:__rustc::__rust_realloc 350,000 ( 0.43%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::push_attr 325,025 ( 0.40%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/alloc.rs:>>>::write_event:: 325,000 ( 0.40%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 314,000 ( 0.39%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/non_null.rs:quick_xml::escape::_escape::::{closure#0}, &str> 302,200 ( 0.38%) /home/bailey/github/polyxml-perf-old/crates/polyxml-core/src/serializer.rs:::write_model::<&mut core::io::cursor::Cursor>> [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/old/target/release/xml-diagnostics] 300,000 ( 0.37%) /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/old/target/release/xml-diagnostics] 300,000 ( 0.37%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/index.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 275,000 ( 0.34%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:::format_scalar_to 250,875 ( 0.31%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/alloc.rs:::finish_grow 250,875 ( 0.31%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/cmp.rs:>::reserve::do_reserve_and_handle:: 250,875 ( 0.31%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:::finish_grow 225,975 ( 0.28%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs: as core::io::cursor::WriteThroughCursor>::write_all 225,225 ( 0.28%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/std/src/sys/sync/rwlock/futex.rs:::matches_variant 225,075 ( 0.28%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mut_ptr.rs: as core::io::cursor::WriteThroughCursor>::write_all 225,000 ( 0.28%) /home/bailey/github/polyxml-perf-old/crates/polyxml-core/src/schema.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 225,000 ( 0.28%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs:::push_attr 225,000 ( 0.28%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/non_null.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 200,700 ( 0.25%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/std/src/sys/alloc/unix.rs:__rustc::__rust_realloc 200,000 ( 0.25%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quick-xml-0.42.0/src/escape.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 200,000 ( 0.25%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/borrow.rs:::push_attribute::<(&str, &str)> 199,125 ( 0.25%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/index.rs:::format_scalar_to 175,700 ( 0.22%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/intrinsics/mod.rs:::finish_grow 175,000 ( 0.22%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 150,525 ( 0.19%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:>::reserve::do_reserve_and_handle:: 150,050 ( 0.19%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:>>>::write_event:: 150,000 ( 0.19%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-write-float-1.0.6/src/shared.rs:::format_scalar_to 150,000 ( 0.19%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/borrow.rs:::push_attr 150,000 ( 0.19%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/iter/adapters/enumerate.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 150,000 ( 0.19%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:::push_attr