FLAC Audio Encoding

This test times how long it takes to encode a sample WAV file to FLAC format five times.

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

Project Site

xiph.org

Test Created

6 December 2010

Last Updated

4 March 2018

Test Maintainer

Michael Larabel 

Test Type

Average Install Time

39 Seconds

Average Run Time

59 Seconds

Accolades

250k+ 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.0450K100K150K200K250K
* 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 15 June 2021.

Revision History

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

WAV To FLAC

OpenBenchmarking.org metrics for this test profile configuration based on 5,280 public results since 4 March 2018 with the latest data as of 14 June 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)
88th
126
8 +/- 1
88th
51
8 +/- 1
83rd
11
9 +/- 1
82nd
11
9 +/- 1
81st
28
9 +/- 1
77th
23
9 +/- 1
76th
15
9 +/- 1
Mid-Tier
75th
> 9
75th
16
9 +/- 1
75th
17
9 +/- 1
73rd
10
9 +/- 1
73rd
4
10 +/- 1
72nd
34
10 +/- 1
71st
4
10 +/- 1
68th
129
10 +/- 1
63rd
13
10 +/- 1
63rd
77
10 +/- 1
60th
32
10 +/- 1
58th
13
10 +/- 1
58th
4
10 +/- 2
58th
13
11 +/- 1
58th
3
11 +/- 1
57th
19
11 +/- 1
56th
12
11 +/- 1
55th
13
11 +/- 1
54th
6
11 +/- 1
52nd
9
11 +/- 1
51st
22
12 +/- 2
Median
50th
12
50th
3
12 +/- 1
49th
5
12 +/- 2
48th
18
12 +/- 1
46th
28
12 +/- 1
45th
45
12 +/- 1
45th
4
12 +/- 1
44th
17
12 +/- 2
44th
12
13 +/- 1
43rd
16
13 +/- 1
42nd
4
13 +/- 1
41st
15
13 +/- 2
41st
7
13 +/- 2
40th
22
13 +/- 1
38th
31
14 +/- 1
37th
6
14 +/- 1
37th
8
14 +/- 2
36th
16
14 +/- 2
34th
5
15 +/- 1
32nd
5
16 +/- 2
32nd
8
16 +/- 2
32nd
6
16 +/- 1
32nd
4
16 +/- 1
31st
3
16 +/- 2
31st
3
16 +/- 1
31st
4
16 +/- 2
30th
9
17 +/- 1
29th
7
17 +/- 1
29th
28
17 +/- 1
28th
4
17 +/- 1
27th
3
18 +/- 1
26th
3
18 +/- 1
26th
3
18 +/- 2
Low-Tier
25th
> 19
25th
3
19 +/- 3
25th
3
19 +/- 2
24th
3
20 +/- 2
24th
16
20 +/- 1
22nd
3
21 +/- 2
21st
10
22 +/- 3
21st
13
22 +/- 3
21st
3
23 +/- 2
20th
3
24 +/- 1
19th
5
24 +/- 1
18th
6
27 +/- 1
17th
4
28 +/- 2
16th
3
32 +/- 1
16th
3
34 +/- 1
15th
3
36 +/- 1
15th
3
37 +/- 2
14th
14
43 +/- 4
14th
7
44 +/- 6
14th
3
44 +/- 1
13th
3
46 +/- 1
13th
3
48 +/- 4
12th
9
52 +/- 7
10th
6
66 +/- 7
10th
4
72 +/- 5
7th
3
98 +/- 3
6th
18
105 +/- 14
5th
26
112 +/- 12
5th
6
115 +/- 2
2nd
4
317 +/- 6
1st
14
494 +/- 53
OpenBenchmarking.orgDistribution Of Public Results - WAV To FLAC5280 Results Range From 5 To 1414 Seconds5438111915719523327130934738542346149953757561365168972776580384187991795599310311069110711451183122112591297133513731411144910002000300040005000

Based on OpenBenchmarking.org data, the selected test / test configuration (FLAC Audio Encoding 1.3.2 - WAV To FLAC) has an average run-time of 2 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-Time612182430Min: 1 / Avg: 2.19 / Max: 25

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsWAV To FLACDeviation48121620Min: 0 / Avg: 0.97 / Max: 16

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseFLAC Audio Encoding CPU Core ScalingWAV To FLAC2468121620243248641.10832.21663.32494.43325.5415

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 MULSD ADDSD CVTSI2SD SUBSD UNPCKLPD DIVSD UCOMISD SQRTSD PUNPCKLQDQ ANDPD CVTTSD2SI ANDNPD CMPNLESD ORPD MOVDQU MOVD COMISD PADDQ XORPD CVTSD2SS CVTSS2SD PSRLDQ PSHUFD PSLLDQ CVTDQ2PS CVTPD2PS MAXSD PMULUDQ MINSD CVTDQ2PD SUBPD DIVPD MULPD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PABSD PALIGNR PHADDD
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 VINSERTI128 VEXTRACTI128 VPERMD VPERMQ VPERM2I128 VPBROADCASTQ VPGATHERQD
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231SD VFMADD132SD VFMSUB231SS VFMADD231SS VFMSUB231SD VFMADD213SS VFNMADD231SD VFNMADD132SD VFMADD213SD VFMADD231PS VFMADD132PS VFNMADD132PD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 10 May 2021

