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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy