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.042021.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 21 September 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,478 public results since 4 March 2018 with the latest data as of 21 September 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)
97th
9
7 +/- 1
87th
126
8 +/- 1
87th
51
8 +/- 1
82nd
11
9 +/- 1
80th
11
9 +/- 1
80th
28
9 +/- 1
76th
23
9 +/- 1
Mid-Tier
75th
> 9
74th
16
9 +/- 1
74th
16
9 +/- 1
73rd
17
9 +/- 1
72nd
10
9 +/- 1
72nd
4
10 +/- 1
70th
34
10 +/- 1
70th
4
10 +/- 1
67th
129
10 +/- 1
62nd
13
10 +/- 1
62nd
77
10 +/- 1
59th
32
10 +/- 1
58th
13
10 +/- 1
58th
4
10 +/- 2
57th
13
11 +/- 1
57th
3
11 +/- 1
56th
19
11 +/- 1
55th
12
11 +/- 1
54th
13
11 +/- 1
53rd
6
11 +/- 1
51st
9
11 +/- 1
Median
50th
11
50th
23
12 +/- 2
50th
3
12 +/- 1
49th
5
12 +/- 2
47th
18
12 +/- 1
45th
28
12 +/- 1
44th
45
12 +/- 1
44th
4
12 +/- 1
44th
17
12 +/- 2
44th
5
13 +/- 1
43rd
12
13 +/- 1
42nd
16
13 +/- 1
41st
14
13 +/- 1
40th
15
13 +/- 2
40th
7
13 +/- 2
39th
22
13 +/- 1
38th
31
14 +/- 1
37th
6
14 +/- 1
37th
8
14 +/- 2
36th
16
14 +/- 2
34th
6
15 +/- 1
32nd
5
16 +/- 2
32nd
8
16 +/- 2
31st
4
16 +/- 1
30th
3
16 +/- 2
30th
7
16 +/- 1
30th
3
16 +/- 1
30th
4
16 +/- 2
30th
11
16 +/- 1
29th
7
17 +/- 1
28th
28
17 +/- 1
27th
4
17 +/- 1
27th
3
18 +/- 1
26th
3
18 +/- 1
Low-Tier
25th
> 18
25th
3
18 +/- 2
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
17th
9
28 +/- 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 FLAC5475 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.21 / Max: 26

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsWAV To FLACDeviation48121620Min: 0 / Avg: 0.95 / 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 FLAC246812161820243248641.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

1 System - 47 Benchmark Results

Unknown - 2048MB - 25GB

Ubuntu 20.04 - 5.4.0-74-generic - 1.0.2

2 Systems - 67 Benchmark Results

SiFive RISC-V - SiFive HiFive Unmatched A00 - 16GB

Ubuntu 21.04 - 5.11.0-1018-generic - GNOME Shell 3.38.4

1 System - 144 Benchmark Results

Intel Core i3-8100T - LENOVO 313D - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.11.0-27-generic - GNOME Shell 3.36.9

1 System - 5 Benchmark Results

Intel Core i7-9750H - Dell 0VYV0G - Intel Cannon Lake PCH

Arch rolling - 5.14.6-arch1-1 - X Server 1.20.10

1 System - 1 Benchmark Result

Intel Core i7-3720QM - LENOVO 2441B29 - Intel 3rd Gen Core DRAM

Gentoo 2.7 - 5.10.61-gentoo-W530_20210913v00-voluntary_preempt - KDE Plasma 5.22.5

1 System - 102 Benchmark Results

SiFive RISC-V - SiFive HiFive Unmatched A00 - 16GB

Ubuntu 21.04 - 5.11.0-1018-generic - GCC 10.3.0

21 Systems - 11 Benchmark Results

ARMv7 rev 4 - BCM2709 Raspberry Pi 3 Model B Rev 1.2 - 925MB

Raspbian GNU - 4.1.20-v7+ - GCC 4.9.2

1 System - 5 Benchmark Results

21 Systems - 11 Benchmark Results

ARMv7 rev 5 - sun8i - 495MB

Ubuntu 15.10 - 3.4.39-h3 - GCC 5.2.1 20151010

12 Systems - 121 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel Device 3ec2

Ubuntu 18.04 - 4.18.0-999-generic - GNOME Shell 3.28.2

14 Systems - 37 Benchmark Results

AMD Ryzen 7 4700U - LENOVO 20T6002VRI - AMD Renoir Root Complex

Slackware 14.2 x86_64 - 5.12.14-bs5 - KDE Plasma 5.22.2

6 Systems - 133 Benchmark Results

Intel Core i9-9900KS - ASUS PRIME Z390-A - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.4.0-9-generic - GNOME Shell 3.34.3

1 System - 1 Benchmark Result

AMD FX-8150 Eight-Core - Gigabyte GA-990XA-UD3 - AMD RD9x0

Ubuntu 20.04 - 5.14.2-xanmod1-cacule - GNOME Shell 3.36.9

3 Systems - 15 Benchmark Results

Intel Core i5-2410M - Dell 0YR8NN - Intel 2nd Generation Core DRAM

Ubuntu 20.04 - 5.4.0-72-generic - GNOME Shell 3.36.7

5 Systems - 74 Benchmark Results

Intel Core i3-10100 - Gigabyte B460M DS3H - Intel Device 9b63

Debian 10 - 4.19.0-9-amd64 - X Server 1.20.4

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

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

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

11 Systems - 217 Benchmark Results

AMD Ryzen 5 3600X 6-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

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

Ubuntu 20.10 - 5.9.2-050902-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 - 476 Benchmark Results

Unknown - Marvell 8040 MACCHIATOBin - 16384MB

Ubuntu 18.04 - 4.14.22-150490-gd265712 - GCC 7.3.0

1 System - 201 Benchmark Results

Unknown - Pine64 Rock64 - 4096MB

Ubuntu 18.04 - 4.4.120-rockchip-ayufan-213 - 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

2 Systems - 7 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.4 - 8GB

Debian 10 - 5.4.42-v8+ - X Server 1.20.4

12 Systems - 209 Benchmark Results

AMD Ryzen 3 2200G - MSI B350M GAMING PRO - AMD Device 15d0

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

3 Systems - 30 Benchmark Results

MIPS P5600 V3.0 FPU V2.0 - Baikal-T1 BFK3 evaluation board - 2048MB

Debian 9.3 - 4.4.100-bfk3 - GCC 6.3.0 20170516 + Clang 3.8.1-24 + LLVM 3.8.1

Find More Test Results