[GODRIVER-3102] Run Go driver microbenchmarks and post comparison in PR comment Created: 22/Jan/24  Updated: 29/Jan/24

Status: Backlog
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Matt Dale Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to GODRIVER-2898 Standardize performance testing infra... Backlog

 Description   

Context

We've had issues with changes creating unintended performance regressions, either in CPU time or memory usage or both. We have benchmarks that can detect performance regressions in many of the cases, but we don't run them regularly or automatically. We should create something similar to the "API Change Report" that runs some or all of the Go driver microbenchmarks and posts a comment with the before/after diff of the PR.

Definition of done

  • Create an automation that runs some or all of the Go driver microbenchmarks before and after the PR change, then uses benchstat to compare the results, and posts the results as a comment on the PR.

Pitfalls

  • Could make the PR build take longer, depending on how many benchmarks we decide to run.


 Comments   
Comment by KeAna Moutra [ 29/Jan/24 ]

If/when there's a Cross Drivers priority for Benchmarking or Performance improvements, we can prioritize this as such

Generated at Thu Feb 08 08:40:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.