Merge pull request #195 from influxdata/alamb/fixture-consolidation

refactor: move benchmark test data to tests/fixtures
pull/24376/head
Andrew Lamb 2020-06-29 10:12:57 -04:00 committed by GitHub
commit 430d6f5fe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
use criterion::{criterion_group, criterion_main, Criterion, Throughput};
use std::time::Duration;
static LINES: &str = include_str!("line-protocol.txt");
static LINES: &str = include_str!("../tests/fixtures/lineproto/prometheus.lp");
fn line_parser(c: &mut Criterion) {
let mut group = c.benchmark_group("line_parser");