-
Notifications
You must be signed in to change notification settings - Fork 375
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
[chain] Upload and display benchmarks for the gno monorepo #2432
Comments
Where are benchmarks results supposed to be published at? Was this URL working:https://gnolang.github.io/benchmarks/ |
I think it's working now, just showing 404 because there is no benchmark data |
We can host it anywhere you think it makes sense |
Nice. But I have seen that benchmark related workflows are actually disabled / or not working. |
I have no hint where the dedicated Runner is at, I expected everything running in Github, but maybe these tasks are too heavy to run within Github's runners. |
## Things changes * using new action plugin: [benchmark-action/github-action-benchmark](https://github.com/benchmark-action/github-action-benchmark) * previous library was [bobheadxi/gobenchdata](https://github.com/bobheadxi/gobenchdata) * creating alerts when benchmarks results are worse ## Things unchanged * Pushing benchmarks results onto a local branch, then `benchmark` repository will fetch from this into his own `gh-pages` * direct push is possible but requires PAT token to be used ## Things TODO (before merging) * restore benchmarks actions which were manually disabled directly in the `Action` menu in Github * drop and recreate branch `gh-repository` * fix benchmark tests in Gno repo (see #2711 and #2714) * Evaluate alternative configuration possibilities [here](https://github.com/benchmark-action/github-action-benchmark?tab=readme-ov-file#action-inputs) ## Things to consider (performance) * Should solve #2432 * are resources available in the Github basic runners enough for benchmarks? * are multiple runs spawned in the same hw conditions? * consider using [Larger Runner](https://docs.github.com/en/actions/using-github-hosted-runners/using-larger-runners/managing-larger-runners#adding-a-larger-runner-to-an-organization) or restoring a [Self-Hosted Runner](https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners#adding-a-self-hosted-runner-to-an-organization)
Description
This task concerns better utilizing the benchmarking workflows added in by @ajnavarro:
https://github.com/gnolang/gno/tree/master/.benchmarks
Currently, the workflows for the benchmarks require a dedicated machine (runner) to trigger and upload benchmark data on GH pages.
Definition of done:
The text was updated successfully, but these errors were encountered: