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 five times.

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

Project Site

opus-codec.org

Source Repository

github.com

Test Created

4 October 2012

Last Updated

11 September 2024

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

4 Minutes, 48 Seconds

Average Run Time

1 Minute, 25 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Vorbis

Accolades

150k+ Downloads + Recently Updated Test Profile

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.112023.032023.072023.112024.032024.079K18K27K36K45K
* 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 18 September 2024.

Revision History

pts/encode-opus-1.5.0   [View Source]   Wed, 11 Sep 2024 15:23:00 GMT
Update against Opus 1.5.2 upstream.

pts/encode-opus-1.4.0   [View Source]   Fri, 21 Apr 2023 10:31:36 GMT
Update against Opus 1.4 upstream.

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.5.2

WAV To Opus Encode

OpenBenchmarking.org metrics for this test profile configuration based on 32 public results since 11 September 2024 with the latest data as of 16 September 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
Seconds (Average)
79th
4
22.8 +/- 0.1
Mid-Tier
75th
> 22.8
Median
50th
29.2
29th
4
31.3 +/- 0.1
Low-Tier
25th
> 31.4
10th
4
72.3 +/- 0.2
OpenBenchmarking.orgDistribution Of Public Results - WAV To Opus Encode21 Results Range From 17 To 73 Seconds17222732374247525762677277246810

Based on OpenBenchmarking.org data, the selected test / test configuration (Opus Codec Encoding 1.5.2 - WAV To Opus Encode) has an average run-time of 4 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: 2 / Avg: 3.78 / Max: 6

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 MOVUPD UNPCKLPD MULPD MOVHPD SHUFPD CVTPD2PS PMULUDQ MINSD SUBPD CVTDQ2PD DIVPD
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 VINSERTF128 VPERM2F128 VPERMILPS VEXTRACTF128 VPERMILPD 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 VPGATHERQD VPBROADCASTQ
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD213PD VFMADD213SD VFMADD231PD VFMADD132PD VFMADD231SD VFMADD132SD VFNMADD132SD VFMADD231SS VFNMADD132PD VFNMADD231SD VFMSUB231SS VFNMADD231SS VFMADD231PS VFMADD132PS VFNMADD132PS VFNMADD132SS VFMADD132SS VFMSUB132SS VFMADD213SS VFMSUB132PS VFMADD213PS VFNMADD213SS VFNMADD213PS VFMSUB231PS VFNMADD231PS VFNMADD213SD VFNMADD213PD 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: 24 June 2023

This test profile binary relies on the shared libraries libopusenc.so.0, libopus.so.0, libFLAC.so.12, 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)
ARMv8 64-bit
aarch64
AmpereOne 72-Core

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 24 Benchmark Results

AMD Ryzen AI 9 365 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

2 Systems - 24 Benchmark Results

AMD Ryzen AI 9 365 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

2 Systems - 30 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS Zenbook S 16 UM5606WA_UM5606WA UM5606WA v1.0 - AMD Device 1507

Ubuntu 24.04 - 6.10.0-phx - GNOME Shell 46.0

4 Systems - 1 Benchmark Result

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 24.10 - 6.11.0-rc6-phx - GNOME Shell

4 Systems - 1 Benchmark Result

AmpereOne - Supermicro ARS-211M-NR R13SPD v1.02 - Ampere Computing LLC Device e208

Ubuntu 24.04 - 6.8.0-39-generic-64k - GCC 13.2.0

5 Systems - 1 Benchmark Result

AMD Ryzen 5 9600X 6-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-41-generic - GNOME Shell 46.0

Find More Test Results