8000 Make bench output same as function names · unicode-rs/unicode-segmentation@9310f0f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9310f0f

Browse files
committed
Make bench output same as function names
1 parent 86509ee commit 9310f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benches/graphemes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use unicode_segmentation::UnicodeSegmentation;
77
fn graphemes(c: &mut Criterion, lang: &str, path: &str) {
88
let text = fs::read_to_string(path).unwrap();
99

10-
c.bench_function(&format!("grapheme {}",lang), |bench| {
10+
c.bench_function(&format!("graphemes_{}",lang), |bench| {
1111
bench.iter(|| {
1212
for g in UnicodeSegmentation::graphemes(black_box(&*text), true) {
1313
black_box(g);

0 commit comments

Comments
 (0)
0