pcap-toolkit 0.2.0

A blazing-fast, data-oriented PCAP manipulation, routing, and transformation tool written in Rust
Documentation
1
2
3
4
5
6
7
8
9
use criterion::{Criterion, black_box, criterion_group, criterion_main};

fn example_benchmark(c: &mut Criterion) {
    // Replace with a real benchmark of your code.
    c.bench_function("example", |b| b.iter(|| black_box(1 + 1)));
}

criterion_group!(benches, example_benchmark);
criterion_main!(benches);