Hacker News new | ask | show | jobs
by squeaky-clean 1342 days ago
Looks like the sqlite bench complaint was fixed 5 days ago and the react-hello benchmark was fixed earlier today (before the creation time of this gist).

I don't know if the suggested FFI benchmark is fair, as the change would no longer be simulating doing many ffi_hashes on many byteArrays, instead it simulates doing many ffi_hashes on the same byteArray over and over and benefits from caching the type casting necessary by deno.

Replace the const byte array with a randomly generated list (or real bytes you'd want to hash) of many passed to the benchmark as a parameter and the benchmark and the deno one loses the advantage from the cached type cast.

1 comments

nope, this is after those updates.
You mean the fixes aren't applied? The sqlite looks like it changed to the sqlite3 version 5 days ago

https://github.com/oven-sh/bun/commit/4b5c9acc72908ba22e3f70...

the homepage links to https://github.com/oven-sh/bun/blob/e55d6eed2bf9a5db30250fdd... which is clearly using Wasm
That is pretty misleading then and they should update the homepage, I was just following the file's linked in the gist which seem to be updated.