@@ -96,9 +96,11 @@ function bench_dir() {
96
96
rg_j1_command=" $rg_path --threads 1 bin $path "
97
97
fi
98
98
typos_command=" "
99
+ typos_ascii_command=" "
99
100
typos_j1_command=" "
100
101
if [[ ! -z $typos_path ]]; then
101
102
typos_command=" $typos_path $path "
103
+ typos_ascii_command=" $typos_path --no-unicode $path "
102
104
typos_j1_command=" $typos_path --threads 1 $path "
103
105
fi
104
106
misspell_rs_command=" "
@@ -114,7 +116,7 @@ function bench_dir() {
114
116
if [[ ! -z $codespell_path ]]; then
115
117
codespell_command=" $codespell_path $path "
116
118
fi
117
- hyperfine --warmup 1 -i --export-json $report_prefix -rg.json --export-markdown $report_prefix -rg.md " $rg_command " " $rg_j1_command " " $typos_command " " $typos_j1_command " " $misspell_rs_command " " $misspell_go_command " " $codespell_command "
119
+ hyperfine --warmup 1 -i --export-json $report_prefix -rg.json --export-markdown $report_prefix -rg.md " $rg_command " " $rg_j1_command " " $typos_command " " $typos_ascii_command " " $ typos_j1_command" " $misspell_rs_command " " $misspell_go_command " " $codespell_command "
118
120
cat $report_prefix -rg.md >> $output
119
121
fi
120
122
echo " " >> $output
@@ -139,8 +141,10 @@ function bench_file() {
139
141
rg_command=" $rg_path bin $path "
140
142
fi
141
143
typos_command=" "
144
+ typos_ascii_command=" "
142
145
if [[ ! -z $typos_path ]]; then
143
146
typos_command=" $typos_path $path "
147
+ typos_ascii_command=" $typos_path --no-unicode $path "
144
148
fi
145
149
misspell_rs_command=" "
146
150
if [[ ! -z $misspell_rs_path ]]; then
@@ -158,7 +162,7 @@ function bench_file() {
158
162
if [[ ! -z $codespell_path ]]; then
159
163
codespell_command=" $codespell_path $path "
160
164
fi
161
- hyperfine --warmup 1 -i --export-json $report_prefix -rg.json --export-markdown $report_prefix -rg.md " $rg_command " " $typos_command " " $misspell_rs_command " " $misspell_go_command " " $scspell_command " " $codespell_command "
165
+ hyperfine --warmup 1 -i --export-json $report_prefix -rg.json --export-markdown $report_prefix -rg.md " $rg_command " " $typos_command " " $typos_ascii_command " " $ misspell_rs_command" " $misspell_go_command " " $scspell_command " " $codespell_command "
162
166
cat $report_prefix -rg.md >> $output
163
167
fi
164
168
echo " " >> $output
0 commit comments