Skip to content

Moving from circleci to gha WRT benchmark flows - #1108

Merged
filipecosta90 merged 10 commits into
masterfrom
benchmarks.gha
Oct 12, 2023
Merged

filipecosta90 merged 10 commits into
masterfrom
benchmarks.gha

Conversation

@filipecosta90

@filipecosta90 filipecosta90 commented Oct 10, 2023 •

Copy link
Copy Markdown
Contributor

This PR removes the usage of circleci for benchmark workflows. It introduces 3 github actions:

  • One for merges to version and master/main branches
  • One for triggering benchmarks during PR work
  • One for triggering nightly benchmarks once a week

It requires the following secrets to be present among the repo action secrets:

  • PERFORMANCE_RTS_AUTH
  • PERFORMANCE_RTS_HOST
  • PERFORMANCE_RTS_PORT
  • PERFORMANCE_WH_TOKEN
  • PERFORMANCE_GH_TOKEN
  • PERFORMANCE_EC2_ACCESS_KEY
  • PERFORMANCE_EC2_SECRET_KEY
  • PERFORMANCE_EC2_REGION
  • PERFORMANCE_EC2_PRIVATE_PEM

Checks:

  • confirm secrets are present
  • confirm circleci config check outputs a valid config file
  • confirm the comment with performance info is present on this PR

@codecov

codecov Bot commented Oct 10, 2023 •

Copy link
Copy Markdown

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (e232623) 79.18% compared to head (0d8e502) 79.18%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1108   +/-   ##
=======================================
  Coverage   79.18%   79.18%           
=======================================
  Files          15       15           
  Lines        3853     3853           
=======================================
  Hits         3051     3051           
  Misses        802      802           

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

@filipecosta90
filipecosta90 requested a review from chayim October 11, 2023 05:44
@filipecosta90
filipecosta90 requested a review from GuyAv46 October 12, 2023 09:37
@filipecosta90

filipecosta90 commented Oct 12, 2023 •

Copy link
Copy Markdown
Contributor Author

Automated performance analysis summary

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

In summary:

  • Detected a total of 22 stable tests between versions.
  • Detected a total of 9 improvements above the improvement water line.
  • Detected a total of 9 regressions bellow the regression water line 5.0.

You can check a comparison in detail via the grafana link

Comparison between master and benchmarks.gha.

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

