Experimental browser for the Atmosphere
Benchmarking a tiny Sobel image filter with JS + WASM. Zig is currently winning in performance, and about as small as JS (or perhaps smaller, in some applications). ⚡️ Rust code is in the repo but haven't added it to the benchmark yet; PRs welcome! → https://github.com/mattdesl/wasm-bench
Jul 24, 2023, 11:55 AM
{ "uri": "at://did:plc:zdlvtfvvdcdccmqlxe2s7xvh/app.bsky.feed.post/3k3bd7lqawj2r", "cid": "bafyreiekmnlfribu2e5r47om57xgqyo4tft45qnrltc3ugypnvalxltni4", "value": { "text": "Benchmarking a tiny Sobel image filter with JS + WASM. Zig is currently winning in performance, and about as small as JS (or perhaps smaller, in some applications). ⚡️\n\nRust code is in the repo but haven't added it to the benchmark yet; PRs welcome!\n\n→ https://github.com/mattdesl/wasm-bench", "$type": "app.bsky.feed.post", "embed": { "$type": "app.bsky.embed.images", "images": [ { "alt": "", "image": { "$type": "blob", "ref": { "$link": "bafkreigjnuguy5yq7yu5ztmsmrmofxothe7snwahrwcf5ivte5yfowmy5a" }, "mimeType": "image/jpeg", "size": 108482 } } ] }, "langs": [ "en", "es", "ja" ], "facets": [ { "index": { "byteEnd": 297, "byteStart": 259 }, "features": [ { "uri": "https://github.com/mattdesl/wasm-bench", "$type": "app.bsky.richtext.facet#link" } ] } ], "createdAt": "2023-07-24T11:55:39.989Z" } }