diff --git a/src/influx.rs b/src/influx.rs index 33453f4..d95a73d 100644 --- a/src/influx.rs +++ b/src/influx.rs @@ -1115,11 +1115,11 @@ mod tests { #[ignore] #[bench] - fn write_one_million_rows_to_influx(b: &mut Bencher) { + fn measure_ten(b: &mut Bencher) { let influx = InfluxWriter::new("localhost", "test", "log/influx.log", 8192); let mut n = 0; b.iter(|| { - for _ in 0..1_000_000 { + for _ in 0..10 { let time = influx.nanos(Utc::now()); n += 1; measure!(influx, million, i(n), tm(time));