Skip to content

Commit

Permalink
remove Some(())
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Oct 23, 2024
1 parent 98224ef commit b80b783
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
8 changes: 4 additions & 4 deletions quickwit/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion quickwit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async-compression = { version = "0.4", features = ["tokio", "gzip"] }
async-speed-limit = "0.4"
async-trait = "0.1"
base64 = "0.22"
binggan = { version = "0.13" }
binggan = { version = "0.14" }
bytes = { version = "1", features = ["serde"] }
bytesize = { version = "1.3.0", features = ["serde"] }
bytestring = "1.3.0"
Expand Down
3 changes: 0 additions & 3 deletions quickwit/quickwit-doc-mapper/benches/doc_to_json_bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,22 +105,19 @@ fn run_bench() {
for line in lines {
black_box(doc_mapper.doc_from_json_str(line).unwrap());
}
Some(())
});

group.register_with_input("doc_mapper_dynamic", data, |lines| {
for line in lines {
black_box(dynamic_doc_mapper.doc_from_json_str(line).unwrap());
}
Some(())
});

group.register_with_input("tantivy parse json", data, |lines| {
let schema = doc_mapper.schema();
for line in lines {
let _doc = black_box(TantivyDocument::parse_json(&schema, line).unwrap());
}
Some(())
});
group.run();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ fn run_bench() {
for json in lines.iter() {
routing_expr.eval_hash(json);
}
Some(())
});

group.run();
Expand Down

0 comments on commit b80b783

Please sign in to comment.