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, 32 Seconds

Average Run Time

1 Minute, 25 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Vorbis

Accolades

150k+ 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.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 14 October 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 64 public results since 11 September 2024 with the latest data as of 12 October 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)
97th
4
16.6 +/- 0.1
Mid-Tier
75th
> 21.3
66th
4
22.8 +/- 0.1
52nd
4
25.3 +/- 0.1
Median
50th
25.4
Low-Tier
25th
> 30.6
21st
4
31.3 +/- 0.1
11th
4
45.8 +/- 0.3
5th
4
72.3 +/- 0.2
OpenBenchmarking.orgDistribution Of Public Results - WAV To Opus Encode64 Results Range From 16 To 73 Seconds16212631364146515661667176510152025

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 3 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: 2.95 / 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

3 Systems - 15 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 12 - 6.1.0-25-amd64 - X Server 1.20.11

2 Systems - 23 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 12 - 6.1.0-11-amd64 - X Server

2 Systems - 23 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 12 - 6.1.0-11-amd64 - X Server

1 System - 13 Benchmark Results

AMD Ryzen 5 5600G - ASRock B450M Pro4-F R2.0 - AMD Renoir

Ubuntu 24.04 - 6.10.4-061004-generic - GNOME Shell 46.0

1 System - 13 Benchmark Results

AMD Ryzen 5 7600 6-Core - MSI PRO B650M-B - AMD Device 14d8

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

1 System - 13 Benchmark Results

AMD Ryzen 7 5800X 8-Core - GIGABYTE MC12-LE0-00 v01000100 - AMD Starship

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

1 System - 13 Benchmark Results

AMD Ryzen 5 7600 6-Core - MSI PRO B650M-B - AMD Device 14d8

Ubuntu 24.04 - 6.11.0-061100-generic - GNOME Shell 46.0

3 Systems - 46 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P - AMD Device 14d8

Debian 12 - 6.1.0-20-amd64 - LXQt 1.2.0

6 Systems - 344 Benchmark Results

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

Ubuntu 24.10 - 6.11.0-rc6-phx - GNOME Shell 47.0

2 Systems - 54 Benchmark Results

Intel Core Ultra 7 256V - ASUS Zenbook S 14 UX5406SA_UX5406SA UX5406SA v1.0 - Intel Device a87f

Ubuntu 24.10 - 6.11.0-phx - GNOME Shell 47.0

2 Systems - 79 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.10.0-061000rc6daily20240706-generic - GNOME Shell 46.0

4 Systems - 8 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Pop 22.04 - 6.8.0-76060800daily20240311-generic - GNOME Shell 42.5

2 Systems - 55 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

1 System - 1 Benchmark Result

AMD Ryzen 9 5900X 12-Core - ASRock X570 Phantom Gaming 4 - AMD Starship

NobaraLinux 40 - 6.11.0-200.fsync.fc40.x86_64 - KDE Plasma 6.1.4

2 Systems - 2 Benchmark Results

AMD Ryzen 7 5700G - ASRock X470 Gaming K4 - AMD Renoir

Arch Linux - 6.10.10-arch1-1 - GCC 14.2.1 20240910 + Clang 18.1.8 + LLVM 18.1.8

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 95 Benchmark Results

2 x AMD EPYC 9124 16-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

2 Systems - 54 Benchmark Results

Intel Core Ultra 7 256V - ASUS Zenbook S 14 UX5406SA_UX5406SA UX5406SA v1.0 - Intel Device a87f

Ubuntu 24.10 - 6.11.0-phx - GNOME Shell 47.0

3 Systems - 69 Benchmark Results

2 x AMD EPYC 9124 16-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-22-generic - GCC 13.2.0

2 Systems - 79 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.10.0-061000rc6daily20240706-generic - 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

2 Systems - 79 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.10.0-061000rc6daily20240706-generic - 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 - 2 Benchmark Results

AMD Ryzen 7 5700G - ASRock X470 Gaming K4 - AMD Renoir

Arch Linux - 6.10.10-arch1-1 - GCC 14.2.1 20240910 + Clang 18.1.8 + LLVM 18.1.8

2 Systems - 55 Benchmark Results

Intel Core i7-1280P - MSI Prestige 14Evo A12M MS-14C6 - Intel Alder Lake PCH

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

3 Systems - 6 Benchmark Results

Intel Core i7-1185G7 - Dell XPS 13 9310 0DXP1F - Intel Tiger Lake-LP

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

4 Systems - 8 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Pop 22.04 - 6.8.0-76060800daily20240311-generic - GNOME Shell 42.5

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

2 Systems - 54 Benchmark Results

Intel Core Ultra 7 256V - ASUS Zenbook S 14 UX5406SA_UX5406SA UX5406SA v1.0 - Intel Device a87f

Ubuntu 24.10 - 6.11.0-phx - GNOME Shell 47.0

3 Systems - 15 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 12 - 6.1.0-25-amd64 - X Server 1.20.11

Find More Test Results