libjpeg-turbo tjbench

tjbench is a JPEG decompression/compression benchmark that is part of libjpeg-turbo, a JPEG image codec library optimized for SIMD instructions on modern CPU architectures.

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

Project Site

libjpeg-turbo.org

Test Created

13 January 2017

Last Updated

24 April 2021

Test Maintainer

Michael Larabel 

Test Type

System

Test Dependencies

C/C++ Compiler Toolchain + Yasm Assembler + CMake

Accolades

80k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventslibjpeg-turbo tjbench Popularity Statisticspts/tjbench2017.012017.042017.072017.102018.012018.042018.072018.102019.012019.042019.072019.102020.012020.042020.072020.102021.012021.042021.072021.102022.012022.042022.072022.102023.012023.042023.072023.102024.012024.042024.072024.103K6K9K12K15K
* 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 19 December 2024.

Revision History

pts/tjbench-1.2.0   [View Source]   Sat, 24 Apr 2021 07:09:30 GMT
Update against libjpeg-turbo 2.1 upstream.

pts/tjbench-1.1.1   [View Source]   Sat, 20 Jul 2019 20:30:43 GMT
Fix for the test profile update recently allowing it to work on Windows now too.

pts/tjbench-1.1.0   [View Source]   Wed, 10 Jul 2019 20:49:49 GMT
Update against upstream libjpeg-turbo 2.0.2.

pts/tjbench-1.0.2   [View Source]   Fri, 02 Mar 2018 13:23:34 GMT
Add Windows support, update libjpeg-turbo against upstream 1.5.3 point release.

pts/tjbench-1.0.1   [View Source]   Fri, 13 Jan 2017 14:28:47 GMT
Yasm is needed as a dependency.

pts/tjbench-1.0.0   [View Source]   Fri, 13 Jan 2017 12:51:38 GMT
Initial commit of libjpeg-turbo benchmark.

Suites Using This Test

Imaging

CPU Massive

Creator Workloads

Server CPU Tests

Single-Threaded


Performance Metrics

Analyze Test Configuration:

libjpeg-turbo tjbench 2.1.0

Test: Decompression Throughput

OpenBenchmarking.org metrics for this test profile configuration based on 2,114 public results since 24 April 2021 with the latest data as of 10 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
Megapixels/sec (Average)
96th
6
328 +/- 1
95th
9
322 +/- 3
93rd
25
315 +/- 10
92nd
7
309 +/- 5
91st
9
303 +/- 6
90th
15
294 +/- 21
90th
3
291 +/- 7
89th
7
288 +/- 9
88th
8
285 +/- 3
87th
14
283 +/- 7
83rd
3
274 +/- 6
82nd
18
272 +/- 13
81st
22
269 +/- 8
80th
7
267 +/- 2
79th
33
264 +/- 13
Mid-Tier
75th
< 257
75th
10
257 +/- 7
75th
17
255 +/- 8
75th
18
254 +/- 9
75th
7
254 +/- 5
73rd
8
251 +/- 2
72nd
5
248 +/- 5
71st
13
247 +/- 7
70th
9
244 +/- 11
70th
73
244 +/- 8
68th
7
240 +/- 4
67th
18
236 +/- 7
67th
13
236 +/- 4
65th
3
230 +/- 17
64th
3
225 +/- 1
63rd
3
223 +/- 2
63rd
10
223 +/- 5
61st
3
220 +/- 2
60th
7
218 +/- 1
59th
3
216 +/- 1
56th
11
213 +/- 8
56th
8
213 +/- 1
56th
19
212 +/- 3
54th
8
209 +/- 7
53rd
3
206 +/- 1
52nd
22
205 +/- 2
51st
20
201 +/- 24
51st
4
201 +/- 1
Median
50th
201
50th
9
199 +/- 2
49th
8
198 +/- 5
48th
6
194 +/- 11
48th
6
194 +/- 10
47th
8
189 +/- 6
45th
30
185 +/- 2
45th
6
183 +/- 2
43rd
4
180 +/- 1
42nd
5
179 +/- 1
42nd
5
179 +/- 1
41st
7
177 +/- 3
41st
7
176 +/- 5
39th
5
174 +/- 1
38th
4
173 +/- 1
37th
4
172 +/- 1
36th
3
171 +/- 1
36th
5
171 +/- 7
33rd
5
164 +/- 1
32nd
3
160 +/- 1
31st
5
158 +/- 4
30th
3
156 +/- 1
Low-Tier
25th
< 149
23rd
4
146 +/- 1
14th
3
121 +/- 11
14th
6
118 +/- 8
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Test: Decompression Throughput2114 Results Range From 14 To 364 Megapixels/sec143352719010912814716618520422324226128029931833735637550100150200250

Based on OpenBenchmarking.org data, the selected test / test configuration (libjpeg-turbo tjbench 2.1.0 - Test: Decompression Throughput) 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 BenchmarkTest: Decompression ThroughputRun-Time246810Min: 1 / Avg: 1.02 / Max: 3

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Decompression ThroughputDeviation246810Min: 0 / Avg: 0.13 / Max: 3

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To Baselibjpeg-turbo tjbench CPU Core ScalingTest: Decompression Throughput2468101214162432640.66881.33762.00642.67523.344

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.
 
MOVDQA PMULUDQ PSHUFD MOVD SUBSD ADDSD COMISD MOVDQU PADDQ PSRLDQ CVTSI2SD DIVSD MULSD MOVAPD UCOMISD ANDPD CVTTSD2SI ANDNPD CMPNLESD ORPD PUNPCKLQDQ CVTTPS2DQ CVTDQ2PD MULPD DIVPD CVTPD2PS PSHUFLW MINSD PSLLDQ SHUFPD PSHUFHW MOVNTDQ PUNPCKHQDQ CVTDQ2PS CVTPS2DQ
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

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

 
VPERM2I128 VINSERTI128 VPERMQ VEXTRACTI128 VPBROADCASTD VPBROADCASTQ VPSRLVD VPBROADCASTW VPBROADCASTB VPGATHERDD
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231SD VFMADD132SD VFMADD132PS VFMADD231PS VFNMADD132PS VFMADD132SS VFNMADD231SS VFMSUB132SS VFMSUB231SS VFNMADD132SS VFNMADD132SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 10 May 2021

This test profile binary relies on the shared libraries libturbojpeg.so.0, libm.so.6, libc.so.6.

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)
RISC-V 64-bit
riscv64
SiFive RISC-V
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000LL
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core, ARMv7 rev 1 4-Core
ARMv8 64-bit
arm64
Apple M1, Apple M1 Pro, Apple M4, Apple M4 Max
ARMv8 64-bit
aarch64
AArch64 rev 1, ARMv8, ARMv8 16-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 16-Core, ARMv8 Neoverse-N1 160-Core, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-N2 16-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 16-Core, ARMv8 Neoverse-V1 4-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Apple, Apple M1, Apple M2, Phytium D2000, Rockchip ARMv8 Cortex-A76 4-Core, phytium FT1500a

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 33 Benchmark Results

Apple M1 Pro - Apple MacBook Pro - 32GB

macOS 12.6.1 - 21.6.0 - GCC 14.0.0 + Clang 14.0.0 + Xcode 14.1

1 System - 39 Benchmark Results

Intel Xeon Platinum 8374C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

Rocky Linux 9.5 - 5.14.0-427.40.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 38 Benchmark Results

Intel Xeon Platinum 8374C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

Rocky Linux 9.5 - 5.14.0-427.40.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 39 Benchmark Results

INTEL XEON PLATINUM 8576C - Tencent Cloud CVM - Intel 82G33

Rocky Linux 9.5 - 5.14.0-427.40.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 39 Benchmark Results

Intel Xeon Platinum 8374C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

Rocky Linux 9.5 - 5.14.0-427.40.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 38 Benchmark Results

INTEL XEON PLATINUM 8576C - Tencent Cloud CVM - Intel 82G33

Rocky Linux 9.5 - 5.14.0-427.40.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 38 Benchmark Results

Intel Xeon Platinum 8374C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

Rocky Linux 9.5 - 5.14.0-427.40.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 39 Benchmark Results

INTEL XEON PLATINUM 8576C - Tencent Cloud CVM - Intel 82G33

Rocky Linux 9.5 - 5.14.0-427.40.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 38 Benchmark Results

INTEL XEON PLATINUM 8576C - Tencent Cloud CVM - Intel 82G33

Rocky Linux 9.5 - 5.14.0-427.40.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 39 Benchmark Results

Intel Xeon Platinum 8369B - Alibaba Cloud ECS - Intel 440FX 82441FX PMC

Rocky Linux 9.5 - 5.14.0-427.35.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 38 Benchmark Results

Intel Xeon Platinum 8369B - Alibaba Cloud ECS - Intel 440FX 82441FX PMC

Rocky Linux 9.5 - 5.14.0-427.35.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 27 Benchmark Results

Intel Xeon Platinum 8575C - Alibaba Cloud ECS - Intel 82G33

Rocky Linux 9.5 - 5.14.0-427.35.1.el9_4.x86_64 - GCC 11.5.0 20240719

1 System - 26 Benchmark Results

Intel Xeon Platinum 8575C - Alibaba Cloud ECS - Intel 82G33

Rocky Linux 9.5 - 5.14.0-427.35.1.el9_4.x86_64 - GCC 11.5.0 20240719

2 Systems - 32 Benchmark Results

Apple M4 Max - Apple MacBook Pro - 48GB

macOS 15.1.1 - 24.1.0 - X Server

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

16 Systems - 333 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 10 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Ubuntu 20.04 - 5.9.0-050900rc6daily20200923-generic - GNOME Shell 3.36.4

2 Systems - 50 Benchmark Results

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

Raspbian 11 - 5.10.92-v7l+ - LXDE

3 Systems - 8 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 20.10 - 5.12.0-rc5-nopsf - GNOME Shell 3.38.1

3 Systems - 78 Benchmark Results

AMD Ryzen 7 3700X 8-Core - Gigabyte A320M-S2H-CF - AMD Starship

Ubuntu 20.04 - 5.8.1-050801-generic - GNOME Shell 3.36.4

13 Systems - 333 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

5 Systems - 396 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 23.04 - 6.2.0-060200rc8daily20230213-generic - GNOME Shell 43.2

11 Systems - 119 Benchmark Results

Intel Core i5-9400F - MSI B360M GAMING PLUS - Intel Cannon Lake PCH

Ubuntu 21.10 - 5.16.0-051600rc8-generic - GNOME Shell 40.5

8 Systems - 188 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Ubuntu 20.04 - 5.11.0-051100-generic - GNOME Shell 3.36.4

2 Systems - 354 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Pop 21.04 - 5.11.0-7620-generic - GNOME Shell 3.38.4

11 Systems - 408 Benchmark Results

Intel Core i7-8565U - Dell 0KTW76 - Intel Cannon Point-LP

Ubuntu 22.04 - 5.18.8-051808-generic - GNOME Shell 42.2

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

Find More Test Results