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, 7 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.0416003200480064008000
* 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 13 April 2024.
Quality 100, Compression Effort 517.1%Quality 100, Lossless Compression12.7%Default21.7%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 20210126

Encode Settings: Default

OpenBenchmarking.org metrics for this test profile configuration based on 408 public results since 26 January 2021 with the latest data as of 22 April 2022.

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
Seconds (Average)
99th
15
2.3 +/- 0.1
88th
6
2.8 +/- 0.1
Mid-Tier
75th
> 3.3
60th
4
4.2 +/- 0.1
59th
3
4.3 +/- 0.1
58th
8
4.3 +/- 0.1
52nd
5
4.6 +/- 0.2
Median
50th
5.0
47th
3
5.2 +/- 0.1
47th
6
5.3 +/- 0.1
46th
4
5.4 +/- 0.5
44th
3
5.7 +/- 0.1
37th
3
7.2 +/- 0.1
35th
5
7.5 +/- 0.2
33rd
8
7.7 +/- 0.5
27th
3
9.3 +/- 0.5
Low-Tier
25th
> 9.6
21st
4
10.2 +/- 0.2
20th
5
10.5 +/- 1.1
15th
5
11.1 +/- 0.5
13th
3
11.2 +/- 0.1
13th
4
11.4 +/- 0.4
6th
3
14.0 +/- 0.1
4th
3
17.4 +/- 0.1
3rd
3
21.2 +/- 0.5
2nd
3
25.8 +/- 0.1
1st
4
46.1 +/- 0.2
OpenBenchmarking.orgDistribution Of Public Results - Encode Settings: Default408 Results Range From 2 To 47 Seconds26101418222630343842465050100150200250

Based on OpenBenchmarking.org data, the selected test / test configuration (WebP2 Image Encode 20210126 - 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.07 / Max: 3

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsEncode Settings: DefaultDeviation246810Min: 0 / Avg: 0.73 / 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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseWebP2 Image Encode CPU Core ScalingEncode Settings: Default468121632641.37892.75784.13675.51566.8945

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, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core