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.9%9040.1%10045.0%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: PNG - Quality: 100

OpenBenchmarking.org metrics for this test profile configuration based on 515 public results since 1 March 2024 with the latest data as of 13 November 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
5
41.7 +/- 0.8
98th
3
34.7 +/- 0.3
96th
10
33.9 +/- 0.2
96th
3
33.8 +/- 0.1
89th
8
31.0 +/- 0.1
85th
3
29.5 +/- 0.1
85th
3
29.4 +/- 0.1
82nd
8
28.5 +/- 1.1
81st
9
28.1 +/- 0.4
79th
5
27.7 +/- 0.1
Mid-Tier
75th
< 27.3
75th
3
27.2 +/- 0.1
71st
3
26.3 +/- 0.1
71st
8
26.2 +/- 0.8
68th
4
23.1 +/- 0.3
65th
4
22.2 +/- 0.6
62nd
6
20.8 +/- 0.2
55th
10
18.4 +/- 0.8
Median
50th
16.7
47th
10
15.1 +/- 0.2
45th
3
14.9 +/- 0.1
43rd
5
14.0 +/- 1.7
41st
6
13.5 +/- 0.3
40th
7
13.3 +/- 0.5
38th
4
13.0 +/- 0.1
36th
6
12.9 +/- 0.4
35th
3
12.9 +/- 0.1
35th
7
12.8 +/- 0.2
32nd
8
12.5 +/- 0.7
30th
5
12.1 +/- 0.4
27th
4
11.9 +/- 0.4
Low-Tier
25th
< 11.7
25th
6
11.5 +/- 0.1
23rd
11
11.3 +/- 0.7
20th
3
10.1 +/- 0.1
13th
8
7.9 +/- 0.2
10th
4
7.0 +/- 1.0
9th
4
6.5 +/- 0.2
5th
7
4.5 +/- 0.1
4th
5
4.3 +/- 0.1
2nd
4
3.1 +/- 0.1
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Input: PNG - Quality: 100515 Results Range From 0 To 49 MP/s51015202530354045505560306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (JPEG-XL libjxl 0.10.1 - Input: PNG - Quality: 100) has an average run-time of 2 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: PNG - Quality: 100Run-Time3691215Min: 1 / Avg: 1.63 / Max: 7

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does 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: PNG - Quality: 1004681012141624321.783.565.347.128.9

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
arm64
Apple M4
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V2 72-Core, AmpereOne 192-Core, Apple

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 628 Benchmark Results

ARMv8 Cortex-A72 - Raspberry Pi 400 Rev 1.0 - Broadcom BCM2711

Debian 12 - 6.6.63-v8+ - X Server 1.21.1.7

1 System - 628 Benchmark Results

22 Systems - 7 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-480.el9.x86_64 - X Server

4 Systems - 237 Benchmark Results

Apple M4 - Apple Mac mini - 16GB

macOS 15.1 - 24.1.0 - GCC 16.0.0 + Clang 16.0.0 + Xcode 16.1

8 Systems - 235 Benchmark Results

AMD Ryzen 7 9700X 8-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

19 Systems - 2903 Benchmark Results

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

1 System - 4 Benchmark Results

Unknown - SDM845 - 8GB

postmarketOS v24.06 - 6.9.0-sdm845 - GNOME Shell

12 Systems - 2543 Benchmark Results

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

3 Systems - 413 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

18 Systems - 442 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.0

3 Systems - 17 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 12 - 6.1.0-11-amd64 - X Server

4 Systems - 158 Benchmark Results

AMD Ryzen Threadripper PRO 5965WX 24-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell 45.0

2 Systems - 552 Benchmark Results

2 Systems - 71 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO ThinkPad X13 Gen 3 21CM0001US - AMD 17h-19h PCIe Root Complex

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

76 Systems - 921 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P - Intel Device 7a27

SystemRescue 10.01 - 6.1.30-1-lts - X Server 1.21.1.8

2 Systems - 69 Benchmark Results

AMD Ryzen 5 8500G - ASRock B650 Pro RS - AMD Device 14e8

Ubuntu 23.10 - 6.7.3-060703-generic - GNOME Shell 45.2

2 Systems - 56 Benchmark Results

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

Ubuntu 23.10 - 6.8.0-060800rc1daily20240126-generic - GNOME Shell 45.2

2 Systems - 100 Benchmark Results

AMD Ryzen 7 PRO 5850U - LENOVO ThinkPad T14s Gen 2a 20XF004WUS - AMD Renoir

Fedora Linux 39 - 6.5.8-300.fc39.x86_64 - GNOME Shell 45.0

3 Systems - 17 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 6.5.0-18-generic - GNOME Shell 42.2

3 Systems - 119 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell

Find More Test Results