-
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
Benchamark Test panicking for GnoVM #2711
Labels
Comments
cc @thehowl |
zivkovicmilos
added
the
help wanted
Want to contribute? We recommend these issues.
label
Sep 12, 2024
thehowl
added a commit
that referenced
this issue
Sep 13, 2024
7 tasks
thehowl
added a commit
that referenced
this issue
Sep 16, 2024
fixes #2711 The bug in the benchmark was introduced in #2418, which requires to run initStaticBlocks before running Preprocess, in most cases. (in normal scenarios, this is run by PredefineFileSet; however this benchmark is deep into the internals). Related: #2716. cc/ @sw360cab <!-- please provide a detailed description of the changes made in this pull request. --> <details><summary>Contributors' checklist...</summary> - [ ] Added new tests, or not needed, or not feasible - [ ] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [ ] Updated the official documentation or not needed - [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [ ] Added references to related issues and PRs - [ ] Provided any useful hints for running manual tests - [ ] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md). </details>
sw360cab
added a commit
that referenced
this issue
Sep 26, 2024
## 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)
Linear re-opened this, but it's incorrect. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Benchamark Test panicking for GnoVM
Description
There is a test a case in GnoVM package that panics and causes a failure of benchmark tests
Your environment
8bd07c971e7ed9ee94af03d7145f247224683694
Steps to reproduce
go test -benchmem -bench=. -run=^$ ./gnovm/...
the benchmark tests fail
BenchmarkPreprocess
atgnovm/pkg/gnolang/gno_test.go
, the benchmark tests succeedLogs
The text was updated successfully, but these errors were encountered: