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

29 Seconds

Average Run Time

3 Minutes, 55 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.012013.042013.072013.102014.012014.042014.072014.102015.012015.042015.072015.102016.012016.042016.072016.102017.012017.042017.072017.102018.012018.052018.082018.122019.032019.062019.092019.122020.032020.062020.122021.032021.062021.092021.1230060090012001500
* 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 4 December 2021.

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 724 public results since 20 December 2020 with the latest data as of 5 December 2021.

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)
87th
75
6.2 +/- 0.8
81st
8
6.4 +/- 0.6
80th
54
6.4 +/- 0.6
78th
7
6.5 +/- 0.1
77th
32
6.6 +/- 0.9
Mid-Tier
75th
> 6.7
75th
9
6.8 +/- 0.2
68th
9
7.2 +/- 0.1
65th
6
7.2 +/- 0.1
60th
5
7.5 +/- 0.1
55th
7
7.7 +/- 0.4
51st
10
8.0 +/- 0.2
Median
50th
8.0
45th
3
8.4 +/- 0.1
42nd
11
8.6 +/- 0.4
37th
5
9.0 +/- 0.1
37th
12
9.0 +/- 0.7
33rd
4
9.4 +/- 0.1
33rd
15
9.4 +/- 0.2
28th
6
9.5 +/- 0.1
Low-Tier
25th
> 9.7
25th
3
9.7 +/- 0.1
24th
5
9.7 +/- 0.6
23rd
3
9.8 +/- 0.1
15th
3
10.7 +/- 0.1
7th
4
16.5 +/- 0.2
6th
6
18.2 +/- 0.3
5th
4
29.0 +/- 2.8
2nd
3
43.3 +/- 0.1
1st
4
48.6 +/- 4.4
1st
3
64.0 +/- 2.0
OpenBenchmarking.orgDistribution Of Public Results - WAV To Opus Encode723 Results Range From 2 To 106 Seconds211202938475665748392101110140280420560700

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.04 / Max: 3

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 RunsWAV To Opus EncodeDeviation246810Min: 0 / Avg: 0.24 / 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.46460.92921.39381.85842.323

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 VINSERTI128 VEXTRACTI128 VPERMD 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 VFMADD213PD VFNMADD213SD VFNMADD213PD VFMADD231PD VFNMADD231PD VFMSUB132SD VFMSUB213PS
The test / benchmark does honor compiler flag changes.
Last automated analysis: 30 January 2021

This test profile binary relies on the shared libraries libopusenc.so.0, libopus.so.0, libFLAC.so.8, libogg.so.0, libm.so.6, libsndio.so.7.0, libc.so.6, librt.so.1, libasound.so.2, libbsd.so.0, libpthread.so.0, libdl.so.2.