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

50k+ 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.096K12K18K24K30K
* 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 5 October 2024.

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 594 public results since 6 April 2024 with the latest data as of 3 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)
95th
16
138 +/- 3
88th
8
164 +/- 3
Mid-Tier
75th
> 214
66th
8
252 +/- 1
62nd
6
262 +/- 17
Median
50th
376
50th
3
377 +/- 1
46th
6
406 +/- 20
46th
4
410 +/- 1
42nd
28
423 +/- 2
33rd
18
526 +/- 2
27th
11
738 +/- 1
Low-Tier
25th
> 743
25th
10
745 +/- 1
24th
3
828 +/- 1
20th
18
916 +/- 1
19th
13
923 +/- 6
14th
3
1224 +/- 25
11th
8
1449 +/- 4
10th
4
1477 +/- 8
10th
4
1529 +/- 6
6th
4
1732 +/- 1
6th
3
1844 +/- 3
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile592 Results Range From 84 To 15720 Seconds84397710102313361649196222752588290132143527384041534466477950925405571860316344665769707283759679098222853588489161947497871010010413107261103911352116651197812291126041291713230135431385614169144821479515108154211573470140210280350

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 29 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-Time4080120160200Min: 4 / Avg: 28.36 / Max: 233

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.09 / Max: 2

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 Compile681216643691215

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
ARMv8 64-bit
aarch64
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 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 - 20 Benchmark Results

AMD Ryzen 9 7945HX - Shenzhen Meigao Electronic Equipment Uranus DRFXI - AMD Device 14d8

Ubuntu 22.04 - 5.15.0-122-generic - 1.3.255

1 System - 21 Benchmark Results

AMD EPYC 9384X 32-Core - MiTAC Capri V2 - AMD Device 14a4

Ubuntu 24.04 - 6.8.0-45-generic - GCC 13.2.0

1 System - 1 Benchmark Result

AMD Ryzen 7 5800X 8-Core - GIGABYTE MC12-LE0-00 v01000100 - AMD Starship

Ubuntu 23.10 - 6.5.0-35-generic - GNOME Shell 45.2

1 System - 21 Benchmark Results

AMD Ryzen 9 9950X 16-Core - Gigabyte B650I AORUS ULTRA - AMD Device 14d8

Fedora 40 - 6.10.9-200.fc40.x86_64 - X Server 1.21.1.7

1 System - 21 Benchmark Results

AMD Ryzen 9 9950X 16-Core - Gigabyte B650I AORUS ULTRA - AMD Device 14d8

Fedora 40 - 6.10.9-200.fc40.x86_64 - X Server 1.21.1.7

1 System - 21 Benchmark Results

AMD Ryzen 9 9950X 16-Core - Gigabyte B650I AORUS ULTRA - AMD Device 14d8

Fedora 40 - 6.10.9-200.fc40.x86_64 - X Server 1.21.1.7

1 System - 21 Benchmark Results

AMD Ryzen 9 9950X 16-Core - Gigabyte B650I AORUS ULTRA - AMD Device 14d8

Fedora 40 - 6.10.9-200.fc40.x86_64 - X Server 1.21.1.7

1 System - 336 Benchmark Results

AmpereOne - Supermicro ARS-211M-NR R13SPD v1.02 - Ampere Computing LLC Device e208

Ubuntu 24.04 - 6.8.0-39-generic-64k - GCC 13.2.0

1 System - 20 Benchmark Results

AMD Ryzen 7 3700X 8-Core - MSI B450M PRO-M2 - AMD Starship

Linuxmint 21.3 - 6.5.0-35-generic - Cinnamon 6.0.4

1 System - 20 Benchmark Results

AMD Ryzen 7 PRO 7840U - LENOVO ThinkPad X13 Gen 4 21J3CTO1WW - AMD Device 14e8

Linuxmint 21.3 - 6.5.0-1020-oem - Cinnamon 6.0.4

2 Systems - 21 Benchmark Results

AMD Ryzen 9 3900X 12-Core - QEMU Standard PC - Intel 82G33

Debian 12 - 6.1.0-23-amd64 - KDE Plasma 5.27.5

1 System - 21 Benchmark Results

Intel Core Ultra 7 165H - HP ZBook Firefly 16 h G11 Mobile Workstation PC 8CD1 - Intel Device 7e7f

Linuxmint 22 - 6.8.0-38-generic - Cinnamon 6.2.9

1 System - 337 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 m7g.2xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-1008-aws - 4.5 Mesa 24.0.9-0ubuntu0.1

1 System - 878 Benchmark Results

1 System - 1586 Benchmark Results

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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 - 552 Benchmark Results

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

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

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

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 - 37 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 22.04 - 6.5.0-26-generic - GNOME Shell 42.2

2 Systems - 28 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 12 - 6.1.0-11-amd64 - X Server

2 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 - 87 Benchmark Results

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

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

Find More Test Results