Skip to content

Commit c2fd14b

Browse files
committed
Disable protobuf output in benchmarks (Closes #49)
1 parent fc53200 commit c2fd14b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ rusticata-macros = "4.0"
5252
[dev-dependencies]
5353
criterion = { version="0.5", features=["html_reports"] }
5454
hex-literal = "0.4"
55-
pprof = { version="0.13", features=["criterion","flamegraph","protobuf-codec"] }
55+
pprof = { version="0.13", features=["criterion","flamegraph"] }
5656

5757
[[bench]]
5858
name = "pcap"

benches/profile_pcapng.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ fn profile_reader_pcapng(c: &mut Criterion) {
4141
}
4242

4343
fn profiled() -> Criterion {
44-
//Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)))
45-
Criterion::default().with_profiler(PProfProfiler::new(100, Output::Protobuf))
44+
Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)))
45+
//Criterion::default().with_profiler(PProfProfiler::new(100, Output::Protobuf))
4646
}
4747

4848
criterion_group! {

0 commit comments

Comments
 (0)