Skip to content

Commit

Permalink
benchmarks: v4.10.0
Browse files Browse the repository at this point in the history
- added `search --literal` benchmark
- stats preparation now uses `--stats-jsonl` option

[skip ci]
  • Loading branch information
jqnatividad committed Aug 18, 2024
1 parent 5e6bc45 commit 7ea236f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
arg_pat="$1"

# the version of this script
bm_version=4.9.1
bm_version=4.10.0

# CONFIGURABLE VARIABLES ---------------------------------------
# change as needed to reflect your environment/workloads
Expand Down Expand Up @@ -577,6 +577,7 @@ run --index schema_index "$qsv_bin" schema "$data"
run search "$qsv_bin" search -s \'Agency Name\' "'(?i)us'" "$data"
run search_unicode "$qsv_bin" search --unicode -s \'Agency Name\' "'(?i)us'" "$data"
run search_file "$qsv_bin" search "'(?i)us'" "$data"
run search_file_literal "$qsv_bin" search --literal "'$'" "$data"
run search_file_unicode "$qsv_bin" search --unicode "'(?i)us'" "$data"
run search_file_case_sensitive "$qsv_bin" search "'us'" "$data"
run search_file_case_sensitive_unicode "$qsv_bin" search --unicode "'us'" "$data"
Expand Down Expand Up @@ -744,7 +745,7 @@ if [ "$with_index_count" -gt 0 ]; then
echo " Preparing index and stats cache..."
rm -f "$data".idx
"$qsv_bin" index "$data"
"$qsv_bin" stats "$data" --everything --infer-dates --stats-binout --force \
"$qsv_bin" stats "$data" --everything --infer-dates --stats-jsonl --force \
--output benchmark_work.stats.csv
fi

Expand Down

0 comments on commit 7ea236f

Please sign in to comment.