MCPcopy Create free account
hub / github.com/RetypeOS/parcode / generate_data

Function generate_data

benches/performance.rs:23–31  ·  view source on GitHub ↗
(count: usize)

Source from the content-addressed store, hash-verified

21}
22
23fn generate_data(count: usize) -> BenchCollection {
24 let items = (0..count)
25 .map(|i| BenchItem {
26 id: i as u64,
27 payload: vec![i as u64; 128], // ~1KB
28 })
29 .collect();
30 BenchCollection { data: items }
31}
32
33// --- BENCHMARKS ---
34

Callers 2

bench_writersFunction · 0.70
bench_readersFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected