← Back

Wasm pipeline vs Browser native decoding Benchmark on JXL images

In this benchmark, we compare the performance of decoding a JXL image (zoltan-tasi-CLJeQCr2F_A-unsplash.jxl) using a native browser implementation (where supported) and a Wasm-based-JXL decoding pipeline

Webassembly JXL image preview :

We decode a jxl file zoltan-tasi-CLJeQCr2F_A-unsplash.jxl using the universal img tag :

<img is="universal-img"
     src="../test_sequences/zoltan-tasi-CLJeQCr2F_A-unsplash.jxl"
     using="solver_1"
     with="libjxl_1">
</img>

Here is the decoding performance :

Running benchmark for native...

Native-broswer-based decoding JXL image preview :

We decode a jxl file zoltan-tasi-CLJeQCr2F_A-unsplash.jxl using native decoding when available :

<img src="../test_sequences/zoltan-tasi-CLJeQCr2F_A-unsplash.jxl" /> 

Benchmark result :

Running benchmark for native...

Specifications :

The specifications of the test sequence are :

Format jxl
FileSize 420 kB
Dimension 896 x 1080 pixels
Color sRGB
Precision 32 bits