From 7ea236f6d8ff3ee383bdf5a50ded0cd704691ab0 Mon Sep 17 00:00:00 2001 From: Joel Natividad <1980690+jqnatividad@users.noreply.github.com> Date: Sun, 18 Aug 2024 08:49:23 -0400 Subject: [PATCH] `benchmarks`: v4.10.0 - added `search --literal` benchmark - stats preparation now uses `--stats-jsonl` option [skip ci] --- scripts/benchmarks.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/benchmarks.sh b/scripts/benchmarks.sh index 5055a46b5..c1ae3646f 100755 --- a/scripts/benchmarks.sh +++ b/scripts/benchmarks.sh @@ -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 @@ -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" @@ -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