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, 3 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 9 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: Quality 75, Compression Effort 7

OpenBenchmarking.org metrics for this test profile configuration based on 581 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
9
0.84 +/- 0.01
99th
4
0.83 +/- 0.01
97th
10
0.82 +/- 0.02
96th
10
0.81 +/- 0.03
95th
4
0.80 +/- 0.02
92nd
10
0.72 +/- 0.01
90th
5
0.70 +/- 0.02
86th
7
0.63 +/- 0.01
85th
16
0.61 +/- 0.05
84th
5
0.60 +/- 0.04
84th
3
0.60 +/- 0.01
84th
7
0.59 +/- 0.05
83rd
3
0.57 +/- 0.02
77th
5
0.52 +/- 0.02
76th
5
0.51 +/- 0.01
Mid-Tier
75th
< 0.51
72nd
4
0.49 +/- 0.02
72nd
10
0.49 +/- 0.01
66th
6
0.43 +/- 0.01
63rd
5
0.38 +/- 0.01
63rd
7
0.37 +/- 0.01
60th
3
0.36 +/- 0.01
60th
8
0.36 +/- 0.02
56th
6
0.34 +/- 0.01
56th
9
0.34 +/- 0.01
52nd
4
0.31 +/- 0.01
Median
50th
0.30
48th
4
0.28 +/- 0.01
46th
3
0.26 +/- 0.02
46th
7
0.25 +/- 0.02
46th
3
0.24 +/- 0.01
45th
6
0.23 +/- 0.01
38th
4
0.16 +/- 0.01
38th
10
0.16 +/- 0.01
33rd
5
0.13 +/- 0.01
33rd
4
0.13 +/- 0.01
33rd
4
0.13 +/- 0.01
Low-Tier
25th
< 0.12
23rd
3
0.10 +/- 0.01
19th
3
0.08
16th
3
0.07 +/- 0.01
11th
3
0.05 +/- 0.01
OpenBenchmarking.orgDistribution Of Public Results - Encode Settings: Quality 75, Compression Effort 7581 Results Range From 0 To 1 MP/s0.0830.1660.2490.3320.4150.4980.5810.6640.7470.830.9130.996306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (WebP2 Image Encode 20220823 - Encode Settings: Quality 75, Compression Effort 7) has an average run-time of 7 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: Quality 75, Compression Effort 7Run-Time714212835Min: 2 / Avg: 6.82 / Max: 35

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsEncode Settings: Quality 75, Compression Effort 7Deviation246810Min: 0 / Avg: 0.25 / Max: 2

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: Quality 75, Compression Effort 7468121416243264128246810

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)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M2, Phytium D2000

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

1 System - 27 Benchmark Results

AMD Ryzen 7 9800X3D 8-Core - 32GB - 1789GB

Ubuntu 20.04 - 4.4.0-22621-Microsoft - X Server

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