-------------------------------------------------------------------------------- Profile data file 'benchmarks/rust-runtime-investigation/target/evidence/control/write-1000.callgrind' (creator: callgrind-3.26.0) -------------------------------------------------------------------------------- I1 cache: D1 cache: LL cache: Timerange: Basic block 0 - 32437241 Trigger: Program termination Profiled target: benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics write 1000 25 instructions (PID 328692, part 1) Events recorded: Ir Events shown: Ir Event sort order: Ir Thresholds: 95 Include dirs: User annotated: Auto-annotation: off -------------------------------------------------------------------------------- Ir -------------------------------------------------------------------------------- 88,873,605 (100.0%) PROGRAM TOTALS -------------------------------------------------------------------------------- Ir file:function -------------------------------------------------------------------------------- 7,250,000 ( 8.16%) /home/bailey/github/polyxml-perf-control/crates/polyxml-core/src/serializer.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 7,202,000 ( 8.10%) ???:0x0000000000197a00 [/usr/lib/x86_64-linux-gnu/libc.so.6] 6,239,550 ( 7.02%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/str/validations.rs:core::str::converts::from_utf8 6,077,100 ( 6.84%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/io/cursor.rs: as core::io::cursor::WriteThroughCursor>::write_all [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 5,226,325 ( 5.88%) /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/control/target/release/xml-diagnostics] 2,962,775 ( 3.33%) ???:realloc [/usr/lib/x86_64-linux-gnu/libc.so.6] 2,725,825 ( 3.07%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/io/cursor.rs:>>>::write_event:: 2,500,200 ( 2.81%) /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/control/target/release/xml-diagnostics] 2,240,625 ( 2.52%) /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.36%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/str/converts.rs:core::str::converts::from_utf8 [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 2,050,200 ( 2.31%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/iter/macros.rs:quick_xml::escape::_escape::::{closure#0}, &str> 2,000,000 ( 2.25%) /home/bailey/github/polyxml-perf-control/crates/polyxml-core/src/serializer.rs:::format_scalar_to [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 1,925,000 ( 2.17%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/iter/macros.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 1,825,575 ( 2.05%) /home/bailey/github/polyxml-perf-control/crates/polyxml-core/src/serializer.rs:::validate_lexical_list_items [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 1,575,375 ( 1.77%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs:>>>::write_event:: 1,433,475 ( 1.61%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-write-integer-1.0.6/src/jeaiii.rs:::format_scalar_to 1,250,000 ( 1.41%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 1,200,400 ( 1.35%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/io/cursor.rs:>>>::write_event:: 1,187,750 ( 1.34%) ???:0x00000000000b4180 [/usr/lib/x86_64-linux-gnu/libc.so.6] 1,150,000 ( 1.29%) /home/bailey/github/polyxml-perf-control/crates/polyxml-core/src/serializer.rs:::validate_scalar [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 1,100,400 ( 1.24%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:>>>::write_event:: 1,079,375 ( 1.21%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:>::reserve::do_reserve_and_handle:: [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 1,062,650 ( 1.20%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/non_null.rs:quick_xml::escape::_escape::::{closure#0}, &str> 975,000 ( 1.10%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/option.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 916,750 ( 1.03%) /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/control/target/release/xml-diagnostics] 900,375 ( 1.01%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs: as core::io::cursor::WriteThroughCursor>::write_all 877,975 ( 0.99%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::finish_grow [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 825,925 ( 0.93%) ???:free [/usr/lib/x86_64-linux-gnu/libc.so.6] 775,225 ( 0.87%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/option.rs:>>>::write_event:: 651,125 ( 0.73%) ???:malloc [/usr/lib/x86_64-linux-gnu/libc.so.6] 600,150 ( 0.68%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/convert/mod.rs:>>>::write_event:: 600,000 ( 0.68%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/index.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 550,250 ( 0.62%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs:>>>::write_event:: 525,000 ( 0.59%) /home/bailey/github/polyxml-perf-control/crates/polyxml-core/src/serializer.rs:::validate_lexical_list_items'2 [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 500,000 ( 0.56%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::push_attribute::<(&str, &str)> 475,825 ( 0.54%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:>>>::write_event:: 466,750 ( 0.53%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/iter/macros.rs:quick_xml::escape::_escape::::{closure#0}, &str> 451,575 ( 0.51%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:::finish_grow 450,450 ( 0.51%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:core::str::converts::from_utf8 450,225 ( 0.51%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs: as core::io::cursor::WriteThroughCursor>::write_all 450,150 ( 0.51%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs: as core::io::cursor::WriteThroughCursor>::write_all 450,000 ( 0.51%) /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/control/target/release/xml-diagnostics] 450,000 ( 0.51%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 425,425 ( 0.48%) /home/bailey/github/polyxml-perf-control/crates/polyxml-core/src/schema.rs:::matches_variant [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 425,000 ( 0.48%) /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/control/target/release/xml-diagnostics] 402,475 ( 0.45%) /home/bailey/github/polyxml-perf-control/crates/polyxml-core/src/serializer.rs:::write_model::<&mut core::io::cursor::Cursor>> [/home/bailey/github/PolyXML/benchmarks/rust-runtime-investigation/target/control/target/release/xml-diagnostics] 400,000 ( 0.45%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 400,000 ( 0.45%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/vec/mod.rs:::push_attr 375,000 ( 0.42%) /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.40%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/alloc/global.rs:__rustc::__rust_realloc 350,000 ( 0.39%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::push_attr 350,000 ( 0.39%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/non_null.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 325,025 ( 0.37%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/alloc.rs:>>>::write_event:: 314,000 ( 0.35%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/non_null.rs:quick_xml::escape::_escape::::{closure#0}, &str> 300,000 ( 0.34%) /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/control/target/release/xml-diagnostics] 300,000 ( 0.34%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/iter/adapters/enumerate.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 280,300 ( 0.32%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/slice/index.rs:::format_scalar_to 262,500 ( 0.30%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-write-float-1.0.6/src/write.rs:::format_scalar_to 250,875 ( 0.28%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/alloc.rs:::finish_grow 250,875 ( 0.28%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/cmp.rs:>::reserve::do_reserve_and_handle:: 250,875 ( 0.28%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:::finish_grow 225,975 ( 0.25%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs: as core::io::cursor::WriteThroughCursor>::write_all 225,225 ( 0.25%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/std/src/sys/sync/rwlock/futex.rs:::matches_variant 225,075 ( 0.25%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mut_ptr.rs: as core::io::cursor::WriteThroughCursor>::write_all 225,000 ( 0.25%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/ptr/mod.rs:::push_attr 224,825 ( 0.25%) /home/bailey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/lexical-util-1.0.7/src/num.rs:::format_scalar_to 200,700 ( 0.23%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/std/src/sys/alloc/unix.rs:__rustc::__rust_realloc 200,000 ( 0.23%) /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.23%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/borrow.rs:::push_attribute::<(&str, &str)> 200,000 ( 0.23%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/alloc/src/raw_vec/mod.rs:::write_model::<&mut core::io::cursor::Cursor>>'2 192,225 ( 0.22%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/num/uint_macros.rs:::format_scalar_to 175,700 ( 0.20%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/intrinsics/mod.rs:::finish_grow 168,725 ( 0.19%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/cmp.rs:::format_scalar_to 150,525 ( 0.17%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:>::reserve::do_reserve_and_handle:: 150,050 ( 0.17%) /rustc/b940084d7eb6a299eb4bfeb8e34901bc051e7ac4/library/core/src/result.rs:>>>::write_event::