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

58 Seconds

Average Run Time

26 Seconds

Test Dependencies

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

Accolades

30k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsWebP2 Image Encode Popularity Statisticspts/webp22021.012021.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.042024.052024.062024.072K4K6K8K10K
* 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 8 July 2024.
Quality 100, Compression Effort 517.2%Quality 100, Lossless Compression12.7%Default21.8%Quality 95, Compression Effort 721.7%Quality 75, Compression Effort 726.7%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 565 public results since 9 September 2022 with the latest data as of 7 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
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
3
0.60 +/- 0.01
84th
5
0.60 +/- 0.04
84th
7
0.59 +/- 0.05
83rd
3
0.57 +/- 0.02
77th
5
0.52 +/- 0.02
Mid-Tier
75th
< 0.52
75th
5
0.51 +/- 0.01
71st
10
0.49 +/- 0.01
71st
4
0.49 +/- 0.02
65th
6
0.43 +/- 0.01
62nd
5
0.38 +/- 0.01
60th
8
0.36 +/- 0.02
60th
3
0.36 +/- 0.01
56th
9
0.34 +/- 0.01
56th
6
0.34 +/- 0.01
52nd
4
0.31 +/- 0.01
Median
50th
0.30
48th
4
0.28 +/- 0.01
45th
7
0.25 +/- 0.02
45th
3
0.24 +/- 0.01
45th
6
0.23 +/- 0.01
38th
4
0.16 +/- 0.01
33rd
4
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
12th
3
0.05 +/- 0.01
OpenBenchmarking.orgDistribution Of Public Results - Encode Settings: Quality 75, Compression Effort 7565 Results Range From 0 To 1 MP/s0.0830.1660.2490.3320.4150.4980.5810.6640.7470.830.9130.99620406080100

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.85 / Max: 35

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

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

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 746814162432641282.074.146.218.2810.35

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

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

1 System - 10 Benchmark Results

Phytium D2000/8 E8C - GreatWall GW-001M1A-FTF v1.0 - 16GB

Uos 20 - 4.19.0-arm64-desktop - Deepin Desktop Environment

1 System - 27 Benchmark Results

Intel Core Ultra 7 155H - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 2 x 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

1 System - 26 Benchmark Results

Intel Core Ultra 7 155H - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

1 System - 31 Benchmark Results

AMD Ryzen 7 7700 8-Core - 16GB - 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 20.04 - 5.15.133.1-microsoft-standard-WSL2 - X Server + Wayland

5 Systems - 587 Benchmark Results

AMD Ryzen 5 8600G - ASRock B650 Pro RS - AMD Device 14e8

Ubuntu 23.10 - 6.7.3-060703-generic - GNOME Shell 45.2

8 Systems - 182 Benchmark Results

Intel Core i7-7700HQ - KBL Neptune_KLS - 16GB

Ubuntu 20.04 - 6.5.0-15-generic - X Server

7 Systems - 182 Benchmark Results

Intel Core i7-7700HQ - KBL Neptune_KLS - 16GB

Ubuntu 20.04 - 6.5.0-14-generic - X Server

6 Systems - 173 Benchmark Results

AMD Ryzen 5 3600 6-Core - BIOSTAR B550MX/E PRO - AMD Starship

Debian 12 - 6.5.0-0.deb12.4-amd64 - GCC 12.2.0

5 Systems - 173 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc7daily20221001-generic - GNOME Shell 42.4

1 System - 494 Benchmark Results

1 System - 59 Benchmark Results

AMD Ryzen 7 7800X3D 8-Core - ASUS ROG STRIX B650E-I GAMING WIFI - AMD Device 14d8

Pop 22.04 - 6.6.6-76060606-generic - GNOME Shell 42.5

1 System - 109 Benchmark Results

Intel Core i7-5960X - Gigabyte X99-UD4-CF - Intel Xeon E7 v3

Debian 12 - 6.1.0-11-amd64 - GCC 12.2.0

Find More Test Results