MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / bench_data

Function bench_data

src/derive/impls.rs:296–301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294mod tests {
295 type Tuple = (u64, u32, u8, i32, u8, u16, i8, (u8, u8, u8, u8), i8);
296 fn bench_data() -> Vec<(Tuple, Option<String>)> {
297 crate::random_data(1000)
298 .into_iter()
299 .map(|t: Tuple| (t, None))
300 .collect()
301 }
302 crate::bench_encode_decode!(tuple_vec: Vec<_>);
303}

Callers

nothing calls this directly

Calls 2

random_dataFunction · 0.50
collectMethod · 0.45

Tested by

no test coverage detected