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

22 October 2022

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

38 Seconds

Average Run Time

1 Minute, 55 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.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.0970K140K210K280K350K
* 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 18 October 2024.

Revision History

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

WAV To FLAC

OpenBenchmarking.org metrics for this test profile configuration based on 1,611 public results since 9 September 2022 with the latest data as of 16 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)
Mid-Tier
75th
> 13
74th
4
13
68th
17
14
68th
9
14 +/- 1
59th
14
15 +/- 2
57th
18
16 +/- 1
57th
6
16 +/- 2
55th
8
17 +/- 2
Median
50th
18
45th
7
20 +/- 2
43rd
22
20 +/- 2
42nd
6
20 +/- 1
37th
8
22 +/- 1
34th
4
23 +/- 1
34th
3
23 +/- 1
31st
3
25 +/- 3
30th
3
26 +/- 3
27th
3
29 +/- 2
26th
6
31 +/- 1
Low-Tier
25th
> 33
19th
4
39 +/- 2
8th
4
80 +/- 11
3rd
8
177 +/- 1
1st
5
443 +/- 5
OpenBenchmarking.orgDistribution Of Public Results - WAV To FLAC1610 Results Range From 2 To 2198 Seconds249961431902372843313784254725195666136607077548018488959429891036108311301177122412711318136514121459150615531600164716941741178818351882192919762023207021172164221130060090012001500

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-Time714212835Min: 1 / Avg: 3.93 / Max: 32

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsWAV To FLACDeviation510152025Min: 0 / Avg: 1.22 / Max: 18

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 BaseFLAC Audio Encoding CPU Core ScalingWAV To FLAC24681012141624640.44170.88341.32511.76682.2085

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)
RISC-V 64-bit
riscv64
SiFive RISC-V, Spacemit X60, rv64imafdcvsu
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000, Loongson-3A6000-HV
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A7 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 3 4-Core
ARMv6 32-bit
armv6l
ARMv7
ARMv8 64-bit
arm64
Apple M1, Apple M2, Apple M2 Max
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 2-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A78E 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 16-Core, ARMv8 Neoverse-N1 160-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2 72-Core, Ampere ARMv8 Neoverse-N1 256-Core, AmpereOne 192-Core, Apple M1, Apple M2, Phytium D2000, Qualcomm, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core, rk1-mainline-emmc, rk1-mainline-nvme, rk1-rok-emmc

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

AMD Ryzen 9 9950X 16-Core - 58GB - 0GB Virtual Disk + 16GB Virtual Disk + 275GB Virtual Disk

Debian GNU - 5.15.153.1-microsoft-standard-WSL2 - Wayland

1 System - 1 Benchmark Result

AMD Ryzen 5 4500U - HP 87B8 v37.21 - AMD Renoir

EndeavourOS rolling - 6.10.10-arch1-1 - KDE Plasma 6.2.0

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

Ubuntu 22.04 - 5.15.0-107-generic - KDE Plasma 5.24.7

6 Systems - 344 Benchmark Results

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

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

1 System - 64 Benchmark Results

Intel Core Ultra 7 256V - ASUS UX5406SA - 8 x 2048MB 8533MHz Samsung

Microsoft Windows 11 Home Build 26100 - 10.0.26100.1742 - 32.0.101.5730

1 System - 1 Benchmark Result

Intel Core i5-5200U - FF50 06F2 - Intel Broadwell-U-OPI

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

19 Systems - 14 Benchmark Results

AMD Embedded G GX-420GI Radeon R7E - HP 8158 - AMD 15h

Debian 11 - 5.10.0-21-amd64 - 1.0.2

19 Systems - 14 Benchmark Results

Intel Pentium Silver J5005 - Dell Wyse 5070 Thin Client [0K6VXP] - Intel Gemini Lake

Debian 11 - 5.10.0-21-amd64 - 1.2.145

19 Systems - 14 Benchmark Results

Intel Pentium Silver J5005 - FUJITSU D3543-A1 - Intel Gemini Lake

Debian 11 - 5.10.0-23-amd64 - 1.2.145

19 Systems - 14 Benchmark Results

AMD Ryzen Embedded R1505G - HP 8523 - AMD Raven

Debian 11 - 5.10.0-21-amd64 - 1.0.2

19 Systems - 14 Benchmark Results

Intel Atom x5-Z8350 - Dell Wyse 3040 Thin Client [0CFFK7] - Intel Atom

Debian 11 - 5.10.0-23-amd64 - 1.2.145

Most Popular Test Results

OpenBenchmarking.org Results Compare

1 System - 64 Benchmark Results

Intel Core Ultra 7 256V - ASUS UX5406SA - 8 x 2048MB 8533MHz Samsung

Microsoft Windows 11 Home Build 26100 - 10.0.26100.1742 - 32.0.101.5730

2 Systems - 21 Benchmark Results

ARMv8 Cortex-A53 - BCM2835 Raspberry Pi 3 Model B Rev 1.2 - 948MB

Ubuntu 22.10 - 5.19.0-1006-raspi - GCC 12.2.0

3 Systems - 109 Benchmark Results

AMD Ryzen 7 7840HS - Framework FRANMZCP07 - 2 x 8192MB 5600MHz A-DATA AD5S56008G-B

Microsoft Windows 11 Home Build 22631 - 10.0.22631.3296 - 31.0.22024.15004

2 Systems - 705 Benchmark Results

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

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

3 Systems - 413 Benchmark Results

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

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

2 Systems - 286 Benchmark Results

Rockchip ARMv8 Cortex-A76 - Orange Pi 5 - 8GB

Ubuntu 22.04 - 5.10.110-rockchip-rk3588 - Xfce 4.16

9 Systems - 113 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

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

2 Systems - 334 Benchmark Results

2 x AMD EPYC 7601 32-Core - Dell 02MJ3T - AMD 17h

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

2 Systems - 361 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

3 Systems - 270 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 11 - 5.10.0-10-amd64 - GNOME Shell 3.38.6

4 Systems - 286 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 400 Rev 1.0 - Broadcom BCM2711

Debian 11 - 5.15.84-v8+ - LXDE

3 Systems - 184 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

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

2 Systems - 98 Benchmark Results

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

Pop 22.04 - 6.7.0-060700-generic - GNOME Shell 42.5

2 Systems - 831 Benchmark Results

AMD Ryzen 7 7840U - Framework FRANMDCP07 - AMD Device 14e8

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

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

Find More Test Results