From 8fc1a4eecc38dc98737d95595631fb3325c1e708 Mon Sep 17 00:00:00 2001 From: trivernis Date: Thu, 2 Dec 2021 19:09:43 +0100 Subject: [PATCH] Fix benchmarks Signed-off-by: trivernis --- benches/deserialization_benchmark.rs | 2 +- benches/serialization_benchmark.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/deserialization_benchmark.rs b/benches/deserialization_benchmark.rs index 86dbc302..af65bea2 100644 --- a/benches/deserialization_benchmark.rs +++ b/benches/deserialization_benchmark.rs @@ -3,7 +3,7 @@ use criterion::{criterion_group, criterion_main}; use criterion::{BatchSize, Criterion}; use std::io::Cursor; -use rmp_ipc::event::Event; +use bromine::event::Event; use tokio::runtime::Runtime; pub const EVENT_NAME: &str = "bench_event"; diff --git a/benches/serialization_benchmark.rs b/benches/serialization_benchmark.rs index 865125af..8f9f6e98 100644 --- a/benches/serialization_benchmark.rs +++ b/benches/serialization_benchmark.rs @@ -1,7 +1,7 @@ +use bromine::event::Event; use criterion::{ black_box, criterion_group, criterion_main, BatchSize, BenchmarkId, Criterion, Throughput, }; -use rmp_ipc::event::Event; pub const EVENT_NAME: &str = "bench_event";