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

Run benchmarks in Github Actions on a standalone EC2 instance #525

Closed
2 tasks
alexklibisz opened this issue Jun 7, 2023 · 1 comment
Closed
2 tasks

Comments

@alexklibisz
Copy link
Owner

Background

I recently switched to an M1 laptop and running benchmarks on this is making me question everything I know about computers. I've heard similar from others, so I don't think I'm crazy. I'd like to setup the benchmarks to run in a Github Actions workflow, on a standalone EC2 instance.

It should use a standalone EC2 instance so that the results are consistent. In the past I've tried benchmarking on Github Actions but found the results extremely noisy, likely due to noisy neighbors or mixed underlying hardware on Github's runners. I think I should be able to use this action to spin up and tear down the runner. The workflow should have 3 steps: start the EC2 runner, run the benchmark tasks on the EC2 runner, terminate the runner.

Finally, the workflow should have an optional checkbox input. If checked, the workflow will make a draft PR with the results.

Deliverables

  • Benchmark workflow running on a standalone EC2 runner
  • Make a PR to main with new results if the checkbox input is checked

Related Issues

No response

@alexklibisz
Copy link
Owner Author

Decided to just stand up my own personal EC2 instance and use that for benchmarks. Much simpler. Re-generated benchmark results in #587

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

No branches or pull requests

1 participant