Skip to content

Fix benchmark to use new build path#5026

Merged
alonre24 merged 26 commits intomasterfrom
fix_broken_benchmarks
Sep 23, 2024
Merged

Fix benchmark to use new build path#5026
alonre24 merged 26 commits intomasterfrom
fix_broken_benchmarks

Conversation

@alonre24
Copy link
Collaborator

@alonre24 alonre24 commented Sep 16, 2024

Describe the changes in the pull request

Fix broken benchmark flow (initially done by @raz-mon in #5018) + not using COORD=0 in benchmarks after removing this build option in #4935 + failing CI flow if a benchmark is failing, rather than failing silently as we did.

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

@codecov
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.30%. Comparing base (ba07994) to head (ef26dea).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5026      +/-   ##
==========================================
- Coverage   86.31%   86.30%   -0.02%     
==========================================
  Files         190      190              
  Lines       34593    34601       +8     
==========================================
+ Hits        29860    29863       +3     
- Misses       4733     4738       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alonre24 alonre24 mentioned this pull request Sep 16, 2024
2 tasks
@alonre24 alonre24 requested review from GuyAv46 and raz-mon September 17, 2024 09:23
@alonre24 alonre24 requested a review from GuyAv46 September 17, 2024 17:53
GuyAv46
GuyAv46 previously approved these changes Sep 18, 2024
…ly enabled. Only run >4 primaries if extended if enabled.
@fcostaoliveira
Copy link
Contributor

fcostaoliveira commented Sep 18, 2024

Automated performance analysis summary

This comment was automatically generated given there is performance data available.

In summary:

  • Detected a total of 44 stable tests between versions.

You can check a comparison in detail via the grafana link

Comparison between master and fix_broken_benchmarks.

Time Period from 30 days ago. (environment used: oss-standalone)

Test Case Baseline master (median obs. +- std.dev) Comparison fix_broken_benchmarks (median obs. +- std.dev) % change (higher-better) Note
ftsb-10K-enwiki_abstract-hashes-fulltext-sortby N/A N/A 0.0%
ftsb-10K-enwiki_abstract-hashes-term-prefix N/A N/A 0.0%
ftsb-10K-enwiki_abstract-hashes-term-suffix N/A N/A 0.0%
ftsb-10K-enwiki_abstract-hashes-term-suffix-withsuffixtrie N/A N/A 0.0%
ftsb-10K-enwiki_abstract-hashes-term-wildcard N/A N/A 0.0%
ftsb-10K-enwiki_pages-hashes-fulltext-mixed_simple-1word-query_write_1_to_read_20.yml N/A N/A 0.0%
ftsb-10K-enwiki_pages-hashes-load N/A N/A 0.0%
ftsb-10K-multivalue-numeric-json N/A N/A 0.0%
ftsb-10K-singlevalue-numeric-json N/A N/A 0.0%
ftsb-1K-enwiki_abstract-hashes-term-contains N/A N/A 0.0%
ftsb-1M-enwiki_abstract-hashes-fulltext-2word-intersection-query N/A N/A 0.0%
ftsb-1M-enwiki_abstract-hashes-fulltext-2word-intersection-query-non-sortable N/A N/A 0.0%
ftsb-1M-enwiki_abstract-hashes-fulltext-2word-intersection-query@100_ops_sec N/A N/A 0.0%
ftsb-1M-enwiki_abstract-hashes-fulltext-2word-union-query N/A N/A 0.0%
ftsb-1M-enwiki_abstract-hashes-fulltext-2word-union-query-non-sortable N/A N/A 0.0%
ftsb-1M-enwiki_abstract-hashes-fulltext-2word-union-query@100_ops_sec N/A N/A 0.0%
ftsb-1M-enwiki_abstract-hashes-fulltext-simple-1word-query N/A N/A 0.0%
ftsb-1M-enwiki_abstract-hashes-fulltext-simple-1word-query@100_ops_sec N/A N/A 0.0%
ftsb-1M-enwiki_abstract-hashes-load N/A N/A 0.0%
ftsb-1M-nyc_taxis-ftadd-load N/A N/A 0.0%
ftsb-1M-nyc_taxis-hashes-load N/A N/A 0.0%
search-aggregate-post-filter-simple.yml N/A N/A 0.0%
search-filtering-tag-numeric N/A N/A 0.0%
search-filtering-tag-numeric-filter-pipeline N/A N/A 0.0%
search-ftsb-10K-enwiki_abstract-hashes-term-withoutsuffix-trie N/A N/A 0.0%
search-ftsb-10K-enwiki_abstract-hashes-term-withsuffix-trie N/A N/A 0.0%
search-ftsb-1700K-docs-union-iterators-q3 N/A N/A 0.0%
search-ftsb-1M-enwiki_abstract-hashes-fulltext-2word-intersection-query-non-sortable@50_ops_sec N/A N/A 0.0%
search-ftsb-1M-enwiki_abstract-hashes-fulltext-2word-union-query-non-sortable@100_ops_sec N/A N/A 0.0%
search-ftsb-1M-enwiki_abstract-hashes-fulltext-simple-1word-query-non-sortable N/A N/A 0.0%
search-ftsb-370K-docs-union-iterators-q4 N/A N/A 0.0%
search-ftsb-5500K-docs-union-iterators-q2 N/A N/A 0.0%
search-geo N/A N/A 0.0%
search-high-cardinality-negation-term-baseline N/A N/A 0.0%
search-high-cardinality-negation-term-comparison_union_all_other_terms N/A N/A 0.0%
search-numeric N/A N/A 0.0%
search-numeric-optimize N/A N/A 0.0%
search-numeric-sortby N/A N/A 0.0%
search-numeric-sortby-desc N/A N/A 0.0%
search-numeric-sortby-desc-optimize N/A N/A 0.0%
search-numeric-sortby-optimize N/A N/A 0.0%
vecsim-arxiv-titles-384-angular-filters-m16-ef-128-fulltext-filter N/A N/A 0.0%
vecsim-arxiv-titles-384-angular-filters-m16-ef-128-numeric-filter N/A N/A 0.0%
vecsim-arxiv-titles-384-angular-filters-m16-ef-128-tag-filter N/A N/A 0.0%

@fcostaoliveira fcostaoliveira self-requested a review September 19, 2024 09:30
@alonre24 alonre24 added this pull request to the merge queue Sep 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 19, 2024
@alonre24 alonre24 added this pull request to the merge queue Sep 19, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 19, 2024
@alonre24 alonre24 added this pull request to the merge queue Sep 22, 2024
@alonre24 alonre24 removed this pull request from the merge queue due to a manual request Sep 22, 2024
@alonre24 alonre24 added this pull request to the merge queue Sep 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 22, 2024
@alonre24 alonre24 added this pull request to the merge queue Sep 23, 2024
Merged via the queue into master with commit 0a47e07 Sep 23, 2024
@alonre24 alonre24 deleted the fix_broken_benchmarks branch September 23, 2024 08:54
alonre24 added a commit that referenced this pull request Sep 23, 2024
* Fix benchmark to use new build path

* Take Raz's fix for benchmarks

* fix default module path

* make benchmark fail

* fix path

* fail external flow

* remove fail fast and continue on error

* addressing CR

* Splitting the standalone work among 6 groups. Only profile if explictly enabled. Only run >4 primaries if extended if enabled.

* Specify name of benchmark step on GH flow

* Using perf-cto-base-image-ubuntu20.04-redis-7.4.0-tuned-latency on spot instances as well.

* Fixed RedisJSON module path on benchmark setup. Enforcing ReJSON module to be present

* Changing from 6 to 9 oss-standalone runners to achieve a time for full feedback < 30min

* MODULE_FILE not working on Prepare ReJSON Module: using default location

* Using redisbench-admin >= 0.11.3 due to multi-module issue

* Using redisbench-admin >= 0.11.3 due to multi-module issue

* Added missing --allowed-setups info for oss-standalone config

* redisbench-admin >= 0.11.4

* Remove vecsim-ann-benchmarks_LOAD_1c_redisearch-hnsw_glove-200-angular_M-4.yml

* Using redisbench-admin >= 0.11.5 due to ssh timeout issues on heavy benchmarks or heavy prunning at the end

* Increasing concurrency of standalone benchmarks to reduce time to feedback

* redisbench-admin >= 0.11.6. removed unstable test vecsim-ann-benchmarks_QUERY_1c_redisearch-hnsw_glove-200-angular_M-4

* redisbench-admin >= 0.11.7. running cluster tests faster and also ensuring we use a redisbench-admin with keepalive on ssh tunnels

* Removed search-ftsb-10K-enwiki_abstract-hashes-term-withoutsuffix-trie from cluster tests due to keyspace error check

* Removed search-ftsb-1M-enwiki_abstract-hashes-fulltext-simple-1word-query-non-sortable from cluster tests due to client error. created RediSearch/ftsb#97

* Not running *.rdb based benchmarks on cluster due to orphaned keys (redis/redis#9506)

---------

Co-authored-by: fcostaoliveira <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Sep 26, 2024
* MOD-7596: Add mirroring support (#4937)

* * initial commit

* * Use RediSearch branch mirroring fork

* * Code Review - Round #1

* MOD-7695: Decide Ubuntu Runner Using Variable (#4975)

* * initial commit

* * code review

* Dvirdu_set_7.99.0_version_and_test_unstable (#4997)

* 7.99.0

* redis unstable tests

* CP single build path

* Fix benchmark to use new build path (#5026)

* Fix benchmark to use new build path

* Take Raz's fix for benchmarks

* fix default module path

* make benchmark fail

* fix path

* fail external flow

* remove fail fast and continue on error

* addressing CR

* Splitting the standalone work among 6 groups. Only profile if explictly enabled. Only run >4 primaries if extended if enabled.

* Specify name of benchmark step on GH flow

* Using perf-cto-base-image-ubuntu20.04-redis-7.4.0-tuned-latency on spot instances as well.

* Fixed RedisJSON module path on benchmark setup. Enforcing ReJSON module to be present

* Changing from 6 to 9 oss-standalone runners to achieve a time for full feedback < 30min

* MODULE_FILE not working on Prepare ReJSON Module: using default location

* Using redisbench-admin >= 0.11.3 due to multi-module issue

* Using redisbench-admin >= 0.11.3 due to multi-module issue

* Added missing --allowed-setups info for oss-standalone config

* redisbench-admin >= 0.11.4

* Remove vecsim-ann-benchmarks_LOAD_1c_redisearch-hnsw_glove-200-angular_M-4.yml

* Using redisbench-admin >= 0.11.5 due to ssh timeout issues on heavy benchmarks or heavy prunning at the end

* Increasing concurrency of standalone benchmarks to reduce time to feedback

* redisbench-admin >= 0.11.6. removed unstable test vecsim-ann-benchmarks_QUERY_1c_redisearch-hnsw_glove-200-angular_M-4

* redisbench-admin >= 0.11.7. running cluster tests faster and also ensuring we use a redisbench-admin with keepalive on ssh tunnels

* Removed search-ftsb-10K-enwiki_abstract-hashes-term-withoutsuffix-trie from cluster tests due to keyspace error check

* Removed search-ftsb-1M-enwiki_abstract-hashes-fulltext-simple-1word-query-non-sortable from cluster tests due to client error. created RediSearch/ftsb#97

* Not running *.rdb based benchmarks on cluster due to orphaned keys (redis/redis#9506)

---------

Co-authored-by: fcostaoliveira <[email protected]>

* rebase 8.0

---------

Co-authored-by: kei-nan <[email protected]>
Co-authored-by: DvirDukhan <[email protected]>
Co-authored-by: fcostaoliveira <[email protected]>
@alonre24 alonre24 mentioned this pull request Oct 13, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants