jSquash icon indicating copy to clipboard operation
jSquash copied to clipboard

Create a reference decode speed benchmark page

Open jamsinclair opened this issue 1 year ago • 1 comments

Inspiration came from recent references to decode speeds in #44 and #43.

We could likely create a simple benchmark script and HTML page that renders the results. This library is not focused on speed, but it would be convenient to compare speeds between decoding with browser image and canvas APIs vs the WASM decode speed.

jamsinclair avatar Jan 07 '24 08:01 jamsinclair

When making this I would use OffscreenCanvas for the VanillaJS side of the benchmark, as I have found using it tends to have slightly faster results.

CodeF53 avatar Jan 09 '24 16:01 CodeF53