rust-memory-playground/dhat-heap.json
2022-06-16 12:50:08 +01:00

237 lines
7.0 KiB
JSON

{
"dhatFileVersion": 2,
"mode": "rust-heap",
"verb": "Allocated",
"bklt": true,
"bkacc": false,
"tu": "µs",
"Mtu": "s",
"tuth": 10,
"cmd": "target/debug/zero-copy-deserialize",
"pid": 43081,
"tg": 272,
"te": 291,
"pps": [
{
"tb": 8192,
"tbk": 1,
"tl": 112,
"mb": 8192,
"mbk": 1,
"gb": 8192,
"gbk": 1,
"eb": 8192,
"ebk": 1,
"fs": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18
]
},
{
"tb": 8,
"tbk": 1,
"tl": 51,
"mb": 8,
"mbk": 1,
"gb": 0,
"gbk": 0,
"eb": 0,
"ebk": 0,
"fs": [
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
18
]
},
{
"tb": 64,
"tbk": 1,
"tl": 95,
"mb": 64,
"mbk": 1,
"gb": 64,
"gbk": 1,
"eb": 64,
"ebk": 1,
"fs": [
35,
36,
37,
38,
39,
40,
41,
42,
43,
11,
12,
13,
14,
15,
16,
17,
18
]
},
{
"tb": 4,
"tbk": 1,
"tl": 34,
"mb": 4,
"mbk": 1,
"gb": 4,
"gbk": 1,
"eb": 0,
"ebk": 0,
"fs": [
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
18
]
},
{
"tb": 1024,
"tbk": 1,
"tl": 19,
"mb": 1024,
"mbk": 1,
"gb": 1024,
"gbk": 1,
"eb": 1024,
"ebk": 1,
"fs": [
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
11,
66,
67,
68,
69,
70,
71
]
}
],
"ftbl": [
"[root]",
"0x10488971c: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc/src/alloc.rs:231:9)",
"0x10488971c: alloc::raw_vec::RawVec<T,A>::allocate_in (alloc/src/raw_vec.rs:185:45)",
"0x10488971c: alloc::raw_vec::RawVec<T,A>::with_capacity_in (alloc/src/raw_vec.rs:132:9)",
"0x10488971c: alloc::raw_vec::RawVec<T>::with_capacity (alloc/src/raw_vec.rs:93:9)",
"0x10488971c: alloc::boxed::Box<[T]>::new_uninit_slice (alloc/src/boxed.rs:616:18)",
"0x10488971c: std::io::buffered::bufreader::BufReader<R>::with_capacity (io/buffered/bufreader.rs:96:19)",
"0x10488971c: std::io::stdio::stdin::{{closure}} (src/io/stdio.rs:324:24)",
"0x10488971c: std::lazy::SyncOnceCell<T>::get_or_init::{{closure}} (std/src/lazy.rs:281:50)",
"0x10488971c: std::lazy::SyncOnceCell<T>::initialize::{{closure}} (std/src/lazy.rs:462:19)",
"0x10488971c: std::sync::once::Once::call_once_force::{{closure}} (src/sync/once.rs:334:40)",
"0x1048a67c4: std::sync::once::Once::call_inner (src/sync/once.rs:434:21)",
"0x1048a691c: std::sync::once::Once::call_once_force (src/sync/once.rs:334:9)",
"0x1048a691c: std::lazy::SyncOnceCell<T>::initialize (std/src/lazy.rs:461:9)",
"0x1048865b4: std::lazy::SyncOnceCell<T>::get_or_try_init (std/src/lazy.rs:328:9)",
"0x1048865b4: std::lazy::SyncOnceCell<T>::get_or_init (std/src/lazy.rs:281:15)",
"0x1048865b4: std::io::stdio::stdin (src/io/stdio.rs:323:16)",
"0x104766b58: zero_copy_deserialize::mamad (zero-copy-deserialize/src/main.rs:19:17)",
"0x104766c20: zero_copy_deserialize::main (zero-copy-deserialize/src/main.rs:32:13)",
"0x104766d88: __rg_alloc (zero-copy-deserialize/src/main.rs:5:15)",
"0x1048761d8: alloc::raw_vec::finish_grow (alloc/src/raw_vec.rs:0:0)",
"0x1048a6210: alloc::raw_vec::RawVec<T,A>::grow_amortized (alloc/src/raw_vec.rs:400:19)",
"0x1048a6210: alloc::raw_vec::RawVec<T,A>::reserve::do_reserve_and_handle (alloc/src/raw_vec.rs:285:28)",
"0x104887d40: alloc::raw_vec::RawVec<T,A>::reserve (alloc/src/raw_vec.rs:289:13)",
"0x104887d40: alloc::vec::Vec<T,A>::reserve (src/vec/mod.rs:813:9)",
"0x104887d40: alloc::vec::Vec<T,A>::append_elements (src/vec/mod.rs:1798:9)",
"0x104887d40: <alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<&T,core::slice::iter::Iter<T>>>::spec_extend (src/vec/spec_extend.rs:85:18)",
"0x104887d40: alloc::vec::Vec<T,A>::extend_from_slice (src/vec/mod.rs:2236:9)",
"0x104887d40: std::io::read_until (src/io/mod.rs:1892:21)",
"0x1048866c0: std::io::BufRead::read_line::{{closure}} (src/io/mod.rs:2176:44)",
"0x1048866c0: std::io::append_to_string (src/io/mod.rs:336:15)",
"0x1048866c0: std::io::BufRead::read_line (src/io/mod.rs:2176:18)",
"0x1048866c0: <std::io::stdio::StdinLock as std::io::BufRead>::read_line (src/io/stdio.rs:493:9)",
"0x104886620: std::io::stdio::Stdin::read_line (src/io/stdio.rs:386:9)",
"0x104766b94: zero_copy_deserialize::mamad (zero-copy-deserialize/src/main.rs:20:5)",
"0x10488a528: alloc::alloc::exchange_malloc (alloc/src/alloc.rs:320:11)",
"0x10488a528: alloc::boxed::Box<T>::new (alloc/src/boxed.rs:195:9)",
"0x10488a528: <alloc::boxed::Box<T> as core::convert::From<T>>::from (alloc/src/boxed.rs:1386:9)",
"0x10488a528: std::sys_common::mutex::MovableMutex::new (src/sys_common/mutex.rs:64:25)",
"0x104889734: std::sync::mutex::Mutex<T>::new (src/sync/mutex.rs:218:20)",
"0x104889734: std::io::stdio::stdin::{{closure}} (src/io/stdio.rs:324:13)",
"0x104889734: std::lazy::SyncOnceCell<T>::get_or_init::{{closure}} (std/src/lazy.rs:281:50)",
"0x104889734: std::lazy::SyncOnceCell<T>::initialize::{{closure}} (std/src/lazy.rs:462:19)",
"0x104889734: std::sync::once::Once::call_once_force::{{closure}} (src/sync/once.rs:334:40)",
"0x10489bd58: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc/src/alloc.rs:231:9)",
"0x10489bd58: alloc::raw_vec::RawVec<T,A>::allocate_in (alloc/src/raw_vec.rs:185:45)",
"0x10489bd58: alloc::raw_vec::RawVec<T,A>::with_capacity_in (alloc/src/raw_vec.rs:132:9)",
"0x10489bd58: alloc::vec::Vec<T,A>::with_capacity_in (src/vec/mod.rs:613:20)",
"0x10489bd58: <T as alloc::slice::hack::ConvertVec>::to_vec (alloc/src/slice.rs:227:25)",
"0x10489bd58: alloc::slice::hack::to_vec (alloc/src/slice.rs:176:9)",
"0x10489bd58: alloc::slice::<impl [T]>::to_vec_in (alloc/src/slice.rs:507:9)",
"0x10489bd58: <alloc::vec::Vec<T,A> as core::clone::Clone>::clone (src/vec/mod.rs:2485:9)",
"0x10489bd58: <alloc::string::String as core::clone::Clone>::clone (alloc/src/string.rs:1861:23)",
"0x104766ad4: zero_copy_deserialize::parse (zero-copy-deserialize/src/main.rs:13:15)",
"0x104766bcc: zero_copy_deserialize::mamad (zero-copy-deserialize/src/main.rs:24:5)",
"0x1048897e8: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc/src/alloc.rs:231:9)",
"0x1048897e8: alloc::raw_vec::RawVec<T,A>::allocate_in (alloc/src/raw_vec.rs:185:45)",
"0x1048897e8: alloc::raw_vec::RawVec<T,A>::with_capacity_in (alloc/src/raw_vec.rs:132:9)",
"0x1048897e8: alloc::vec::Vec<T,A>::with_capacity_in (src/vec/mod.rs:613:20)",
"0x1048897e8: alloc::vec::Vec<T>::with_capacity (src/vec/mod.rs:470:9)",
"0x1048897e8: std::io::buffered::bufwriter::BufWriter<W>::with_capacity (io/buffered/bufwriter.rs:115:33)",
"0x1048897e8: std::io::buffered::linewriter::LineWriter<W>::with_capacity (io/buffered/linewriter.rs:109:29)",
"0x1048897e8: std::io::buffered::linewriter::LineWriter<W>::new (io/buffered/linewriter.rs:89:9)",
"0x1048897e8: std::io::stdio::stdout::{{closure}} (src/io/stdio.rs:609:58)",
"0x1048897e8: std::lazy::SyncOnceCell<T>::get_or_init_pin::{{closure}} (std/src/lazy.rs:375:25)",
"0x1048897e8: std::sync::once::Once::call_once_force::{{closure}} (src/sync/once.rs:334:40)",
"0x104886e20: std::sync::once::Once::call_once_force (src/sync/once.rs:334:9)",
"0x104886e20: std::lazy::SyncOnceCell<T>::get_or_init_pin (std/src/lazy.rs:374:9)",
"0x104886e20: std::io::stdio::stdout (src/io/stdio.rs:608:16)",
"0x104886e20: std::io::stdio::print_to (src/io/stdio.rs:1016:21)",
"0x104886e20: std::io::stdio::_print (src/io/stdio.rs:1029:5)",
"0x104766cc0: zero_copy_deserialize::main (zero-copy-deserialize/src/main.rs:34:5)"
]
}