News for hackers. Stuff that matters.
Re:Wasmer 2.0 by methyl on Thursday June 17, 2021 @07:57AM (#27538613)
> If you're new to the Wasmer community, you'll be delighted with the incredible performance that you can achieve with Wasmer 2.0, bringing your Wasm programs and libraries very close to native speeds.

Is there any set of benchmarks comparing Wasmer to native at a larger scale, real-life based examples?

Re:Wasmer 2.0 by jedisct1 on Thursday June 17, 2021 @09:00AM (#27539110)
Re:Wasmer 2.0 by the_duke on Thursday June 17, 2021 @10:38AM (#27540044)
Suggestion: add Deno for the next round. [1]

It would also be great to have a benchmark in there that measures host <-> guest interaction with lots of guest -> host and host -> guest calls.

[1] https://deno.land/manual/getting_started/webassembly

Re:Wasmer 2.0 by jedisct1 on Thursday June 17, 2021 @10:58AM (#27540263)
That’s a good idea, thanks!

Deno is using the V8 engine, so is the performance expected to differ from Node?

Probably not but there’s one way to find out

Re:Wasmer 2.0 by the_duke on Thursday June 17, 2021 @11:03AM (#27540326)
Probably not, no. It would just be interesting to see if the wrapper code makes a difference.

I actually started working on a benchmark suite for various runtimes a while ago. I didn't get too far in, maybe you'd like to collaborate?

As wasm grows it would be great to have a comprehensive set of benchmarks to refer to.

Especially also for things that are unique to Webassembly, like reference types, cross calls, module instantiation time, ...