Timed Node.js Compilation

This test profile times how long it takes to build/compile Node.js itself from source. Node.js is a JavaScript run-time built from the Chrome V8 JavaScript engine while itself is written in C/C++.

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

Project Site

nodejs.org

Source Repository

github.com

Test Created

17 March 2021

Last Updated

6 April 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

12 Minutes, 51 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Python + OpenSSL

Accolades

60k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsTimed Node.js Compilation Popularity Statisticspts/build-nodejs2021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032024.052024.072024.092024.112025.016K12K18K24K30K
* 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 14 February 2025.

Revision History

pts/build-nodejs-1.4.0   [View Source]   Sat, 06 Apr 2024 09:15:19 GMT
Update against latest upstream to fix Python 3.12.

pts/build-nodejs-1.3.0   [View Source]   Wed, 22 Mar 2023 13:36:14 GMT
Update against Node.js 19.8.1 for GCC 13 and Python 3.11 build fixes.

pts/build-nodejs-1.2.0   [View Source]   Thu, 01 Sep 2022 13:25:45 GMT
Update against Node.js 18.8 upstream to address GCC 12 build issues.

pts/build-nodejs-1.1.1   [View Source]   Wed, 29 Dec 2021 15:07:17 GMT
interim.sh change to accommodate upstream difference around cleaning and building Node.js

pts/build-nodejs-1.1.0   [View Source]   Wed, 29 Dec 2021 14:16:39 GMT
Update against nodejs 17.3 upstream to enable Python 3.10 compatibility.

pts/build-nodejs-1.0.0   [View Source]   Wed, 17 Mar 2021 12:54:33 GMT
Add Node.js timed compilation benchmark.

Suites Using This Test

Timed Code Compilation

Multi-Core

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

Timed Node.js Compilation 21.7.2

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 791 public results since 6 April 2024 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)
94th
14
110 +/- 1
89th
31
116 +/- 10
89th
8
117 +/- 2
84th
20
137 +/- 3
77th
8
164 +/- 3
Mid-Tier
75th
> 168
75th
9
168 +/- 1
59th
8
252 +/- 1
55th
6
262 +/- 17
Median
50th
299
44th
3
377 +/- 1
41st
4
410 +/- 1
38th
28
423 +/- 2
35th
10
426 +/- 31
29th
18
526 +/- 2
Low-Tier
25th
> 668
23rd
11
738 +/- 1
22nd
10
745 +/- 1
21st
3
828 +/- 1
18th
18
916 +/- 1
17th
13
923 +/- 6
14th
6
1090 +/- 3
12th
3
1224 +/- 25
11th
3
1336 +/- 2
10th
8
1449 +/- 4
9th
4
1477 +/- 8
9th
4
1529 +/- 6
6th
4
1732 +/- 1
5th
3
1844 +/- 3
1st
4
13813 +/- 2071
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile791 Results Range From 80 To 44333 Seconds809661852273836244510539662827168805489409826107121159812484133701425615142160281691417800186861957220458213442223023116240022488825774266602754628432293183020431090319763286233748346343552036406372923817839064399504083641722426084349444380140280420560700

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Node.js Compilation 21.7.2 - Time To Compile) has an average run-time of 27 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 BenchmarkTime To CompileRun-Time50100150200250Min: 4 / Avg: 26.02 / Max: 294

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation246810Min: 0 / Avg: 0.13 / Max: 4

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does 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.

OpenBenchmarking.orgRelative Core Scaling To BaseTimed Node.js Compilation CPU Core ScalingTime To Compile681216326496128192510152025

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)
ARMv8 64-bit
arm64
Apple M1, Apple M3 Max, Apple M4, Apple M4 Pro
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-Core, ARMv8 Neoverse-V2 96-Core, AmpereOne, AmpereOne 128-Core, AmpereOne 160-Core, AmpereOne 192-Core, AmpereOne 32-Core, AmpereOne 64-Core, AmpereOne 72-Core, AmpereOne 96-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 139 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-52-lowlatency - KDE Plasma 5.27.11

1 System - 151 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-52-lowlatency - KDE Plasma 5.27.11

1 System - 151 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASUS PRIME X670-P WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-52-lowlatency - KDE Plasma 5.27.11

1 System - 1 Benchmark Result

AMD Ryzen 7 PRO 8840HS - 16GB - 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 20.04 - 5.15.167.4-microsoft-standard-WSL2 - Wayland

1 System - 278 Benchmark Results

AMD Ryzen 5 8500G - ASUS PRIME X670-P WIFI - AMD Device 14e8

Ubuntu 24.04 - 6.8.0-52-lowlatency - KDE Plasma 5.27.11

1 System - 21 Benchmark Results

AMD Ryzen 5 8500G - ASUS PRIME X670-P WIFI - AMD Device 14e8

Ubuntu 24.04 - 6.8.0-52-lowlatency - KDE Plasma 5.27.11

1 System - 96 Benchmark Results

Intel Core Ultra 7 265KF - Gigabyte Z890M GAMING X - Intel Device ae7f

ManjaroLinux 25.0.0 - 6.13.0-1-MANJARO - KDE Plasma

1 System - 21 Benchmark Results

AMD Ryzen 9 3900X 12-Core - MSI B550-A PRO - AMD Starship

openSUSE 20250128 - 6.13.0-111.gb338842.unlimited_power-default - X Server 1.21.1.15

1 System - 21 Benchmark Results

AMD Ryzen 5 4500 6-Core - MSI B550-A PRO - AMD Renoir

openSUSE 20250125 - 6.13.0-7.g1513344-default - Sway 1.10

1 System - 92 Benchmark Results

AMD Ryzen 9 9900X 12-Core - Gigabyte B650 EAGLE AX - AMD Device 14d8

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

1 System - 1 Benchmark Result

AMD Ryzen 7 PRO 4750U - LENOVO ThinkPad P14s Gen 1 20Y1S00E00 - AMD Renoir

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

1 System - 1 Benchmark Result

AMD Ryzen 9 5950X 16-Core - MSI B550 GAMING GEN3 - AMD Starship

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

1 System - 1 Benchmark Result

Intel Core Ultra 9 185H - 32GB - 9GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 20.04 - 5.15.167.4-microsoft-standard-WSL2 - Wayland

1 System - 16 Benchmark Results

Apple M4 Pro - Apple Mac mini - 24GB

macOS 15.2 - 24.2.0 - OpenCL 1.2

Most Popular Test Results

OpenBenchmarking.org Results Compare

73 Systems - 527 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Intel S2600CW - Intel Xeon E7 v4

Arch Linux - 6.9.7-arch1-1 - GCC 14.1.1 20240522

2 Systems - 71 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO ThinkPad X13 Gen 3 21CM0001US - AMD 17h-19h PCIe Root Complex

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

2 Systems - 552 Benchmark Results

2 Systems - 55 Benchmark Results

AMD EPYC 9R14 - Amazon EC2 r7a.16xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

5 Systems - 464 Benchmark Results

AMD EPYC 4364P 8-Core - Supermicro AS-3015A-I H13SAE-MF v1.00 - AMD Device 14d8

Ubuntu 24.04 - 6.8.0-11-generic - GNOME Shell 45.3

5 Systems - 55 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 r7g.16xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

2 Systems - 55 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.16xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

2 Systems - 87 Benchmark Results

ARMv8 Cortex-A72 - Amazon EC2 a1.metal - 32GB

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

2 Systems - 58 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

2 Systems - 37 Benchmark Results

Intel Xeon E E-2488 - Supermicro Super Server X13SCL-F v0123456789 - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-11-generic - GNOME Shell 45.3

44 Systems - 425 Benchmark Results

Intel Core i7-14700K - ASUS ProArt B760-CREATOR - Intel Device 7a27

SystemRescue 10.01 - 6.1.30-1-lts - X Server 1.21.1.8

4 Systems - 87 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 r7g.metal - 8 x 64GB DDR5-4400MT

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

3 Systems - 28 Benchmark Results

AMD Ryzen 7 7840U - PHX Swift SFE16-43 Ray_PEU - AMD Device 14e8

Tuxedo 22.04 - 6.5.0-10022-tuxedo - KDE Plasma 5.27.10

4 Systems - 28 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Ubuntu 23.10 - 6.8.0-phx - GNOME Shell 45.1

Find More Test Results