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.102K4K6K8K10K
* 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 15 October 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,049 public results since 24 April 2021 with the latest data as of 14 October 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
8
322 +/- 3
95th
25
315 +/- 10
93rd
7
309 +/- 5
92nd
9
303 +/- 6
91st
15
294 +/- 21
91st
3
291 +/- 7
90th
7
288 +/- 9
89th
8
285 +/- 3
88th
14
283 +/- 7
84th
3
274 +/- 6
83rd
18
272 +/- 13
82nd
22
269 +/- 8
81st
7
267 +/- 2
80th
33
264 +/- 13
76th
10
257 +/- 7
76th
17
255 +/- 8
76th
7
254 +/- 5
76th
18
254 +/- 9
Mid-Tier
75th
< 253
74th
8
251 +/- 2
73rd
5
248 +/- 5
72nd
13
247 +/- 7
71st
73
244 +/- 8
71st
9
244 +/- 11
69th
7
240 +/- 4
67th
18
236 +/- 7
67th
13
236 +/- 4
66th
3
230 +/- 17
64th
3
225 +/- 1
64th
3
223 +/- 2
64th
10
223 +/- 5
62nd
3
220 +/- 2
60th
7
218 +/- 1
59th
3
216 +/- 1
57th
8
213 +/- 1
57th
11
213 +/- 8
56th
19
212 +/- 3
55th
18
210 +/- 8
54th
8
209 +/- 7
53rd
3
206 +/- 1
53rd
22
205 +/- 2
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
31st
3
160 +/- 1
30th
5
158 +/- 4
30th
3
156 +/- 1
Low-Tier
25th
< 150
23rd
4
146 +/- 1
13th
3
121 +/- 11
13th
6
118 +/- 8
OpenBenchmarking.orgDistribution Of Public Results - Test: Decompression Throughput2047 Results Range From 14 To 359 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
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

8 Systems - 102 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - ASRock B450M-HDV R4.0 - AMD 17h

Linuxmint 22 - 6.8.0-45-generic - Cinnamon 6.2.9

30 Systems - 1 Benchmark Result

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

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

3 Systems - 4 Benchmark Results

Intel Pentium M - Dell 0H8384 - Intel Mobile 915GM

Arch rolling - 5.15.90-1.0-lts - Xfce 4.18

1 System - 27 Benchmark Results

2 x Intel Xeon Platinum 8269CY - Alibaba Cloud ECS - Intel 440FX 82441FX PMC

Rocky Linux 9.4 - 5.14.0-362.24.1.el9_3.0.1.x86_64 - GCC 11.4.1 20231218

1 System - 26 Benchmark Results

2 x Intel Xeon Platinum 8269CY - Alibaba Cloud ECS - Intel 440FX 82441FX PMC

Rocky Linux 9.4 - 5.14.0-362.24.1.el9_3.0.1.x86_64 - GCC 11.4.1 20231218

1 System - 27 Benchmark Results

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

Rocky Linux 9.4 - 5.14.0-362.24.1.el9_3.0.1.x86_64 - GCC 11.4.1 20231218

1 System - 26 Benchmark Results

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

Rocky Linux 9.4 - 5.14.0-362.24.1.el9_3.0.1.x86_64 - GCC 11.4.1 20231218

1 System - 27 Benchmark Results

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

Rocky Linux 9.4 - 5.14.0-362.24.1.el9_3.0.1.x86_64 - GCC 11.4.1 20231218

1 System - 26 Benchmark Results

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

Rocky Linux 9.4 - 5.14.0-362.24.1.el9_3.0.1.x86_64 - GCC 11.4.1 20231218

1 System - 38 Benchmark Results

2 x Intel Xeon Platinum 8375C - Amazon EC2 m6i.24xlarge - 2 x 192 GB DDR4-3200MT

Rocky Linux 9.4 - 5.14.0-427.33.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 37 Benchmark Results

2 x Intel Xeon Platinum 8375C - Amazon EC2 m6i.24xlarge - 2 x 192 GB DDR4-3200MT

Rocky Linux 9.4 - 5.14.0-427.33.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 38 Benchmark Results

2 x Intel Xeon Platinum 8488C - Amazon EC2 m7i.48xlarge - 2 x 384 GB DDR5-4800MT

Rocky Linux 9.4 - 5.14.0-427.28.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 37 Benchmark Results

2 x Intel Xeon Platinum 8488C - Amazon EC2 m7i.48xlarge - 2 x 384 GB DDR5-4800MT

Rocky Linux 9.4 - 5.14.0-427.28.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 38 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 m7i.24xlarge - 1 x 384 GB DDR5-4800MT

Rocky Linux 9.4 - 5.14.0-427.28.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 37 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 m7i.24xlarge - 1 x 384 GB DDR5-4800MT

Rocky Linux 9.4 - 5.14.0-427.28.1.el9_4.x86_64 - GCC 11.4.1 20231218

Most Popular Test Results

OpenBenchmarking.org Results Compare

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 - 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

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

16 Systems - 333 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

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

AMD Ryzen 5 5600X 6-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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 i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

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

3 Systems - 164 Benchmark Results

Intel Xeon E5-2609 v4 - MSI X99A RAIDER - Intel Xeon E7 v4

Ubuntu 20.04 - 5.9.0-050900rc6daily20200926-generic - GNOME Shell 3.36.2

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

9 Systems - 146 Benchmark Results

Intel Core i5-12600K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

Ubuntu 21.10 - 5.15.0-051500rc6daily20211023-generic - GNOME Shell 40.5

Find More Test Results