Test Case Baseline master (median obs. +- std.dev) Comparison benchmarks.gha (median obs. +- std.dev) % change (higher-better) Note
json_arrappend_geojson 71418 +- 4.1% (7 datapoints) 74058 +- nan% (1 datapoints) 3.7% potential IMPROVEMENT
json_get_ResultSet.totalResultsAvailable_jsonsl-yahoo2_json 122243 +- 6.1% (7 datapoints) 134221 +- nan% (1 datapoints) 9.8% waterline=6.1%. IMPROVEMENT
json_get_[0]_jsonsl-1 119039 +- 5.9% (7 datapoints) 129026 +- nan% (1 datapoints) 8.4% waterline=5.9%. IMPROVEMENT
json_get_[7]_jsonsl-1 119752 +- 3.6% (7 datapoints) 131572 +- nan% (1 datapoints) 9.9% IMPROVEMENT
json_get_[8].zero_jsonsl-1 116951 +- 6.9% (7 datapoints) 112987 +- nan% (1 datapoints) -3.4% waterline=6.9%. potential REGRESSION
json_get_[web-app].servlet[0][servlet-name]_json-parser-0000 99985 +- 4.5% (7 datapoints) 102554 +- nan% (1 datapoints) 2.6% -- no change --
json_get_[web-app].servlet[0]_json-parser-0000 83324 +- 2.5% (7 datapoints) 81292 +- nan% (1 datapoints) -2.4% -- no change --
json_get_[web-app].servlet_json-parser-0000 76619 +- 4.4% (7 datapoints) 77511 +- nan% (1 datapoints) 1.2% -- no change --
json_get_array_of_docs[1]_pass_100_json 118335 +- 3.6% (7 datapoints) 115596 +- nan% (1 datapoints) -2.3% -- no change --
json_get_array_of_docs[1]sclr_pass_100_json 114935 +- 5.4% (7 datapoints) 109280 +- nan% (1 datapoints) -4.9% waterline=5.4%. potential REGRESSION
json_get_fulldoc_json-parser-0000 78731 +- 5.8% (7 datapoints) 85098 +- nan% (1 datapoints) 8.1% waterline=5.8%. IMPROVEMENT
json_get_fulldoc_jsonsl-1 93886 +- 5.3% (7 datapoints) 101513 +- nan% (1 datapoints) 8.1% waterline=5.3%. IMPROVEMENT
json_get_fulldoc_jsonsl-yahoo2_json 26135 +- 2.9% (7 datapoints) 25468 +- nan% (1 datapoints) -2.6% -- no change --
json_get_fulldoc_jsonsl-yelp_json 13412 +- 2.0% (7 datapoints) 13503 +- nan% (1 datapoints) 0.7% -- no change --
json_get_fulldoc_pass_100_json 114278 +- 6.3% (7 datapoints) 125777 +- nan% (1 datapoints) 10.1% waterline=6.3%. IMPROVEMENT
json_get_key_empty 136975 +- 6.2% (7 datapoints) 138881 +- nan% (1 datapoints) 1.4% waterline=6.2%. -- no change --
json_get_message.code_jsonsl-yelp_json 123448 +- 6.3% (7 datapoints) 136979 +- nan% (1 datapoints) 11.0% waterline=6.3%. IMPROVEMENT
json_get_sclr_pass_100_json 132443 +- 6.9% (7 datapoints) 121942 +- nan% (1 datapoints) -7.9% waterline=6.9%. REGRESSION
json_get_sub_doc.sclr_pass_100_json 132443 +- 6.3% (7 datapoints) 121203 +- nan% (1 datapoints) -8.5% waterline=6.3%. REGRESSION
json_get_sub_doc_pass_100_json 122693 +- 6.3% (7 datapoints) 120473 +- nan% (1 datapoints) -1.8% waterline=6.3%. -- no change --
json_numincrby_num_1 122690 +- 5.2% (7 datapoints) 116271 +- nan% (1 datapoints) -5.2% waterline=5.2%. REGRESSION
json_nummultby_num_2 132443 +- 5.9% (7 datapoints) 118335 +- nan% (1 datapoints) -10.7% waterline=5.9%. REGRESSION
json_recursive_descent_with_filter_uid_issue674 145 +- 1.1% (7 datapoints) 147 +- nan% (1 datapoints) 1.3% -- no change --
json_set_ResultSet.totalResultsAvailable_1_jsonsl-yahoo2_json 115596 +- 6.8% (7 datapoints) 121945 +- nan% (1 datapoints) 5.5% waterline=6.8%. potential IMPROVEMENT
json_set_[0]foo_jsonsl-1 112984 +- 6.3% (7 datapoints) 113626 +- nan% (1 datapoints) 0.6% waterline=6.3%. -- no change --
json_set_[web-app].servlet[0][servlet-name]_bar_json-parser-0000 85828 +- 4.6% (7 datapoints) 84737 +- nan% (1 datapoints) -1.3% -- no change --
json_set_fulldoc_api_replies_q1_google_autocomplete 46446 +- 3.7% (7 datapoints) 46125 +- nan% (1 datapoints) -0.7% -- no change --
json_set_fulldoc_api_replies_q2_gmaps_areatraffic 79042 +- 3.1% (7 datapoints) 72192 +- nan% (1 datapoints) -8.7% REGRESSION
json_set_fulldoc_api_replies_q3_gmaps_passiveassist 40352 +- 1.9% (7 datapoints) 41742 +- nan% (1 datapoints) 3.4% potential IMPROVEMENT
json_set_fulldoc_api_replies_q4_gmaps_assist 101001 +- 6.4% (7 datapoints) 105812 +- nan% (1 datapoints) 4.8% waterline=6.4%. potential IMPROVEMENT
json_set_fulldoc_pass-json-parser-0000 40972 +- 3.1% (7 datapoints) 40972 +- nan% (1 datapoints) 0.0% -- no change --
json_set_fulldoc_pass_100_json 88879 +- 4.6% (7 datapoints) 82635 +- nan% (1 datapoints) -7.0% REGRESSION
json_set_fulldoc_yahoo2 11189 +- 4.7% (7 datapoints) 12182 +- nan% (1 datapoints) 8.9% IMPROVEMENT
json_set_key_empty 161280 +- 5.7% (7 datapoints) 137920 +- nan% (1 datapoints) -14.5% waterline=5.7%. REGRESSION
json_set_message.code_1_jsonsl-yelp_json 117639 +- 4.6% (7 datapoints) 108101 +- nan% (1 datapoints) -8.1% REGRESSION
json_set_num_0 158720 +- 4.7% (7 datapoints) 147054 +- nan% (1 datapoints) -7.3% REGRESSION
json_set_sclr_1_pass_100_json 129863 +- 6.3% (7 datapoints) 125774 +- nan% (1 datapoints) -3.1% waterline=6.3%. potential REGRESSION
json_set_sclr_pass_100_json 131572 +- 5.9% (7 datapoints) 133326 +- nan% (1 datapoints) 1.3% waterline=5.9%. -- no change --
json_vs_hashes_hset_key_simple 152665 +- 5.7% (7 datapoints) 166658 +- nan% (1 datapoints) 9.2% waterline=5.7%. IMPROVEMENT
json_vs_hashes_json.set_key_simple 135130 +- 5.6% (7 datapoints) 131572 +- nan% (1 datapoints) -2.6% waterline=5.6%. -- no change --

@GuyAv46 GuyAv46 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice flow!

Comment thread .github/workflows/benchmark-flow.yml Resolved
@filipecosta90
filipecosta90 merged commit ec661d6 into master Oct 12, 2023
@filipecosta90
filipecosta90 deleted the benchmarks.gha branch October 12, 2023 12:11
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.

2 participants