Make images smaller using best-in-class codecs, right in the browser.
JavaScript
Update benchmark flags
Surma36f86385a29d
diff --git a/codecs/rotate/package.json b/codecs/rotate/package.jsonindex 1bf9073b..5e26e8d7 100644--- a/codecs/rotate/package.json+++ b/codecs/rotate/package.json@@ -5,7 +5,7 @@"build": "docker run --rm -v $(pwd):/src squoosh-rotate ./build.sh","benchmark": "echo File size after gzip && npm run benchmark:filesize && echo Baseline && npm run benchmark:baseline && echo Optimizing && npm run benchmark:optimizing","benchmark:baseline": "v8 --liftoff --no-wasm-tier-up --no-opt ./benchmark.js",- "benchmark:optimizing": "v8 ./benchmark.js",+ "benchmark:optimizing": "v8 --no-liftoff --no-wasm-tier-up ./benchmark.js","benchmark:filesize": "cat rotate.wasm | gzip -c9n | wc -c"}}diff --git a/codecs/rotate/rotate.wasm b/codecs/rotate/rotate.wasmindex c897ad01..3447e487 100755Binary files a/codecs/rotate/rotate.wasm and b/codecs/rotate/rotate.wasm differ