FLAC Audio Encoding

This test times how long it takes to encode a sample WAV file to FLAC audio format ten times using the --best preset settings.

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

Project Site

xiph.org

Source Repository

github.com

Test Created

6 December 2010

Last Updated

9 September 2022

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

35 Seconds

Average Run Time

40 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 10k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsFLAC Audio Encoding Popularity Statisticspts/encode-flac2010.122011.042011.082011.122012.042012.082012.122013.042013.082013.122014.042014.082014.122015.042015.082015.122016.042016.082016.122017.042017.082017.122018.042018.082018.122019.042019.082019.122020.042020.082020.122021.042021.082021.122022.042022.0860K120K180K240K300K
* 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 30 September 2022.

Revision History

pts/encode-flac-1.8.0   [View Source]   Fri, 09 Sep 2022 10:52:08 GMT
Update against new upstream FLAC 1.4 release. Also new release takes care of FLAC AArch64 issue noted in: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/668

pts/encode-flac-1.7.0   [View Source]   Tue, 28 Sep 2021 16:05:54 GMT
Update against (belated) FLAC 1.3.3 upstream release and add system dependency check for Ogg header.

pts/encode-flac-1.6.0   [View Source]   Sun, 04 Mar 2018 09:38:58 GMT
Update against FLAC 1.3.2 from 1.3.1, add Windows support.

pts/encode-flac-1.5.0   [View Source]   Thu, 27 Nov 2014 14:14:40 GMT
Change encode-flac run times for audio conversion to three due to fast run times on modern CPUs.

pts/encode-flac-1.4.0   [View Source]   Thu, 27 Nov 2014 14:09:10 GMT
Update encode-flac against new upstream FLAC 1.3.1 release.

pts/encode-flac-1.3.0   [View Source]   Fri, 21 Jun 2013 14:40:13 GMT
Update against upstream Xiph.Org FLAC 1.3.0.

pts/encode-flac-1.2.0   [View Source]   Mon, 06 Dec 2010 14:41:03 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Audio Encoding

C/C++ Compiler Tests

Encoding

CPU Massive

Creator Workloads

Single-Threaded


Performance Metrics

Analyze Test Configuration:

FLAC Audio Encoding 1.4

WAV To FLAC

OpenBenchmarking.org metrics for this test profile configuration based on 140 public results since 9 September 2022 with the latest data as of 30 September 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.

OpenBenchmarking.orgDistribution Of Public Results - WAV To FLAC140 Results Range From 10 To 300 Seconds102744617895112129146163180197214231248265282299316306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (FLAC Audio Encoding 1.4 - WAV To FLAC) 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 FLACRun-Time612182430Min: 1 / Avg: 3.69 / Max: 25

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.1%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsWAV To FLACDeviation246810Min: 0 / Avg: 0.14 / Max: 3

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.
 
MOVDQA MOVAPD ADDSD MULSD CVTSI2SD SUBSD MOVUPD UNPCKLPD MULPD ADDPD DIVSD DIVPD UCOMISD SQRTSD PUNPCKLQDQ MOVD ANDPD CVTTSD2SI ANDNPD CMPNLESD ORPD MOVDQU COMISD PSHUFD PADDQ XORPD CVTSD2SS CVTSS2SD PSRLDQ PSLLDQ CVTDQ2PS CVTPD2PS MAXSD PMULUDQ MINSD PSHUFLW CVTDQ2PD SUBPD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PABSD PALIGNR
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 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 VPERMQ VPERM2I128 VPGATHERQQ VPBROADCASTQ VPGATHERQD VPBROADCASTW
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).

 
VFMADD231SD VFMADD231PD VFMADD132SD VFMSUB231SS VFMADD231SS VFMSUB231SD VFMADD213SS VFNMADD231SD VFMADD213SD VFNMADD132SD VFMADD231PS VFMADD132PS VFNMADD132PD
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 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)
ARMv8 64-bit
aarch64
Apple M1, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

Intel Core i5-4430 - MSI B85-G43 - Intel 4th Gen Core DRAM

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

3 Systems - 357 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 357 Benchmark Results

2 Systems - 8 Benchmark Results

AMD Ryzen 9 5950X 16-Core - MSI MEG X570 GODLIKE - AMD Starship

