Opus Codec Encoding

Opus is an open audio codec. Opus is a lossy audio compression format designed primarily for interactive real-time applications over the Internet. This test uses Opus-Tools and measures the time required to encode a WAV file to Opus.

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

Project Site

opus-codec.org

Test Created

4 October 2012

Last Updated

20 December 2020

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

27 Seconds

Average Run Time

1 Minute, 25 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Vorbis

Accolades

100k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsOpus Codec Encoding Popularity Statisticspts/encode-opus2012.102013.022013.062013.102014.022014.062014.102015.022015.062015.102016.022016.062016.102017.022017.062017.102018.022018.072018.122019.042019.082019.122020.042020.102021.032021.072021.112022.032022.072022.119001800270036004500
* 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 current as of 28 November 2022.

Revision History

pts/encode-opus-1.1.1   [View Source]   Sun, 20 Dec 2020 14:52:27 GMT
Enable Windows support, add flac build.

pts/encode-opus-1.1.0   [View Source]   Sun, 20 Dec 2020 14:03:35 GMT
Update against latest upstream.

pts/encode-opus-1.0.2   [View Source]   Sat, 07 Apr 2018 19:28:55 GMT
Deprecate this test profile.

pts/encode-opus-1.0.1   [View Source]   Thu, 04 Oct 2012 08:41:49 GMT
Add vorbis-development as an external dependency for encode-opus as it is needed for building the Opus tools.

pts/encode-opus-1.0.0   [View Source]   Thu, 04 Oct 2012 07:16:56 GMT
Initial commit of a simple test profile that measures the system performance at encoding and decoding to the Opus Audio Codec.

Suites Using This Test

Audio Encoding

Encoding

Creator Workloads


Performance Metrics

Analyze Test Configuration:

Opus Codec Encoding 1.3.1

WAV To Opus Encode

OpenBenchmarking.org metrics for this test profile configuration based on 1,018 public results since 20 December 2020 with the latest data as of 30 November 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)
100th
14
4.4 +/- 0.1
94th
6
5.1 +/- 0.1
88th
6
5.8 +/- 0.1
84th
91
6.1 +/- 0.7
81st
11
6.2 +/- 0.3
Mid-Tier
75th
> 6.3
75th
11
6.3 +/- 0.4
74th
56
6.4 +/- 0.6
72nd
35
6.5 +/- 0.9
67th
9
6.8 +/- 0.2
67th
11
6.8 +/- 0.8
66th
4
6.9 +/- 0.6
66th
12
6.9 +/- 0.3
60th
9
7.2 +/- 0.1
60th
5
7.2 +/- 0.1
58th
6
7.2 +/- 0.1
55th
11
7.4 +/- 0.1
53rd
5
7.5 +/- 0.1
Median
50th
7.6
49th
7
7.7 +/- 0.4
46th
28
8.0 +/- 1.2
46th
10
8.0 +/- 0.2
44th
4
8.1 +/- 0.1
41st
3
8.4 +/- 0.1
39th
11
8.6 +/- 0.4
36th
6
8.9 +/- 0.1
35th
6
9.0 +/- 0.1
34th
12
9.0 +/- 0.7
31st
4
9.4 +/- 0.1
31st
15
9.4 +/- 0.2
28th
6
9.5 +/- 0.1
Low-Tier
25th
> 9.7
25th
3
9.7 +/- 0.1
24th
3
9.8 +/- 0.1
24th
7
9.8 +/- 0.7
19th
3
10.4 +/- 0.8
18th
5
10.6 +/- 0.4
17th
3
10.7 +/- 0.1
16th
34
10.8 +/- 0.1
7th
4
16.5 +/- 0.2
6th
6
18.2 +/- 0.3
2nd
3
43.3 +/- 0.1
1st
5
48.3 +/- 3.9
1st
3
64.0 +/- 2.0
OpenBenchmarking.orgDistribution Of Public Results - WAV To Opus Encode1016 Results Range From 2 To 106 Seconds2112029384756657483921011102004006008001000

Based on OpenBenchmarking.org data, the selected test / test configuration (Opus Codec Encoding 1.3.1 - WAV To Opus Encode) has an average run-time of 2 minutes. By default this test profile is set to run at least 5 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 BenchmarkWAV To Opus EncodeRun-Time246810Min: 1 / Avg: 1.05 / Max: 4

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 RunsWAV To Opus EncodeDeviation246810Min: 0 / Avg: 0.29 / Max: 2

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 BaseOpus Codec Encoding CPU Core ScalingWAV To Opus Encode2468121632640.46670.93341.40011.86682.3335

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.
 
