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

70k+ 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.012K4K6K8K10K
* 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 26 March 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.0.2

Test: Decompression Throughput

OpenBenchmarking.org metrics for this test profile configuration based on 1,031 public results since 10 July 2019 with the latest data as of 9 December 2023.

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
13
242 +/- 11
93rd
6
235 +/- 7
92nd
9
231 +/- 5
89th
4
227 +/- 4
89th
18
226 +/- 27
84th
5
221 +/- 2
77th
14
216 +/- 2
76th
6
215 +/- 4
Mid-Tier
75th
< 215
72nd
3
211 +/- 5
70th
4
208 +/- 4
70th
16
207 +/- 20
69th
8
204 +/- 5
69th
19
204 +/- 7
66th
17
200 +/- 2
66th
6
199 +/- 3
66th
3
199 +/- 3
65th
8
198 +/- 1
63rd
3
194 +/- 7
57th
4
177 +/- 2
53rd
6
175 +/- 1
52nd
9
174 +/- 2
Median
50th
173
50th
3
173 +/- 1
49th
4
172 +/- 1
49th
9
172 +/- 3
44th
7
170 +/- 3
40th
14
168 +/- 4
40th
10
168 +/- 1
37th
14
167 +/- 2
37th
3
167 +/- 3
37th
5
167 +/- 2
32nd
4
163 +/- 2
29th
3
160 +/- 18
28th
7
156 +/- 1
26th
4
154 +/- 2
Low-Tier
25th
< 151
25th
3
150 +/- 1
25th
3
149
21st
6
144 +/- 2
17th
3
133 +/- 13
15th
3
127 +/- 1
11th
4
99 +/- 3
OpenBenchmarking.orgDistribution Of Public Results - Test: Decompression Throughput1031 Results Range From 24 To 320 Megapixels/sec244158759210912614316017719421122824526227929631333060120180240300

Based on OpenBenchmarking.org data, the selected test / test configuration (libjpeg-turbo tjbench 2.0.2 - 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 / Max: 1

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.12 / 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.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To Baselibjpeg-turbo tjbench CPU Core ScalingTest: Decompression Throughput24681216182432640.46880.93761.40641.87522.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)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-Core
IBM POWER (PowerPC) 64-bit
ppc64
PPC970MP
ARMv7 32-bit
armv7l
ARMv7 4-Core, ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 3 4-Core
ARMv8 64-bit
arm64
Apple M1 Max
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Neoverse-N1 64-Core, Ampere eMAG ARMv8 32-Core, Cavium ThunderX, Rockchip ARMv8 Cortex-A53 4-Core, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

7 Systems - 18 Benchmark Results

Intel N100 - AAEON UP-ADLN01 - Intel Device 54ef

Ubuntu 22.04 - 6.2.0-37-generic - GNOME Shell 42.9

7 Systems - 18 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.2 - 4096MB

Ubuntu 18.04 - 5.4.0-1015-raspi - Xfce 4.12

7 Systems - 18 Benchmark Results

Intel Atom E3950 - AAEON UP-APL03 - Intel Celeron N3350

Ubuntu 22.04 - 5.15.0-48-generic - GNOME Shell 42.4

Find More Test Results