Skip to content

Commit

Permalink
fix(bench): json formatter benchmark suites (#2912)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sec-ant authored May 18, 2024
1 parent 2226bae commit 046c719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtask/bench/benches/json_formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
static GLOBAL: std::alloc::System = std::alloc::System;
fn bench_json_formatter(criterion: &mut Criterion) {
let mut all_suites = HashMap::new();
all_suites.insert("json", include_str!("libs-js.txt"));
all_suites.insert("json", include_str!("libs-json.txt"));
let mut libs = vec![];
libs.extend(all_suites.values().flat_map(|suite| suite.lines()));

Expand Down

0 comments on commit 046c719

Please sign in to comment.