JPEG-XL libjxl

The JPEG XL Image Coding System is designed to provide next-generation JPEG image capabilities with JPEG XL offering better image quality and compression over legacy JPEG. This test profile is currently focused on the multi-threaded JPEG XL image encode performance using the reference libjxl library.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark jpegxl.

Project Site

jpegxl.info

Source Repository

github.com

Test Created

11 February 2021

Last Updated

1 March 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Test Dependencies

C/C++ Compiler Toolchain + JPEG Library + PNG Library + CMake + Curl

Accolades

60k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsJPEG-XL libjxl Popularity Statisticspts/jpegxl2021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.022024.042024.062024.082024.102024.124K8K12K16K20K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 20 December 2024.
JPEG50.0%PNG50.0%Input Option PopularityOpenBenchmarking.org
8014.8%9040.1%10045.1%Quality Option PopularityOpenBenchmarking.org

Revision History

pts/jpegxl-1.6.0   [View Source]   Fri, 01 Mar 2024 14:54:05 GMT
Update against v0.10.1 upstream.

pts/jpegxl-1.5.0   [View Source]   Sat, 15 Oct 2022 05:53:54 GMT
Update against libjxl 0.7 upstream.

pts/jpegxl-1.4.0   [View Source]   Thu, 04 Nov 2021 14:09:36 GMT
Update against libjxl 0.6.1 upstream, also add Windows support now that there are official Windows binaries. Closes: https://github.com/phoronix-test-suite/test-profiles/issues/211

pts/jpegxl-1.3.0   [View Source]   Wed, 08 Sep 2021 09:08:42 GMT
Update against v0.5 upstream.

pts/jpegxl-1.2.0   [View Source]   Fri, 12 Mar 2021 07:11:13 GMT
Update against JPEG XL 0.3.3 upstream.

pts/jpegxl-1.1.1   [View Source]   Sat, 13 Feb 2021 10:58:33 GMT
Add curl as possible dependency due to the deps.sh using it to download dependencies.

pts/jpegxl-1.1.0   [View Source]   Fri, 12 Feb 2021 09:34:21 GMT
Add option of PNG and JPEG input files.

pts/jpegxl-1.0.1   [View Source]   Thu, 11 Feb 2021 16:14:17 GMT
Add Brotli as a system dependency.

pts/jpegxl-1.0.0   [View Source]   Thu, 11 Feb 2021 16:10:28 GMT
Initial commit of JPEG XL encode benchmark.

Suites Using This Test

Imaging

Creator Workloads


Performance Metrics

Analyze Test Configuration:

JPEG-XL libjxl 0.10.1

Input: JPEG - Quality: 80

OpenBenchmarking.org metrics for this test profile configuration based on 170 public results since 1 March 2024 with the latest data as of 11 December 2024.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
MP/s (Average)
100th
3
64.4 +/- 0.1
99th
3
54.2 +/- 1.0
96th
4
51.7 +/- 1.1
86th
3
41.7 +/- 1.9
79th
5
34.4 +/- 0.2
Mid-Tier
75th
< 33.4
73rd
3
32.4 +/- 0.5
71st
3
31.8 +/- 0.5
70th
4
31.3 +/- 1.5
67th
3
30.2 +/- 0.2
59th
4
26.9 +/- 0.6
59th
3
26.4 +/- 0.1
56th
4
26.1 +/- 0.1
51st
3
24.1 +/- 0.2
Median
50th
23.9
50th
7
23.7 +/- 0.5
47th
3
22.3 +/- 0.1
45th
4
20.3 +/- 0.4
43rd
3
20.1 +/- 0.2
40th
4
19.8 +/- 0.2
37th
3
19.0 +/- 0.2
34th
7
18.5 +/- 0.6
28th
4
16.8 +/- 0.1
Low-Tier
25th
< 16.1
23rd
3
15.9 +/- 0.2
21st
3
15.6 +/- 0.1
21st
4
15.4 +/- 1.3
17th
6
12.8 +/- 0.2
14th
4
12.7 +/- 0.1
11th
4
12.5 +/- 0.1
4th
4
8.4 +/- 0.4
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Input: JPEG - Quality: 80169 Results Range From 0 To 65 MP/s612182430364248546066721020304050

