Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Benchmarks Into CI #215

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RobertJacobsonCDC
Copy link
Collaborator

This WIP PR integrates benchmarks into CI. There are two primary tasks:

  1. Build benchmarks
  2. Run benchmarks and compare to baseline to detect performance regressions

The first is trivial. The second is complicated.

@RobertJacobsonCDC RobertJacobsonCDC force-pushed the RobertJacobsonCDC_194_benchmarks_in_ci branch from f1f4ad5 to aae05d7 Compare February 12, 2025 21:19
Copy link

Benchmark for 4b3fa7b

Click to view benchmark
Test Base PR %
example basic-infection 12.6±0.33ms 12.6±0.53ms 0.00%
example births-deaths 948.6±13.07ms 945.8±11.05ms -0.30%

@RobertJacobsonCDC
Copy link
Collaborator Author

This implementation uses criterion-compare from the GitHub Actions marketplace.

@RobertJacobsonCDC RobertJacobsonCDC changed the title WIP: Integrate Benchmarks Into CI Integrate Benchmarks Into CI Feb 12, 2025
@RobertJacobsonCDC RobertJacobsonCDC self-assigned this Feb 18, 2025
@RobertJacobsonCDC
Copy link
Collaborator Author

Basic reporting of comparison of PR to main branch is complete. For now features beyond this basic functionality will be considered new tasks and put on a new issue.

@RobertJacobsonCDC RobertJacobsonCDC linked an issue Feb 18, 2025 that may be closed by this pull request
@RobertJacobsonCDC RobertJacobsonCDC marked this pull request as ready for review February 18, 2025 15:04
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.

Integrate benchmarking with CI
1 participant