Skip to content

impl(ci): Automate performance benchmark comparison table generation#1596

Open
Anshu6250 wants to merge 5 commits into
mainfrom
bench_pipeline_update
Open

impl(ci): Automate performance benchmark comparison table generation#1596
Anshu6250 wants to merge 5 commits into
mainfrom
bench_pipeline_update

Conversation

@Anshu6250

@Anshu6250 Anshu6250 commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

This PR adds a new job (windows-benchmark-results) to the Windows CI pipeline to automatically compile and compare ODBC driver performance benchmarks. It automatically downloads GTest benchmark logs from Google Cloud Storage for the Existing Driver, the Google Driver (Current Branch), and the Google Driver (Main Branch).

Once downloaded, the job compares the results and generates a unified summary file by parsing the output to extract specific test cases and execution times (in milliseconds) from the raw logs, and finally uploads the generated file as a workflow artifact (benchmark-summary-table).

pipeline- link
You can view the final result file here: link

@Anshu6250 Anshu6250 changed the title Bench pipeline update impl(ci): Automate performance benchmark comparison table generation Jul 20, 2026
@Anshu6250
Anshu6250 force-pushed the bench_pipeline_update branch 2 times, most recently from 5541fba to 5820c74 Compare July 20, 2026 06:15
@shivamd-gpartner
shivamd-gpartner marked this pull request as ready for review July 20, 2026 08:55
@shivamd-gpartner
shivamd-gpartner requested a review from a team as a code owner July 20, 2026 08:55
run: |
mkdir -p benchmark_results

gcloud storage cp gs://bq-dev-tools-testing-drivers/odbc-perf/${{ github.ref_name }}/results/performance_benchmark_results_BqDriver.txt ./benchmark_results/current_bq.txt || true

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.

this seems to be copying the result from some other branch?


gcloud storage cp gs://bq-dev-tools-testing-drivers/odbc-perf/${{ github.ref_name }}/results/performance_benchmark_results_Core.txt ./benchmark_results/current_core.txt || true

gcloud storage cp gs://bq-dev-tools-testing-drivers/odbc-perf/main/results/performance_benchmark_results_BqDriver.txt ./benchmark_results/main_bq.txt || true

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.

this seems to be copying the result from some other branch instead of from main branch result

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants