Glibc Benchmarks

The GNU C Library project provides the core libraries for the GNU system and GNU/Linux systems, as well as many other systems that use Linux as the kernel. These libraries provide critical APIs including ISO C11, POSIX.1-2008, BSD, OS-specific APIs and more. This test profile makes use of Glibc's "benchtests" integrated benchmark suite.

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

Project Site

Source Repository

Test Created

29 June 2017

Last Updated

18 May 2024

Test Maintainer

Michael Larabel 

Test Type


Average Install Time

2 Minutes, 15 Seconds

Average Run Time

17 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Bison


100k+ Downloads + 5k+ Public Benchmark Results

Supported Platforms

Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsGlibc Benchmarks Popularity Statisticspts/glibc-bench2017.062017.092017.122018.032018.062018.092018.122019.032019.062019.092019.122020.032020.062020.092020.122021.032021.062021.092021.122022.032022.062022.092022.122023.032023.062023.092023.122024.032024.0640K80K120K160K200K
* Uploading of benchmark result data to 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 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 23 July 2024.
sqrt11.0%ffs9.6%cos9.6%ffsll40.0%pthread_once11.9%tanh8.6%sin9.3%Benchmark Option

Revision History

pts/glibc-bench-1.9.0   [View Source]   Sat, 18 May 2024 11:08:50 GMT
Update against latest upstream.

pts/glibc-bench-1.8.0   [View Source]   Fri, 17 Mar 2023 13:18:42 GMT
Update against Glibc 2.37 for build fixes on newer distros.

pts/glibc-bench-1.7.2   [View Source]   Sat, 21 May 2022 05:35:27 GMT
Add bison and gaw as external dependencies.

pts/glibc-bench-1.7.1   [View Source]   Sat, 21 May 2022 04:52:37 GMT
Update against glibc 2.35 upstream benchtests, build from source so non-x86_64 support too. Fixes:

pts/glibc-bench-1.6.1   [View Source]   Tue, 03 Sep 2019 20:08:13 GMT
Add more test options per

pts/glibc-bench-1.6.0   [View Source]   Sat, 01 Dec 2018 09:01:20 GMT

pts/glibc-bench-1.5.1   [View Source]   Mon, 07 May 2018 15:33:25 GMT
Add cos and sin tests

pts/glibc-bench-1.5.0   [View Source]   Thu, 29 Jun 2017 11:24:53 GMT
Initial commit.

Suites Using This Test

CPU Massive

Server CPU Tests


Performance Metrics

Analyze Test Configuration:

glibc bench 1.0

Benchmark: ffsll metrics for this test profile configuration based on 4,157 public results since 1 December 2018 with the latest data as of 7 March 2024.

OpenBenchmarking.orgDistribution Of Public Results - Benchmark: ffsll4157 Results Range From 0 To 33 nanoseconds3691215182124273033365001000150020002500

Based on data, the selected test / test configuration (glibc bench 1.0 - Benchmark: ffsll) 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 BenchmarkBenchmark: ffsllRun-Time246810Min: 1 / Avg: 1.19 / Max: 3

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBenchmark: ffsllDeviation246810Min: 0 / Avg: 0.66 / Max: 6

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 BaseGlibc Benchmarks CPU Core ScalingBenchmark: ffsll2468161832640.43130.86261.29391.72522.1565

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful 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
(Many Processors)

Recent Test Results Results Compare

1 System - 27 Benchmark Results

Intel Core i9-13900K - ASUS ProArt Z790-CREATOR WIFI - Intel Device 7a27

Clear Linux OS 38020 - 5.15.86-30.lts2021 - GCC 12.2.1 20230105 releases

Find More Test Results