adamrk opened PR #14961 from adamrk:abk/p3-http-api-benches to bytecodealliance:main:
Add a benchmark for each of the APIs
request.new,response.consume-bodyorclient.send. These are the most expensive calls made by an http proxy and so are useful to benchmark on their own.The benchmarks are implemented by a cli Rust component which takes the API name and
iterscount as arguments. It then times itself calling the APIiterstimes and prints the total time to stdout (in ns).<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
adamrk removed the review request for wasmtime-wasi-reviewers from PR #14961.
adamrk requested rvolosatovs for a review on PR #14961.
adamrk requested wasmtime-wasi-reviewers for a review on PR #14961.
adamrk removed the review request for wasmtime-core-reviewers from PR #14961.
adamrk requested wasmtime-core-reviewers for a review on PR #14961.
adamrk requested pchickey for a review on PR #14961.
adamrk commented on PR #14961:
Errors are because we ensure each
test-programhas an actual test, and this introduces one used just for benchmarking. I'll figure out what to do for that.
adamrk updated PR #14961.
:thumbs_up: pchickey submitted PR review.
adamrk added PR #14961 wasi-http: Add benchmarks for individual wasi:http p3 APIs to the merge queue.
:check: adamrk merged PR #14961.
adamrk removed PR #14961 wasi-http: Add benchmarks for individual wasi:http p3 APIs from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC