FLAC Audio Encoding

This test times how long it takes to encode a sample WAV file to FLAC audio format forty 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

11 February 2025

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

40 Seconds

Average Run Time

1 Minute, 55 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 10k+ Public Benchmark Results + Recently Updated Test Profile

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsFLAC Audio Encoding Popularity Statisticspts/encode-flac2010.122011.052011.102012.032012.082013.012013.062013.112014.042014.092015.022015.072015.122016.052016.102017.032017.082018.012018.062018.112019.042019.092020.022020.072020.122021.052021.102022.032022.082023.012023.062023.112024.042024.092025.0280K160K240K320K400K
* 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 11 February 2025.

Revision History

pts/encode-flac-1.9.0   [View Source]   Tue, 11 Feb 2025 08:38:33 GMT
Update against FLAC 1.5 upstream, enable multi-threaded encoding.

pts/encode-flac-1.8.1   [View Source]   Sat, 22 Oct 2022 07:35:52 GMT
Update against FLAC 1.4.2 for latest build system fixes / compiler improvemnts.

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

WAV To FLAC

OpenBenchmarking.org metrics for this test profile configuration based on 21 public results since 11 February 2025 with the latest data as of 11 February 2025.

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)
Mid-Tier
75th
> 14
Median
50th
22
Low-Tier
25th
> 110
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - WAV To FLAC21 Results Range From 11 To 112 Seconds11202938475665748392101110119246810

Based on OpenBenchmarking.org data, the selected test / test configuration (FLAC Audio Encoding 1.5 - WAV To FLAC) has an average run-time of 3 minutes. By default this test profile is set to run at least 3 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-Time246810Min: 1 / Avg: 2.67 / 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.
 
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 CVTPS2PD UNPCKHPD MOVHPD SHUFPD CVTPD2PS MAXSD PMULUDQ MINSD SUBPD PSHUFLW CVTDQ2PD
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 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 VPERMQ VPERM2I128 VPGATHERQQ VPBROADCASTQ VPERMPD VPGATHERQD VPBROADCASTW
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 VFMSUB231SS VFMADD231SS VFMSUB231SD VFNMADD231SD VFNMADD132SD VFNMADD132SS VFMADD132SS VFNMADD231SS 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 November 2022

This test profile binary relies on the shared libraries 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)

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 18 Benchmark Results

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

Ubuntu 24.10 - 6.12.0-rc6-phx-drm-next - GNOME Shell 47.0

3 Systems - 21 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

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

3 Systems - 1 Benchmark Result

AMD EPYC 9655P 96-Core - Supermicro Super Server H13SSL-N v1.01 - AMD 1Ah

Ubuntu 24.10 - 6.13.0-phx - GNOME Shell 47.0

5 Systems - 1 Benchmark Result

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

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

3 Systems - 1 Benchmark Result

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major - AMD Device 14a4

Ubuntu 24.04 - 6.13.0-phx - GNOME Shell 46.0

4 Systems - 1 Benchmark Result

Intel Core Ultra 9 285K - ASUS ROG MAXIMUS Z890 HERO - Intel Device ae7f

Ubuntu 24.10 - 6.11.0-14-generic - GNOME Shell 47.0

4 Systems - 1 Benchmark Result

AMD Ryzen 9 9950X 16-Core - ASRock X870E Taichi - AMD Device 14d8

Ubuntu 24.04 - 6.13.0-phx-250 - GNOME Shell 46.0

1 System - 183 Benchmark Results

Intel Core i9-10940X - HP 81C5 - 4 x 32768MB 2933MHz Micron 16ATF4G64AZ-3G2B1

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.5371 - 561.03

2 Systems - 183 Benchmark Results

Intel Core i9-10940X - HP 81C5 - 4 x 32768MB 2933MHz Micron 16ATF4G64AZ-3G2B1

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.5371 - 561.03

21 Systems - 14 Benchmark Results

Intel Core i3-4010U - Intel D34010WYK - Intel Haswell-ULT DRAM

Debian 11 - 5.10.0-23-amd64 - 1.2.145

21 Systems - 14 Benchmark Results

Intel N150 - AZW EQ - Intel Alder Lake-N PCH

Debian 12 - 6.1.0-28-amd64 - GCC 12.2.0

21 Systems - 14 Benchmark Results

Intel Core Ultra 5 125H - AZW SEi14 - Intel Device 7e7f

Debian 12 - 6.1.0-21-amd64 - GCC 12.2.0

21 Systems - 14 Benchmark Results

Intel Core i3-4010U - Intel D34010WYK - Intel Haswell-ULT DRAM

Debian 11 - 5.10.0-23-amd64 - 1.2.145

21 Systems - 14 Benchmark Results

AMD Ryzen 7 5825U - AMI AMD - AMD Renoir

Debian 12 - 6.1.0-28-amd64 - GCC 12.2.0

21 Systems - 14 Benchmark Results

Intel N97 - HARDKERNEL ODROID-H4 v1.0 - Intel Device 54ef

Debian 12 - 6.1.0-20-amd64 - GCC 12.2.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

5 Systems - 1 Benchmark Result

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

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

3 Systems - 1 Benchmark Result

AMD EPYC 9655P 96-Core - Supermicro Super Server H13SSL-N v1.01 - AMD 1Ah

Ubuntu 24.10 - 6.13.0-phx - GNOME Shell 47.0

4 Systems - 1 Benchmark Result

AMD Ryzen 9 9950X 16-Core - ASRock X870E Taichi - AMD Device 14d8

Ubuntu 24.04 - 6.13.0-phx-250 - GNOME Shell 46.0

3 Systems - 18 Benchmark Results

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

Ubuntu 24.10 - 6.12.0-rc6-phx-drm-next - GNOME Shell 47.0

3 Systems - 1 Benchmark Result

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major - AMD Device 14a4

Ubuntu 24.04 - 6.13.0-phx - GNOME Shell 46.0

4 Systems - 1 Benchmark Result

Intel Core Ultra 9 285K - ASUS ROG MAXIMUS Z890 HERO - Intel Device ae7f

Ubuntu 24.10 - 6.11.0-14-generic - GNOME Shell 47.0

3 Systems - 21 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

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

Find More Test Results