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.116K12K18K24K30K
* 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 19 November 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 700 public results since 6 April 2024 with the latest data as of 17 November 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
14
110 +/- 1
93rd
8
117 +/- 2
89th
20
137 +/- 3
82nd
8
164 +/- 3
80th
9
168 +/- 1
Mid-Tier
75th
> 173
62nd
8
252 +/- 1
58th
6
262 +/- 17
Median
50th
325
47th
3
377 +/- 1
42nd
4
410 +/- 1
39th
28
423 +/- 2
39th
9
423 +/- 30
30th
18
526 +/- 2
Low-Tier
25th
> 731
25th
11
738 +/- 1
23rd
10
745 +/- 1
22nd
3
828 +/- 1
18th
18
916 +/- 1
17th
13
923 +/- 6
13th
3
1224 +/- 25
12th
3
1336 +/- 2
10th
8
1449 +/- 4
10th
4
1477 +/- 8
9th
4
1529 +/- 6
6th
4
1732 +/- 1
6th
3
1844 +/- 3
1st
4
13813 +/- 2071
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile683 Results Range From 80 To 15720 Seconds80393706101913321645195822712584289732103523383641494462477550885401571460276340665369667279759279058218853188449157947097831009610409107221103511348116611197412287126001291313226135391385214165144781479115104154171573080160240320400

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 26 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: 25.37 / 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.12 / 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 Compile6812166496128192510152025

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

3 Systems - 126 Benchmark Results

AMD EPYC 9965 192-Core - AMD VOLCANO - AMD Device 153a

Ubuntu 24.04 - 6.10.0-phx - GCC 13.2.0

1 System - 21 Benchmark Results

Intel Core i9-14900K - Intel NUC13SBBi9 - Intel Alder Lake-S PCH

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

1 System - 21 Benchmark Results

Intel Core i9-14900K - 80GB - 0GB Virtual Disk + 21GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.167.4-microsoft-standard-WSL2 - Wayland

1 System - 1 Benchmark Result

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - Broadcom BCM2712

Debian 12 - 6.6.51+rpt-rpi-2712 - GCC 12.2.0

1 System - 16 Benchmark Results

Apple M3 Max - Apple MacBook Pro - 36GB

macOS 15.1 - 24.1.0 - GCC 16.0.0 + Clang 16.0.0 + Xcode 16.1

1 System - 16 Benchmark Results

Apple M3 Max - Apple MacBook Pro - 36GB

macOS 15.1 - 24.1.0 - GCC 16.0.0 + Clang 16.0.0 + Xcode 16.1

1 System - 19 Benchmark Results

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

Fedora 41 - 6.11.7-300.fc41.x86_64 - X Server 1.21.1.7

1 System - 21 Benchmark Results

Intel Core i9-14900K - Intel NUC13SBBi9 - Intel Alder Lake-S PCH

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

1 System - 20 Benchmark Results

Intel Core i9-14900K - Intel NUC13SBBi9 - Intel Alder Lake-S PCH

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

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

5 Systems - 464 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

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

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

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

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

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

Debian 12 - 6.1.0-11-amd64 - X Server

Find More Test Results