Stream: git-wasmtime

Topic: wasmtime / issue #5274 bench: benchmark several common WA...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 15 2022 at 22:25):

abrown commented on issue #5274:

cc: @alexcrichton, @pchickey: I would like to add benchmarks for "scan a directory" and "read a file" but I don't know how to do that yet... any pointers to how to use path_open and fd_read the right way?

view this post on Zulip Wasmtime GitHub notifications bot (Nov 15 2022 at 23:03):

pchickey commented on issue #5274:

Not much I can say about using fd_read and path_open from using .wat beyond, read what wasi-libc does to call them and mimic that. There is not a whole lot you can get wrong. fd_readdir is a total nightmare in preview1, but again wasi-libc can show the way.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 16 2022 at 01:02):

abrown commented on issue #5274:

I'm going to merge this as-is and figure out the next scenarios in a future PR.


Last updated: Dec 23 2024 at 13:07 UTC