ax-codec-core 0.1.6

Core binary codec library with zero-copy decoding, varint encoding, and configurable decode limits
Documentation
{
"dhatFileVersion": 2,
"mode": "rust-heap",
"verb": "Allocated",
"bklt": true,
"bkacc": false,
"tu": "µs",
"Mtu": "s",
"tuth": 10,
"cmd": "/Users/bagusdwiharianto/Development/rust/eco_ax/ax-codec/target/debug/examples/dhat_profile",
"pid": 16162,
"tg": 52677,
"te": 52718,
"pps": [
{
"tb": 256,
"tbk": 1,
"tl": 120,
"mb": 256,
"mbk": 1,
"gb": 0,
"gbk": 0,
"eb": 0,
"ebk": 0,
"fs": [
1,
2,
3,
4,
5,
6,
7,
8,
9
]
},
{
"tb": 1024,
"tbk": 1,
"tl": 52285,
"mb": 1024,
"mbk": 1,
"gb": 1024,
"gbk": 1,
"eb": 0,
"ebk": 0,
"fs": [
1,
2,
3,
4,
5,
6,
7,
8,
10
]
},
{
"tb": 5112,
"tbk": 17,
"tl": 52294,
"mb": 2048,
"mbk": 1,
"gb": 2048,
"gbk": 1,
"eb": 0,
"ebk": 0,
"fs": [
1,
2,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
]
},
{
"tb": 1024000,
"tbk": 1000,
"tl": 39583,
"mb": 1024,
"mbk": 1,
"gb": 1024,
"gbk": 1,
"eb": 0,
"ebk": 0,
"fs": [
1,
2,
3,
4,
21,
22,
23,
24,
25,
26,
27
]
},
{
"tb": 256,
"tbk": 1,
"tl": 31,
"mb": 256,
"mbk": 1,
"gb": 0,
"gbk": 0,
"eb": 0,
"ebk": 0,
"fs": [
1,
2,
3,
4,
21,
22,
23,
24,
25,
26,
28
]
}
],
"ftbl": [
"[root]",
"0x1001e4940: <dhat::Alloc as core::alloc::global::GlobalAlloc>::alloc (dhat-0.3.3/src/lib.rs:1176:9)",
"0x1001d6b24: __rustc::__rust_alloc (ax-codec-core/examples/dhat_profile.rs:3:15)",
"0x1002c6d70: <alloc::raw_vec::RawVecInner>::try_allocate_in (???:0:0)",
"0x1001fcad8: alloc::raw_vec::RawVecInner<A>::with_capacity_in (src/raw_vec/mod.rs:433:15)",
"0x1001d501c: alloc::raw_vec::RawVec<T,A>::with_capacity_in (src/raw_vec/mod.rs:177:20)",
"0x1001d501c: alloc::vec::Vec<T,A>::with_capacity_in (src/vec/mod.rs:965:20)",
"0x1001d501c: <u8 as alloc::vec::spec_from_elem::SpecFromElem>::from_elem (src/vec/spec_from_elem.rs:53:21)",
"0x1001d51c4: alloc::vec::from_elem (src/vec/mod.rs:3651:5)",
"0x1001d6eac: dhat_profile::main (ax-codec-core/examples/dhat_profile.rs:46:22)",
"0x1001d7144: dhat_profile::main (ax-codec-core/examples/dhat_profile.rs:62:18)",
"0x1002d9fb8: <alloc::raw_vec::RawVecInner>::finish_grow (???:0:0)",
"0x1002c6ca0: <alloc::raw_vec::RawVecInner>::grow_amortized (???:0:0)",
"0x1002d9ee8: <alloc::raw_vec::RawVecInner<_>>::reserve::do_reserve_and_handle::<alloc::alloc::Global> (???:0:0)",
"0x1001f9f10: alloc::vec::Vec<T,A>::append_elements (src/vec/mod.rs:2879:14)",
"0x1001f992c: <alloc::vec::Vec<T,A> as alloc::vec::spec_extend::SpecExtend<&T,core::slice::iter::Iter<T>>>::spec_extend (src/vec/spec_extend.rs:56:23)",
"0x1001fa018: alloc::vec::Vec<T,A>::extend_from_slice (src/vec/mod.rs:3500:14)",
"0x1001d6a5c: <ax_codec_core::buffer::VecWriter as ax_codec_core::BufferWriter>::write_all (ax-codec-core/src/buffer.rs:47:20)",
"0x1001d6a5c: ax_codec_core::varint::encode_uvarint_slow (ax-codec-core/src/varint.rs:15:16)",
"0x1001d6a5c: ax_codec_core::varint::encode_uvarint (ax-codec-core/src/varint.rs:58:9)",
"0x1001d5af4: <u64 as ax_codec_core::Encode>::encode (ax-codec-core/src/lib.rs:116:9)",
"0x1001ef79c: alloc::raw_vec::RawVec<T,A>::with_capacity_in (src/raw_vec/mod.rs:177:20)",
"0x1001ef79c: alloc::vec::Vec<T,A>::with_capacity_in (src/vec/mod.rs:965:20)",
"0x1001ef79c: alloc::vec::Vec<T>::with_capacity (src/vec/mod.rs:524:9)",
"0x1001d52e8: <alloc::vec::Vec<T> as ax_codec_core::Decode>::decode (ax-codec-core/src/lib.rs:374:23)",
"0x1001d6410: <dhat_profile::Packet as ax_codec_core::Decode>::decode::{{closure}} (ax-codec-core/examples/dhat_profile.rs:14:38)",
"0x1001d62d4: <dhat_profile::Packet as ax_codec_core::Decode>::decode (ax-codec-core/examples/dhat_profile.rs:14:38)",
"0x1001d738c: dhat_profile::main (ax-codec-core/examples/dhat_profile.rs:70:25)",
"0x1001d7070: dhat_profile::main (ax-codec-core/examples/dhat_profile.rs:52:25)"
]
}