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

60k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventslibjpeg-turbo tjbench Popularity Statisticspts/tjbench2017.012017.032017.052017.072017.092017.112018.012018.032018.052018.072018.092018.112019.012019.032019.052019.072019.092019.112020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.0914002800420056007000
* 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 current as of 18 October 2021.

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

CPU Massive

Imaging

Server CPU Tests

Creator Workloads

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 881 public results since 24 April 2021 with the latest data as of 16 October 2021.

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)
95th
28
263 +/- 13
92nd
5
255 +/- 9
91st
9
250 +/- 5
90th
6
242 +/- 1
90th
4
239 +/- 3
87th
3
225 +/- 1
87th
3
223 +/- 2
85th
3
220 +/- 2
83rd
3
216 +/- 1
81st
11
213 +/- 8
80th
12
211 +/- 2
78th
4
205 +/- 9
77th
17
204 +/- 2
Mid-Tier
75th
< 201
75th
3
201 +/- 1
74th
6
199 +/- 2
73rd
5
198 +/- 3
73rd
5
198 +/- 3
71st
4
183 +/- 3
Median
50th
180
45th
4
178 +/- 1
45th
3
178 +/- 1
42nd
4
175 +/- 2
40th
4
173 +/- 6
40th
4
173 +/- 1
39th
4
172 +/- 1
38th
3
171 +/- 1
37th
4
164 +/- 1
35th
420
160 +/- 23
35th
3
160 +/- 1
32nd
4
146 +/- 1
Low-Tier
25th
< 138
OpenBenchmarking.orgDistribution Of Public Results - Test: Decompression Throughput881 Results Range From 43 To 290 Megapixels/sec4359759110712313915517118720321923525126728329960120180240300

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.01 / Max: 2

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 Throughput468121632640.7891.5782.3673.1563.945

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.

Recent Test Results

OpenBenchmarking.org Results Compare

8 Systems - 364 Benchmark Results

2 x AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

3 Systems - 326 Benchmark Results

AMD EPYC 7742 64-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

4 Systems - 318 Benchmark Results

AMD EPYC 7F52 16-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 21.10 - 5.13.0-19-generic - GNOME Shell 40.5

2 Systems - 2 Benchmark Results

AMD Ryzen 7 5700G - ASUS ROG STRIX B550-F GAMING - AMD Renoir Root Complex

Ubuntu 20.04 - 5.11.0-37-generic - GNOME Shell 3.36.9

5 Systems - 67 Benchmark Results

ARMv7 Cortex-A72 - BCM2711 Raspberry Pi 4 Model B Rev 1.4 - 8GB

Raspbian 10 - 5.10.63-v7l+ - LXDE 0.10.0

5 Systems - 64 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 21.10 - 5.13.0-16-generic - GNOME Shell 40.5

4 Systems - 64 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 21.04 - 5.11.0-34-generic - GNOME Shell 3.38.4

3 Systems - 64 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 21.04 - 5.11.0-34-generic - GNOME Shell 3.38.4

1 System - 69 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 21.04 - 5.11.0-34-generic - GNOME Shell 3.38.4

1 System - 208 Benchmark Results

Unknown - Apple Mac Mini Late 2020 - 8GB

Ubuntu 20.04 - 5.11.0-rc4+ - X Server 1.20.11

5 Systems - 188 Benchmark Results

AMD Ryzen Threadripper 2950X 16-Core - MSI MEG X399 CREATION - AMD 17h

Debian 10 - 5.8.1-050801-generic - GNOME Shell 3.30.2

1 System - 86 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 PG Velocita - AMD Starship

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

1 System - 86 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 PG Velocita - AMD Starship

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

1 System - 144 Benchmark Results

Intel Core i3-8100T - LENOVO 313D - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.11.0-27-generic - GNOME Shell 3.36.9

2 Systems - 140 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 21.10 - 5.13.0-16-generic - GNOME Shell 40.2

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

4 Systems - 12 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 20.10 - 5.12.0-051200rc8-generic - GNOME Shell 3.38.2

3 Systems - 39 Benchmark Results

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

Debian 10 - 4.19.0-9-amd64 - GNOME Shell 3.30.2

3 Systems - 19 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 20.10 - 5.11.0-rc1-phx - GNOME Shell 3.38.1

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

3 Systems - 14 Benchmark Results

Intel Core i7-8550U - Dell 0H0VG3 - Intel Xeon E3-1200 v6

Ubuntu 20.10 - 5.8.0-45-generic - GNOME Shell 3.38.2

3 Systems - 12 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VII HERO - AMD Starship

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

3 Systems - 40 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 10 - 4.19.0-16-amd64 - X Server 1.20.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

4 Systems - 3 Benchmark Results

AMD Ryzen 7 2700 Eight-Core - Gigabyte AB350N-Gaming WIFI-CF - AMD 17h

Ubuntu 19.10 - 5.9.0-050900rc7daily20201004-generic - GNOME Shell 3.34.1

2 Systems - 38 Benchmark Results

Intel Xeon Gold 6226R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.10 - 5.11.0-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

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

5 Systems - 16 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

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

Find More Test Results