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 8cb4f30 commit b852b1bCopy full SHA for b852b1b
src/uu/join/benches/join_bench.rs
@@ -110,6 +110,22 @@ fn join_custom_separator(bencher: Bencher) {
110
});
111
}
112
113
+/// Benchmark join with French locale (fr_FR.UTF-8)
114
+#[divan::bench]
115
+fn join_french_locale(bencher: Bencher) {
116
+ let num_lines = 10000;
117
+ let temp_dir = TempDir::new().unwrap();
118
+ let (file1, file2) = create_join_files(&temp_dir, num_lines);
119
+
120
+ bencher
121
+ .with_inputs(|| unsafe {
122
+ std::env::set_var("LC_ALL", "fr_FR.UTF-8");
123
+ })
124
+ .bench_values(|_| {
125
+ black_box(run_util_function(uumain, &[&file1, &file2]));
126
+ });
127
+}
128
129
fn main() {
130
divan::main();
131
0 commit comments