We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86509ee commit 9310f0fCopy full SHA for 9310f0f
benches/graphemes.rs
@@ -7,7 +7,7 @@ use unicode_segmentation::UnicodeSegmentation;
7
fn graphemes(c: &mut Criterion, lang: &str, path: &str) {
8
let text = fs::read_to_string(path).unwrap();
9
10
- c.bench_function(&format!("grapheme {}",lang), |bench| {
+ c.bench_function(&format!("graphemes_{}",lang), |bench| {
11
bench.iter(|| {
12
for g in UnicodeSegmentation::graphemes(black_box(&*text), true) {
13
black_box(g);
0 commit comments