4 ms·
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
by squeaky-clean 4y 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.
- undefined_void 4y agonope, this is after those updates.
- squeaky-clean 4y agoYou 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/4b5c9acc72908ba22e3f708c4df59c6316e4846b https://github.com/oven-sh/bun/commit/4b5c9acc72908ba22e3f70...
- undefined_void 4y agothe homepage links to https://github.com/oven-sh/bun/blob/e55d6eed2bf9a5db30250fdd8b9be063dc949054/bench/sqlite/deno.js https://github.com/oven-sh/bun/blob/e55d6eed2bf9a5db30250fdd... which is clearly using Wasm
- squeaky-clean 4y agoThat 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.
- deleted 4y ago[deleted]