Skip to content

Commit

Permalink
Add tokenizers bench.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmassot committed Jul 6, 2023
1 parent 8f2c663 commit f0dee91
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion quickwit/Cargo.lock

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

5 changes: 5 additions & 0 deletions quickwit/quickwit-query/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ thiserror = { workspace = true }
whichlang = { workspace = true, optional = true }

[dev-dependencies]
criterion = { workspace = true }
proptest = { workspace = true }
time = { workspace = true }

Expand All @@ -41,3 +42,7 @@ multilang = [
testsuite = [
"multilang",
]

[[bench]]
name = "tokenizers_bench"
harness = false
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ mod tests {
},
];

assert_eq!(dbg!(res), dbg!(expected));
assert_eq!(res, expected);
}

proptest::proptest! {
Expand Down

0 comments on commit f0dee91

Please sign in to comment.