WebP Image Encode

This is a test of Google's libwebp with the cwebp image encode utility and using a sample 6000x4000 pixel JPEG image as the input.

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

Source Repository

chromium.googlesource.com

Test Created

22 September 2020

Last Updated

9 September 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

28 Seconds

Average Run Time

1 Minute, 27 Seconds

Test Dependencies

C/C++ Compiler Toolchain + JPEG Library

Accolades

30k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsWebP Image Encode Popularity Statisticspts/webp2020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.035K10K15K20K25K
* 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 10021.2%Quality 100, Lossless20.3%Default20.7%Quality 100, Highest Compression20.8%Quality 100, Lossless, Highest Compression17.0%Encode Settings Option PopularityOpenBenchmarking.org

Revision History

pts/webp-1.2.0   [View Source]   Fri, 09 Sep 2022 05:42:49 GMT
Update against webp 1.2.4 upstream, switch to MP/s reporting, build from source on macOS. Takes care of the WebP issue in: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/668

pts/webp-1.0.0   [View Source]   Tue, 22 Sep 2020 15:36:31 GMT
Initial libwebp cwebp benchmark.

Suites Using This Test

Imaging

Creator Workloads


Performance Metrics

Analyze Test Configuration:

WebP Image Encode 1.1

Encode Settings: Quality 100, Lossless, Highest Compression

OpenBenchmarking.org metrics for this test profile configuration based on 1,395 public results since 22 September 2020 with the latest data as of 21 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
Encode Time - Seconds (Average)
87th
20
28 +/- 1
76th
6
31 +/- 2
Mid-Tier
75th
> 31
67th
3
34 +/- 1
62nd
8
36 +/- 3
62nd
5
36 +/- 1
61st
8
36 +/- 3
61st
10
37 +/- 1
61st
13
37 +/- 4
59th
10
37 +/- 2
59th
17
37 +/- 1
52nd
5
39 +/- 1
Median
50th
39
50th
3
39 +/- 1
48th
18
40 +/- 2
47th
42
40 +/- 5
45th
4
41 +/- 3
31st
4
45 +/- 2
30th
9
45 +/- 1
26th
17
47 +/- 1
Low-Tier
25th
> 47
25th
17
47 +/- 2
25th
11
47 +/- 4
22nd
12
48 +/- 2
20th
20
49 +/- 4
15th
4
52 +/- 1
13th
4
54 +/- 8
13th
4
55 +/- 1
12th
7
56 +/- 1
11th
8
58 +/- 1
11th
3
58 +/- 3
10th
7
60 +/- 7
8th
5
63 +/- 1
4th
6
84 +/- 2
OpenBenchmarking.orgDistribution Of Public Results - Encode Settings: Quality 100, Lossless, Highest Compression1395 Results Range From 22 To 1198 Encode Time - Seconds225690124158192226260294328362396430464498532566600634668702736770804838872906940974100810421076111011441178121230060090012001500

Based on OpenBenchmarking.org data, the selected test / test configuration (WebP Image Encode 1.1 - Encode Settings: Quality 100, Lossless, Highest Compression) has an average run-time of 3 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 100, Lossless, Highest CompressionRun-Time510152025Min: 1 / Avg: 2.53 / Max: 23

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 100, Lossless, Highest CompressionDeviation246810Min: 0 / Avg: 0.18 / Max: 3

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 BaseWebP Image Encode CPU Core ScalingEncode Settings: Quality 100, Lossless, Highest Compression24681216243248641280.76461.52922.29383.05843.823

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
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-Core
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core, ARMv7 rev 3 4-Core
ARMv8 64-bit
arm64
Apple M1, Apple M1 Max, Apple M2
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A72, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Apple M1, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 72 Benchmark Results

AMD Ryzen 5 5600G - MSI B450M MORTAR MAX - AMD Renoir

NixOS 23.11 - 6.1.65 - GCC 12.3.0

Find More Test Results