This test profile binary relies on the shared libraries libFLAC.so.8, libm.so.6, libc.so.6.

Recent Test Results

OpenBenchmarking.org Results Compare

31 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - Gigabyte B450 AORUS M - AMD Family 17h

Fedora 30 - 5.3.8-200.fc30.x86_64 - KDE Plasma 5.15.5

35 Systems - 69 Benchmark Results

AMD Ryzen 9 5900X 12-Core - Gigabyte X570 AORUS PRO - AMD Starship

Arch rolling - 5.12.7-nitrous-fire+ - KDE Plasma 5.22.0

30 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - Gigabyte B450 AORUS M - AMD Family 17h

Fedora 30 - 5.2.18-200.fc30.x86_64 - KDE Plasma 5.15.5

32 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - Gigabyte B450 AORUS M - AMD 17h

Fedora 31 - 5.5.17-200.fc31.x86_64 - KDE Plasma 5.17.5

31 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - Gigabyte B450 AORUS M - AMD Family 17h

Fedora 30 - 5.2.5-200.fc30.x86_64 - KDE Plasma 5.15.5

2 Systems - 118 Benchmark Results

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

Fedora 34 - 5.12.9-300.fc34.x86_64 - GNOME Shell 40.1

31 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - ASUS ROG CROSSHAIR VII HERO - AMD Family 17h

Ubuntu 18.04 - 4.17.0-999-generic - GNOME Shell 3.28.1

7 Systems - 28 Benchmark Results

ARMv7 rev 3 - BCM2835 Raspberry Pi 4 Model B Rev 1.1 - 2048MB

Raspbian 10 - 4.19.50-v7l+ - LXDE 0.10.0

30 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - Gigabyte B450 AORUS M - AMD 17h

Fedora 31 - 5.4.17-200.fc31.x86_64 - KDE Plasma 5.17.5

29 Systems - 69 Benchmark Results

AMD Ryzen 5 2600 Six-Core - Gigabyte B450 AORUS M - AMD Family 17h

Fedora 30 - 5.3.6-200.fc30.x86_64 - KDE Plasma 5.15.5

3 Systems - 1 Benchmark Result

Intel Core i9-9900K - EVGA 121-KS-E375 v1.0 - Intel 8th

Gentoo 2.7 - 5.11.15-zen1 - X Server 1.20.11

17 Systems - 43 Benchmark Results

ARMVv8 Cortex-A53 - Libre Board ALL-H3-CC H5 - 2048MB

Raspbian 9.4 - 4.18.0-rc3-gfc36def997cf-dirty - X Server 1.19.2

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 268 Benchmark Results

Intel Core i5-2520M - HP 161C - Intel 2nd Generation Core DRAM

Ubuntu 18.04 - 4.18.0-20-generic - GNOME Shell 3.28.3

2 Systems - 535 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Device 34ef

Ubuntu 20.04 - 5.9.0-050900rc7daily20201003-generic - GNOME Shell 3.36.4

11 Systems - 217 Benchmark Results

Intel Core i5-10600K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 20.04 - 5.9.0-050900-generic - GNOME Shell 3.36.4

4 Systems - 55 Benchmark Results

AMD Ryzen 3 3200U - MOTILE PF4PU1F - AMD Raven

Fedora 31 - 5.4.15-200.fc31.x86_64 - GNOME Shell 3.34.3

4 Systems - 99 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 20.10 - 5.9.1-050901-generic - GNOME Shell 3.38.1

1 System - 538 Benchmark Results

ARMv7 rev 1 - Marvell Armada 380/385 - 2048MB

Debian GNU - 4.4.0+ - GCC 4.9.2

1 System - 201 Benchmark Results

Unknown - Pine64 Rock64 - 4096MB

Ubuntu 18.04 - 4.4.120-rockchip-ayufan-213 - GCC 7.3.0

1 System - 476 Benchmark Results

Unknown - Marvell 8040 MACCHIATOBin - 16384MB

Ubuntu 18.04 - 4.14.22-150490-gd265712 - GCC 7.3.0

1 System - 855 Benchmark Results

Intel Core i5-5300U - LENOVO Intel powered classmate PC - Intel Broadwell-U-OPI

Kali kali-rolling - 4.15.0-kali3-amd64 - GNOME Shell 3.28.0

1 System - 1269 Benchmark Results

Intel Core i5-4570 - ASRock Z87 Extreme4 - Intel 4th Gen Core DRAM

Ubuntu 18.04 - 4.15.0-20-generic - GNOME Shell 3.28.1

1 System - 813 Benchmark Results

ARMv7 rev 5 - BCM2835 Raspberry Pi 2 Model B Rev 1.1 - 927MB

Raspbian 9.4 - 4.14.34-v7+ - GCC 6.3.0 20170516

12 Systems - 209 Benchmark Results

AMD Ryzen 7 2700 Eight-Core - Gigabyte AB350N-Gaming WIFI-CF - AMD 17h

Ubuntu 19.04 - 5.2.0-999-generic - GNOME Shell 3.32.1

Find More Test Results