(b: &mut Bencher)
| 112 | #[cfg(feature = "serde")] |
| 113 | #[bench] |
| 114 | fn bench_bitcode_serialize(b: &mut Bencher) { |
| 115 | let data = bench_data(); |
| 116 | let data = bench_data2(&data); |
| 117 | |
| 118 | b.iter(|| { |
| 119 | black_box(crate::serialize(black_box(&data)).unwrap()); |
| 120 | }) |
| 121 | } |
| 122 | |
| 123 | #[cfg(feature = "serde")] |
| 124 | #[bench] |
nothing calls this directly
no test coverage detected