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
benchmark: Updates wazero to 1.0.0-beta.2 #85
Conversation
Strangely, Zig is falling in the test. I need to investigate. That might be two reasons: A) karmem issue: bugs on the generated Zig code trying to read out-of-bounds contents. That issue doesn't exists in the previous version. Some quick investigation:
I'll try to run some |
Using
That is the change which causes the Zig test to fail. |
@inkeliz one major change in that PR is that caching exported functions is no longer supported, could that be the issue? Meanwhile, we'll look deeper. |
Well, I'm using the ExportedFunctiosn with: karmem/benchmark/main_wasi_wazero.go Lines 106 to 109 in a75e2f0
So, if that is "cache", that might be the reason. I'm re-using the same karmem/benchmark/main_wasi_wazero.go Lines 142 to 148 in a75e2f0
|
same pattern in trivy, too. We need to make a call of whether to make functions lazy by default or have projects like these change their calling pattern. Meanwhile, it could be not the root cause of the memory issue. |
I try it again, using:
Seems to work. So, the |
However, I don't think the concurrency is the issue. I also tried to include |
thanks for the help @inkeliz! |
Thanks for you patience @inkeliz, could you try the fix here? tetratelabs/wazero#783 |
@mathetake I added you with write. can you try on my branch? |
Cool will do |
It's working now. 😎 |
cool! |
This updates [wazero](https://wazero.io) to 1.0.0-beta.2 Future betas will release at least once each month until 1.0 in February 2023. Note: [Release notes](https://github.com/tetratelabs/wazero/releases) will be posted in the next day or two. Meanwhile, we've also opened a [gophers slack](https://gophers.slack.com/) `#wazero` channel for support, updates and conversation! Note: You may need an [invite](https://invite.slack.golangbridge.org/) to join gophers. Signed-off-by: Adrian Cole <adrian@tetrate.io>
1d5c1c8
to
972cdbe
Compare
ok now 1.0.0-beta.2 hope all good! |
This updates wazero to 1.0.0-beta.2
Future betas will release at least once each month until 1.0 in February 2023.
Note: Release notes will be posted in the next day or two.
Meanwhile, we've also opened a gophers slack
#wazero
channel for support, updates and conversation! Note: You may need an invite to join gophers.