PUNPCKLQDQ MOVDQA MULSD CVTTSD2SI CVTSI2SD DIVSD COMISD MOVAPD SUBSD ADDSD MOVD XORPD PSHUFD PSHUFLW MOVDQU CVTDQ2PS CVTSS2SD CVTSD2SS CVTPS2PD ADDPD UNPCKHPD ANDPD UCOMISD CMPNLESD ANDNPD ORPD SQRTSD CVTTPS2DQ PUNPCKHQDQ MAXSD PSRLDQ PSLLDQ PADDQ CVTPD2PS PMULUDQ MINSD UNPCKLPD CVTDQ2PD SUBPD DIVPD MULPD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB PALIGNR PABSD
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VBROADCASTSS VEXTRACTF128 VINSERTF128 VPERM2F128 VPERMILPD VPERMILPS VBROADCASTSD
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTD VPERMD VEXTRACTI128 VINSERTI128 VGATHERDPS VPBROADCASTW VPERMPD VPERMQ VPERM2I128 VPSLLVD VPGATHERQD VPBROADCASTQ
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).

 
VFMADD132SD VFNMADD132SD VFMADD231SS VFMADD231SD VFNMADD132PD VFNMADD231SD VFMADD132PD VFMADD213SD VFMSUB231SS VFNMADD231SS VFMADD231PS VFMADD132PS VFNMADD132PS VFNMADD132SS VFMADD132SS VFMSUB132SS VFMADD213SS VFMSUB132PS VFMADD213PS VFNMADD213SS VFNMADD213PS VFMSUB231PS VFNMADD231PS VFNMADD213SD VFNMADD213PD VFMADD231PD VFNMADD231PD VFMSUB132SD VFMSUB213PS
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: 17 January 2022

This test profile binary relies on the shared libraries libopusenc.so.0, libopus.so.0, libFLAC.so.8, libm.so.6, libc.so.6, libogg.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)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-Core
ARMv7 32-bit
armv7l
ARMv7 Cortex-A15 8-Core, ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-V1, Ampere eMAG ARMv8 32-Core, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 226 Benchmark Results

AMD Ryzen Threadripper 1920X 12-Core - ASRock X399 Taichi - AMD 17h

Ubuntu 22.04 - 5.15.0-50-generic - GNOME Shell 42.4

3 Systems - 75 Benchmark Results

Intel Core i7-4790K - ASRock H97 Anniversary - Intel 4th Gen Core DRAM

Ubuntu 22.04 - 5.15.0-52-generic - GNOME Shell 42.5

2 Systems - 36 Benchmark Results

Intel Core i7-4790K - ASRock H97 Anniversary - Intel 4th Gen Core DRAM

Ubuntu 22.04 - 5.15.0-52-generic - GNOME Shell 42.5

31 Systems - 3 Benchmark Results

AMD Ryzen 7 PRO 5850U - LENOVO 20X7003WFR - AMD Renoir

Fedora Linux 36 - 5.18.16-200.fc36.x86_64 - KDE Plasma 5.25.4

1 System - 214 Benchmark Results

Apple M1 - Apple MacBook Pro - 16GB

macOS 11.7.1 - 20.6.0 - OpenCL 1.2

1 System - 46 Benchmark Results

Apple M1 - Apple MacBook Pro - 16GB

macOS 11.7 - 20.6.0 - GCC 13.0.0 + Clang 13.0.0

1 System - 6 Benchmark Results

Apple M1 - Apple MacBook Pro - 16GB

macOS 11.7 - 20.6.0 - GCC 13.0.0 + Clang 13.0.0

2 Systems - 226 Benchmark Results

AMD Ryzen Threadripper 1920X 12-Core - ASRock X399 Taichi - AMD 17h

Ubuntu 22.04 - 5.15.0-50-generic - GNOME Shell 42.4

1 System - 3 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - 2 x 16384 MB 5200MHz Corsair CMK32GX5M2B5200C38-P

Microsoft Windows 11 Pro Build 22000 - 10.0.22000.1098 - 522.25

1 System - 3 Benchmark Results

AMD Ryzen 5 1600X Six-Core - ASUS ROG STRIX B350-F GAMING - 2 x 16384 MB 2666MHz Corsair CMK32GX4M2B3200C16

Microsoft Windows 10 Pro Build 19044 - 10.0.19044.2130 - 516.94

1 System - 6 Benchmark Results

Apple M1 - Apple MacBook Pro - 16GB

macOS 12.6 - 21.6.0 - OpenCL 1.2

1 System - 6 Benchmark Results

Intel Core i5-4250U - Apple Mac-35C1E88140C3E6CF - Intel Haswell-ULT DRAM

Ubuntu 22.04 - 5.15.0-48-generic - GNOME Shell 42.4

1 System - 6 Benchmark Results

Intel Core i7-3615QM - Apple Mac mini - Intel 7

macOS 10.15.7 - 19.6.0 - Clang 12.0.0 + GCC 12.0.0 + Xcode 12.4

1 System - 6 Benchmark Results

Intel Core i5-4250U - Apple Mac-35C1E88140C3E6CF - Intel Haswell-ULT DRAM

Ubuntu 22.04 - 5.15.0-48-generic - GNOME Shell 42.4

1 System - 14 Benchmark Results

Intel Core i3-6100U - Intel NUC6i3SYB - Intel Xeon E3-1200 v5

Debian 11 - 5.10.0-18-amd64 - 1.2.145

Most Popular Test Results

Find More Test Results