Based on OpenBenchmarking.org data, the selected test / test configuration (JPEG-XL libjxl 0.10.1 - Input: JPEG - Quality: 80) has an average run-time of 7 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkInput: JPEG - Quality: 80Run-Time510152025Min: 2 / Avg: 7.2 / Max: 18

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.6%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsInput: JPEG - Quality: 80Deviation246810Min: 0 / Avg: 0.58 / Max: 4

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseJPEG-XL libjxl CPU Core ScalingInput: JPEG - Quality: 8046816320.77081.54162.31243.08323.854

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
CVTSI2SD MULSD SUBSD DIVSD CVTSS2SD ADDSD CVTSD2SS MOVD MOVDQU MOVDQA MOVAPD UCOMISD COMISD XORPD ANDPD MINSD MAXSD CVTTSD2SI SQRTSD CVTDQ2PS CVTTPS2DQ CVTPS2PD MULPD ADDPD ANDNPD CMPNLESD ORPD PSHUFD PMULUDQ CVTPS2DQ PADDQ PSLLDQ PUNPCKLQDQ PSRLDQ UNPCKLPD PUNPCKHQDQ PSUBQ SHUFPD MOVHPD MOVUPD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PALIGNR PSHUFB PABSD
SSE 4.2 (SSE4_2)
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
PCMPGTQ POPCNT
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VBROADCASTSS VZEROUPPER VBROADCASTF128 VINSERTF128 VPERM2F128 VEXTRACTF128 VPERMILPS VPERMILPD
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPERM2I128 VPBROADCASTD VPERMPS VPERMQ VPBROADCASTQ VPERMD VPBLENDD VINSERTI128 VGATHERDPS VPGATHERDD VEXTRACTI128 VPGATHERDQ VPBROADCASTW VPBROADCASTB VPGATHERQD VPMASKMOVD VPSRLVQ VPGATHERQQ
Advanced Vector Extensions 512 (AVX512)
Used by default on supported hardware.
 
(ZMM REGISTER USE)
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132PS VFMADD231PS VFMADD213SD VFMADD132SD VFMADD132SS VFNMADD132SD VFMADD213PS VFMSUB132PS VFMADD231SS VFMADD213SS VFMSUB231PS VFMSUB132SS VFNMADD132SS VFNMADD213PS VFNMADD213SS VFNMADD132PS VFMADD231PD VFMADD231SD VFMSUB213PS VFNMADD231PS VFNMSUB132PS VFNMSUB213PS VFMSUB231SD VFMSUB132SD VFNMADD213SD VFNMADD231SS VFNMADD231SD VFMSUB231SS
The test / benchmark does honor compiler flag changes.
Last automated analysis: 17 November 2022

This test profile binary relies on the shared libraries libjxl.so.0.7, libgif.so.7, libjpeg.so.8, libpng16.so.16, libm.so.6, libc.so.6, libbrotlidec.so.1, libbrotlienc.so.1, libz.so.1, libbrotlicommon.so.1.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V2 72-Core, Apple

Recent Test Results

OpenBenchmarking.org Results Compare

17 Systems - 2641 Benchmark Results

16 Systems - 2626 Benchmark Results

16 Systems - 2616 Benchmark Results

15 Systems - 2606 Benchmark Results

1 System - 6 Benchmark Results

AMD Ryzen 7 7800X3D 8-Core - MSI MAG B650 TOMAHAWK WIFI - AMD Device 14d8

cachyos rolling - 6.11.6-2-cachyos - GNOME Shell 47.1

12 Systems - 2543 Benchmark Results

3 Systems - 289 Benchmark Results

2 Systems - 63 Benchmark Results

Apple - Apple MacBook Air - Apple Silicon

VoidLinux rolling - 6.11.2-asahi-6.11.2-1_1 - Sway 1.9

1 System - 63 Benchmark Results

Apple - Apple MacBook Air - Apple Silicon

VoidLinux rolling - 6.11.2-asahi-6.11.2-1_1 - Sway 1.9

6 Systems - 344 Benchmark Results

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 24.10 - 6.11.0-rc6-phx - GNOME Shell

1 System - 62 Benchmark Results

6 x Intel Xeon E5-2640 0 - Intel VMware Virtual 440BX Desktop - Intel 440BX

Debian 12 - 6.1.0-23-amd64 - GCC 12.2.0

1 System - 63 Benchmark Results

Intel Xeon w5-2465X - Dell 0MTVXW - Intel Alder Lake-S PCH

Ubuntu 22.04 - 5.15.0-113-generic - X Server 1.21.1.4

1 System - 63 Benchmark Results

Intel Core i5-12450H - 8GB - 0GB Virtual Disk + 2GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.153.1-microsoft-standard-WSL2 - X Server + Wayland

Find More Test Results