WebP2 Image Encode

This is a test of Google's libwebp2 library with the WebP2 image encode utility and using a sample 6000x4000 pixel JPEG image as the input, similar to the WebP/libwebp test profile. WebP2 is currently experimental and under heavy development as ultimately the successor to WebP. WebP2 supports 10-bit HDR, more efficienct lossy compression, improved lossless compression, animation support, and full multi-threading support compared to WebP.

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

Source Repository

chromium.googlesource.com

Test Created

26 January 2021

Last Updated

21 November 2023

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 4 Seconds

Average Run Time

26 Seconds

Test Dependencies

C/C++ Compiler Toolchain + JPEG Library + CMake

Accolades

40k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsWebP2 Image Encode Popularity Statisticspts/webp22021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032024.052024.072024.092024.112K4K6K8K10K
* 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 17 November 2024.
Quality 100, Compression Effort 517.3%Quality 100, Lossless Compression12.9%Default21.7%Quality 95, Compression Effort 721.7%Quality 75, Compression Effort 726.4%Encode Settings Option PopularityOpenBenchmarking.org

Revision History

pts/webp2-1.2.1   [View Source]   Tue, 21 Nov 2023 11:52:24 GMT
Fix build on GCC 13.

pts/webp2-1.2.0   [View Source]   Fri, 09 Sep 2022 09:04:05 GMT
Update against WebP2 upstream, switch to MP/s reporting rather than time.

pts/webp2-1.1.0   [View Source]   Mon, 25 Apr 2022 18:22:37 GMT
Update against libwebp2 Git to fix build errors on newer distros. Drop Windows support for now since their CI Windows builds no longer active.

pts/webp2-1.0.0   [View Source]   Tue, 26 Jan 2021 10:59:31 GMT
Add initial WebP2 test profile for experimental libwebp2. https://github.com/phoronix-test-suite/test-profiles/issues/185

Suites Using This Test

Imaging

Creator Workloads


Performance Metrics

Analyze Test Configuration:

WebP2 Image Encode 20220823

Encode Settings: Default

OpenBenchmarking.org metrics for this test profile configuration based on 477 public results since 9 September 2022 with the latest data as of 28 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
MP/s (Average)
100th
7
15.76 +/- 0.26
100th
8
15.42 +/- 0.31
97th
9
14.95 +/- 0.39
97th
7
14.94 +/- 0.17
94th
4
13.41 +/- 0.28
93rd
3
12.97 +/- 1.40
92nd
4
12.57 +/- 0.36
90th
8
11.83 +/- 0.25
90th
3
11.77 +/- 0.22
89th
8
11.73 +/- 0.04
86th
7
11.42 +/- 0.47
86th
4
11.40 +/- 0.06
82nd
3
10.86 +/- 0.04
81st
4
10.53 +/- 0.35
78th
8
10.25 +/- 0.10
76th
10
10.00 +/- 0.21
Mid-Tier
75th
< 9.96
73rd
4
9.56 +/- 0.09
70th
4
9.16 +/- 0.11
67th
3
8.66 +/- 0.09
66th
4
8.61 +/- 0.73
64th
10
8.54 +/- 0.10
64th
5
8.51 +/- 0.10
62nd
10
8.41 +/- 0.15
61st
4
8.37 +/- 0.10
59th
4
8.24 +/- 0.14
56th
4
8.15 +/- 0.14
56th
6
8.12 +/- 0.10
55th
5
8.03 +/- 0.18
54th
5
7.98 +/- 0.02
51st
4
7.86 +/- 0.07
51st
3
7.85 +/- 0.10
Median
50th
7.84
48th
3
7.76 +/- 0.05
47th
3
7.71 +/- 0.05
46th
4
7.68 +/- 0.05
44th
6
7.62 +/- 0.05
43rd
3
7.49 +/- 0.07
43rd
5
7.49 +/- 0.06
40th
5
7.18 +/- 0.11
37th
8
6.99 +/- 0.07
35th
4
6.68 +/- 0.10
33rd
9
6.19 +/- 0.08
31st
5
5.99 +/- 0.36
31st
4
5.96 +/- 0.05
30th
3
5.83 +/- 0.02
30th
5
5.80 +/- 0.14
27th
3
5.52 +/- 0.06
26th
9
5.41 +/- 0.14
Low-Tier
25th
< 5.30
24th
3
5.06 +/- 0.02
23rd
6
5.01 +/- 0.31
22nd
3
4.78 +/- 0.05
21st
3
4.66 +/- 0.34
19th
3
4.42 +/- 0.01
18th
8
4.32 +/- 0.16
16th
3
3.56 +/- 0.11
14th
9
3.53 +/- 0.01
14th
6
3.52 +/- 0.06
11th
8
2.70 +/- 0.02
10th
8
2.62 +/- 0.27
8th
6
2.38 +/- 0.06
6th
4
2.02 +/- 0.01
5th
3
1.56 +/- 0.03
2nd
7
0.63 +/- 0.04
OpenBenchmarking.orgDistribution Of Public Results - Encode Settings: Default477 Results Range From 0 To 17 MP/s2468101214161820222420406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (WebP2 Image Encode 20220823 - Encode Settings: Default) 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 BenchmarkEncode Settings: DefaultRun-Time246810Min: 1 / Avg: 1.01 / Max: 2

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsEncode Settings: DefaultDeviation246810Min: 0 / Avg: 0.42 / Max: 5

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does 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 BaseWebP2 Image Encode CPU Core ScalingEncode Settings: Default46812141624641281.36042.72084.08125.44166.802

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 MOVD MOVDQU CVTSS2SD DIVSD ADDSD SUBSD CVTSI2SD PUNPCKLQDQ PSRLDQ MOVAPD MULSD UCOMISD COMISD CMPNLTSD SQRTSD UNPCKLPD MOVUPD MOVHPD SUBPD SHUFPD MULPD MOVLPD UNPCKHPD CVTDQ2PD PSHUFD ANDPD MAXSD DIVPD CVTSD2SS ADDPD XORPD MINSD CVTTSD2SI PSHUFLW PMULUDQ PADDQ CVTDQ2PS PUNPCKHQDQ CVTTPS2DQ PSLLDQ
SSE3 (SSE3)
Used by default on supported hardware.
 
MOVDDUP MOVSLDUP
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB PABSD PALIGNR PSIGND PHADDW PHADDD PABSW PSIGNW PMULHRSW
SSE 4.2 (SSE4_2)
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
PCMPGTQ
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VEXTRACTF128 VINSERTF128 VPERMILPD VPERM2F128 VBROADCASTSS VBROADCASTSD
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

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

 
VFMSUB231SD VFMSUB132SD VFMADD132SD VFMADD231SD VFMSUB132PD VFNMADD132PD VFNMADD132SD VFMADD132PD VFNMADD231PD VFNMADD231SD VFNMADD213SD VFMADD132SS VFMADD231SS VFMADD213SS VFNMADD132SS VFMADD132PS VFMADD231PS VFNMADD231SS VFMSUB132SS VFNMADD213SS VFMSUB213SS VFMADD213SD VFNMADD213PD
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 24 December 2023

This test profile binary relies on the shared libraries libpng16.so.16, libjpeg.so.8, libtiff.so.5, libgif.so.7, libwebp.so.7, libwebpdemux.so.2, libm.so.6, libc.so.6, libz.so.1, libzstd.so.1, liblzma.so.5, libjbig.so.0, libdeflate.so.0.

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-3A6000
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, Apple M1, Apple M2, Phytium D2000, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

19 Systems - 2903 Benchmark Results

17 Systems - 2641 Benchmark Results

16 Systems - 2626 Benchmark Results

16 Systems - 2616 Benchmark Results

15 Systems - 2606 Benchmark Results

12 Systems - 2543 Benchmark Results

2 Systems - 63 Benchmark Results

Apple - Apple MacBook Air - Apple Silicon

VoidLinux rolling - 6.11.2-asahi-6.11.2-1_1 - Sway 1.9

1 System - 63 Benchmark Results

Apple - Apple MacBook Air - Apple Silicon

VoidLinux rolling - 6.11.2-asahi-6.11.2-1_1 - Sway 1.9

1 System - 461 Benchmark Results

AMD Ryzen 7 5800X 8-Core - GIGABYTE MC12-LE0-00 v01000100 - AMD Starship

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

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

1 System - 63 Benchmark Results

Intel Core i5-12450H - 8GB - 0GB Virtual Disk + 2GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.153.1-microsoft-standard-WSL2 - X Server + Wayland

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

2 Systems - 160 Benchmark Results

Intel Xeon E3-1280 v5 - MSI Z170A SLI PLUS - Intel Xeon E3-1200 v5

Ubuntu 20.04 - 6.1.0-phx - GNOME Shell 3.36.9

Find More Test Results