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

3 Minutes, 50 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.072024.1110K20K30K40K50K
* 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 3 December 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 114 public results since 11 September 2024 with the latest data as of 20 November 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)
93rd
4
16.6 +/- 0.1
Mid-Tier
75th
> 20.1
74th
5
20.2 +/- 0.1
61st
4
22.8 +/- 0.1
57th
4
23.4 +/- 0.1
Median
50th
24.7
41st
4
25.3 +/- 0.1
38th
3
25.8 +/- 3.4
38th
3
25.8 +/- 1.3
Low-Tier
25th
> 30.6
21st
4
31.3 +/- 0.1
10th
4
45.8 +/- 0.3
3rd
4
72.3 +/- 0.2
OpenBenchmarking.orgDistribution Of Public Results - WAV To Opus Encode114 Results Range From 16 To 73 Seconds16212631364146515661667176918273645

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.84 / 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).

 
VMASKMOVPS VPERM2F128 VINSERTF128 VZEROUPPER VBROADCASTSS 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 VINSERTI128 VPERM2I128 VEXTRACTI128 VPERMQ VGATHERDPS VPBROADCASTW VPERMPD VPGATHERQD VPBROADCASTQ
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

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

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
ARMv8 Neoverse-N1 128-Core, AmpereOne 72-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

AMD Ryzen 9 7950X 16-Core - ASUS TUF GAMING X670E-PLUS - 32GB

Ubuntu 24.04.1 LTS - 6.8.0-49-generic - GCC 13.2.0

1 System - 1 Benchmark Result

AMD Ryzen 9 5950X 16-Core - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 3 x 1100GB Virtual Disk

Ubuntu 24.04.1 LTS - 5.15.167.4-microsoft-standard-WSL2 - GCC 13.2.0

3 Systems - 79 Benchmark Results

AMD Ryzen 7 PRO 5850U - LENOVO ThinkPad T14s Gen 2a 20XF004WUS - AMD Renoir

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

3 Systems - 166 Benchmark Results

Intel Core i7-1065G7 - Dell XPS 13 7390 2-in-1 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

2 Systems - 78 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO ThinkPad X13 Gen 3 21CM0001US - AMD 17h-19h PCIe Root Complex

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

2 Systems - 63 Benchmark Results

AMD Ryzen 9 5900HX - ASUS ROG Strix G513QY_G513QY G513QY v1.0 - AMD Renoir

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

3 Systems - 67 Benchmark Results

ARMv8 Neoverse-N1 - System76 Thelio Astra - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 24.04 - 6.8.0-47-generic-64k - GNOME Shell 46.0

3 Systems - 55 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 6.8.0-40-generic - GNOME Shell 42.9

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

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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

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

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

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

3 Systems - 55 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 6.8.0-40-generic - GNOME Shell 42.9

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 - 23 Benchmark Results

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

Debian 12 - 6.1.0-11-amd64 - X Server

Find More Test Results