diff --git a/buildscripts/resmokeconfig/suites/benchmarks.yml b/buildscripts/resmokeconfig/suites/benchmarks.yml index 015f6188444..594a928b1bf 100644 --- a/buildscripts/resmokeconfig/suites/benchmarks.yml +++ b/buildscripts/resmokeconfig/suites/benchmarks.yml @@ -18,6 +18,9 @@ selector: - build/install/bin/simple8b_bm* # Hash table benchmark is really slow, don't run on evergreen - build/install/bin/hash_table_bm* + # These benchmarks are being run as part of the benchmarks_query.yml + - build/install/bin/percentile_algo_bm* + - build/install/bin/window_function_percentile_bm* # These benchmarks are being run as part of the benchmarks_expression*.yml - build/install/bin/expression_bm* - build/install/bin/sbe_expression_bm* diff --git a/buildscripts/resmokeconfig/suites/benchmarks_query.yml b/buildscripts/resmokeconfig/suites/benchmarks_query.yml new file mode 100644 index 00000000000..d8e1fd3f93f --- /dev/null +++ b/buildscripts/resmokeconfig/suites/benchmarks_query.yml @@ -0,0 +1,14 @@ +# Query related google micro-benchmarks unless run in separate dedicated suites. +test_kind: benchmark_test + +selector: + root: build/benchmarks.txt + include_files: + # The trailing asterisk is for handling the .exe extension on Windows. + - build/install/bin/percentile_algo_bm* + - build/install/bin/window_function_percentile_bm* + +executor: + config: {} + hooks: + - class: CombineBenchmarkResults diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml index 55e07f3a2da..f5eacbd1681 100644 --- a/etc/evergreen_yml_components/definitions.yml +++ b/etc/evergreen_yml_components/definitions.yml @@ -3551,6 +3551,17 @@ tasks: resmoke_jobs_max: 1 - func: "send benchmark results" +- <<: *benchmark_template + name: benchmarks_query + tags: ["benchmarks"] + commands: + - func: "do benchmark setup" + - func: "run tests" + vars: + suite: benchmarks_query + resmoke_jobs_max: 1 + - func: "send benchmark results" + - <<: *benchmark_template name: benchmarks_expression tags: ["benchmarks"]