abrown opened PR #5309 from bench-wasi
to main
:
This follows up on #5274 to add several more scenarios with which to benchmark WASI performance:
open-file.wat
: opens and closes a fileread-file.wat
: opens a file, reads 4K bytes from it, then closes itread-dir.wat
: reads a directory's entriesEach benchmark is hand-crafted WAT to more clearly control what WASI calls are made. As with #5274, these modules' sole entry point takes a parameter indicating the number of iterations to run in order to use
criterion
'siter_custom
feature.<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
abrown updated PR #5309 from bench-wasi
to main
.
alexcrichton submitted PR review.
abrown updated PR #5309 from bench-wasi
to main
.
abrown has marked PR #5309 as ready for review.
abrown has enabled auto merge for PR #5309.
abrown merged PR #5309.
Last updated: Dec 23 2024 at 12:05 UTC