Gentoo 2.9 - 5.19.12-gentoo-harambe-edition - KDE Plasma 5.25.5

2 Systems - 5 Benchmark Results

AMD Ryzen 9 5950X 16-Core - MSI MEG X570 GODLIKE - AMD Starship

Gentoo 2.8 - 5.19.6-gentoo-x86_64 - KDE Plasma 5.25.4

2 Systems - 3 Benchmark Results

Intel Core i5-4590 - LENOVO SHARKBAY - Intel 4th Gen Core DRAM

Ubuntu 20.04 - 5.4.0-126-generic - Xfce 4.14

2 Systems - 3 Benchmark Results

Intel Core i5 450M - Dell 023HKR - Intel Core DRAM

Ubuntu 20.04 - 5.4.0-107-generic - Xfce 4.14

2 Systems - 3 Benchmark Results

Intel Core i5 450M - Dell 023HKR - Intel Core DRAM

Ubuntu 20.04 - 5.4.0-107-generic - Xfce 4.14

13 Systems - 228 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASRock X670E Taichi - AMD Device 14d8

Fedora Linux 36 - 6.0.0-0.rc5.20220914git3245cb65fd91.39.vanilla.1.fc36.x86_64 - GNOME Shell 42.4

2 Systems - 3 Benchmark Results

Intel Core i5 450M - Dell 023HKR - Intel Core DRAM

Ubuntu 20.04 - 5.4.0-107-generic - Xfce 4.14

4 Systems - 361 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 164 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

13 Systems - 333 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

14 Systems - 14 Benchmark Results

AMD G-T56N - HP 17E2 - AMD 14h Root Complex

Debian 11 - 5.10.0-18-amd64 - 1.0.2

13 Systems - 14 Benchmark Results

AMD G-T56N - HP 17E2 - AMD 14h Root Complex

Debian 11 - 5.10.0-18-amd64 - 1.0.2

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 16 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Alder Lake-S PCH

Ubuntu 22.04 - 5.17.0-1013-oem - GNOME Shell 42.2

2 Systems - 13 Benchmark Results

Intel Core i5-12600K - ASUS PRIME Z690-P WIFI D4 - Intel Device 7aa7

Ubuntu 22.04 - 5.19.0-051900rc6daily20220716-generic - GNOME Shell 42.1

3 Systems - 11 Benchmark Results

AMD Ryzen 9 3900X 12-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Ubuntu 20.04 - 5.11.0-rc1-phx - GNOME Shell 3.36.4

4 Systems - 11 Benchmark Results

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

Ubuntu 22.10 - 5.15.0-27-generic - GNOME Shell

7 Systems - 14 Benchmark Results

AMD G-T48E - Inventec D CLASS - AMD 14h Root Complex

Debian 11 - 5.10.0-18-amd64 - 1.0.2

3 Systems - 15 Benchmark Results

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

Ubuntu 22.04 - 5.18.8-051808-generic - GNOME Shell 42.2

3 Systems - 172 Benchmark Results

Intel Core i5-12400 - MSI PRO Z690-A WIFI DDR4 - Intel Device 7aa7

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

3 Systems - 11 Benchmark Results

Apple M1 - Apple Mac mini - 8GB

Arch Linux ARM - 5.19.0-rc7-asahi-2-1-ARCH - KDE Plasma 5.25.4

9 Systems - 113 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 16 Benchmark Results

AMD Ryzen 7 4700U - LENOVO LNVNB161216 - AMD Renoir

Ubuntu 22.04 - 5.18.8-051808-generic - GNOME Shell 42.2

3 Systems - 88 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.17.0-1013-oem - GNOME Shell 42.2

3 Systems - 11 Benchmark Results

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

Arch rolling - 5.19.7-arch1-1 - KDE Plasma 5.25.4

3 Systems - 11 Benchmark Results

Apple M2 - Apple MacBook Air - 8GB

Arch rolling - 5.19.0-rc7-asahi-2-1-ARCH - KDE Plasma 5.25.4

3 Systems - 29 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 21.10 - 5.13.0-52-generic - GNOME Shell 40.5

2 Systems - 705 Benchmark Results

2 x AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

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

Find More Test Results