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.042K4K6K8K10K
* 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 June 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 1,693 public results since 24 April 2021 with the latest data as of 13 June 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)
100th
10
329 +/- 3
98th
3
319 +/- 2
97th
22
317 +/- 5
95th
15
294 +/- 21
94th
5
289 +/- 11
93rd
3
282 +/- 2
89th
11
275 +/- 34
89th
3
274 +/- 6
86th
22
269 +/- 8
85th
13
267 +/- 12
84th
33
264 +/- 13
80th
10
257 +/- 7
79th
17
255 +/- 8
79th
17
253 +/- 9
76th
5
248 +/- 5
Mid-Tier
75th
< 248
75th
13
247 +/- 7
74th
73
244 +/- 8
74th
9
244 +/- 11
70th
18
236 +/- 7
70th
13
236 +/- 4
68th
3
230 +/- 17
67th
3
225 +/- 1
66th
3
223 +/- 2
66th
10
223 +/- 5
64th
3
220 +/- 2
62nd
7
218 +/- 1
61st
3
216 +/- 1
59th
7
213 +/- 1
59th
11
213 +/- 8
58th
19
212 +/- 3
56th
18
210 +/- 8
56th
7
209 +/- 7
55th
3
206 +/- 1
54th
22
205 +/- 2
52nd
4
201 +/- 1
51st
9
199 +/- 2
Median
50th
199
50th
8
198 +/- 5
48th
6
194 +/- 11
48th
6
194 +/- 10
47th
8
189 +/- 6
45th
30
185 +/- 2
44th
6
183 +/- 2
43rd
4
180 +/- 1
42nd
5
179 +/- 1
42nd
5
179 +/- 1
40th
7
177 +/- 3
40th
7
176 +/- 5
37th
5
174 +/- 1
36th
4
173 +/- 1
35th
4
172 +/- 1
34th
3
171 +/- 1
34th
5
171 +/- 7
30th
5
164 +/- 1
28th
3
160 +/- 1
27th
5
158 +/- 4
26th
3
156 +/- 1
Low-Tier
25th
< 154
20th
4
146 +/- 1
11th
3
121 +/- 11
11th
6
118 +/- 8
OpenBenchmarking.orgDistribution Of Public Results - Test: Decompression Throughput1686 Results Range From 14 To 345 Megapixels/sec143250688610412214015817619421223024826628430232033835650100150200250

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.14 / 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.6751.352.0252.73.375

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
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 M1, Apple M2, Phytium D2000, Rockchip ARMv8 Cortex-A76 4-Core, phytium FT1500a

Recent Test Results

OpenBenchmarking.org Results Compare

4 Systems - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

3 Systems - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

1 System - 377 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASUS ROG STRIX X370-F GAMING - AMD Starship

Linuxmint 21.3 - 6.5.0-35-lowlatency - X Server 1.21.1.4

1 System - 1 Benchmark Result

2 x Intel Xeon E5-2680 v3 - Dell 0CN7X8 - Intel Xeon E7 v3

Ubuntu 22.04 - 5.15.0-82-generic - GNOME Shell 42.9

1 System - 1 Benchmark Result

2 x Intel Xeon E5-2680 v3 - Dell 0CN7X8 - Intel Xeon E7 v3

Ubuntu 22.04 - 5.15.0-82-generic - GNOME Shell 42.9

1 System - 1 Benchmark Result

2 x Intel Xeon E5-2680 v3 - Dell 0CN7X8 - Intel Xeon E7 v3

Ubuntu 22.04 - 5.15.0-82-generic - GNOME Shell 42.9

2 Systems - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

1 System - 1 Benchmark Result

2 x Intel Xeon E5-2680 v3 - Dell 0CN7X8 - Intel Xeon E7 v3

Ubuntu 22.04 - 5.15.0-82-generic - GNOME Shell 42.9

1 System - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

1 System - 120 Benchmark Results

AMD Ryzen 5 3400G - HP 8643 - 2 x 16384 MB 2667MHz Unknown

Microsoft Windows 11 Home Build 22631 - 10.0.22631.3672 - 31.0.21912.14

1 System - 40 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

14 Systems - 18 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.2-sven - Xfce

1 System - 52 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.2-sven - Xfce

1 System - 40 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.2-sven - Xfce

1 System - 39 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.2-sven - Xfce

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 50 Benchmark Results

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

Debian 11 - 5.10.92-v8+ - 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

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 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

4 Systems - 82 Benchmark Results

Intel Core i5-6500 - Gigabyte Z170M-D3H-CF - Intel Xeon E3-1200 v5

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

11 Systems - 119 Benchmark Results

AMD Ryzen 5 5600G - ASUS TUF GAMING B550M-PLUS - AMD Renoir

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

9 Systems - 146 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

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

3 Systems - 50 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

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

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

Find More Test Results