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.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.042024.052024.062024.076K12K18K24K30K
* 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 24 July 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 456 public results since 6 April 2024 with the latest data as of 24 July 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)
Mid-Tier
75th
> 247
73rd
8
252 +/- 1
68th
6
262 +/- 17
57th
3
377 +/- 1
52nd
6
406 +/- 20
51st
4
410 +/- 1
Median
50th
421
47th
28
423 +/- 2
36th
18
526 +/- 2
28th
11
738 +/- 1
26th
10
745 +/- 1
Low-Tier
25th
> 746
24th
3
828 +/- 1
19th
18
916 +/- 1
18th
13
923 +/- 6
13th
3
1224 +/- 25
11th
8
1449 +/- 4
10th
4
1477 +/- 8
9th
4
1529 +/- 6
6th
4
1732 +/- 1
6th
3
1844 +/- 3
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile456 Results Range From 114 To 15720 Seconds114427740105313661679199223052618293132443557387041834496480951225435574860616374668770007313762679398252856588789191950498171013010443107561106911382116951200812321126341294713260135731388614199145121482515138154511576460120180240300

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: 6 / Avg: 28.5 / Max: 233

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

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 529 Benchmark Results

1 System - 529 Benchmark Results

1 System - 21 Benchmark Results

Intel Core i9-14900K - ASUS ROG STRIX Z790-E GAMING WIFI II - Intel Device 7a27

Ubuntu 22.04 - 6.5.0-44-generic - GNOME Shell 42.9

2 Systems - 87 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.metal-24xl - 12 x 64GB DDR5-5600MT

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 88 Benchmark Results

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

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 21 Benchmark Results

2 x Intel Xeon Gold 6348 - Supermicro X12DPi-N6 v1.01 - Intel Device 0998

CentOS 7.9.2009 - 3.10.0-1160.119.1.el7.x86_64 - GNOME Shell 3.28.3

1 System - 21 Benchmark Results

Unknown - Huawei BC82AMDYA - Huawei HiSilicon

Ubuntu 22.04 - 5.15.0-106-generic - 4.5 Mesa 23.2.1-1ubuntu3.1~22.04.2

1 System - 84 Benchmark Results

Intel Core i5-8600K - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-113-generic - GNOME Shell 3.36.9

1 System - 1 Benchmark Result

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

Ubuntu 24.04 - 6.8.0-1007-raspi - GCC 13.2.0

1 System - 96 Benchmark Results

AMD Ryzen 5 5600G - ASUS TUF GAMING B550M-E WIFI - AMD Renoir

Arch rolling - 6.9.10-arch1-1.1 - GNOME Shell 46.3.1

1 System - 21 Benchmark Results

16 x AMD Ryzen 7 5700G - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 6.5.0-41-generic - GNOME Shell 42.9

1 System - 21 Benchmark Results

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

Ubuntu 22.04 - 6.5.0-41-generic - GNOME Shell 42.9

2 Systems - 84 Benchmark Results

AMD Ryzen 7 5800H - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-113-generic - GNOME Shell 3.36.9

1 System - 389 Benchmark Results

AMD Ryzen Threadripper 7970X 32-Cores - ASRock TRX50 WS - AMD Device 14a4

Debian 12 - 6.1.0-22-amd64 - GNOME Shell 43.9

1 System - 1 Benchmark Result

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

Debian 12 - 6.6.31+rpt-rpi-2712 - X Server + Wayland

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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

3 Systems - 43 Benchmark Results

2 x INTEL XEON PLATINUM 8592+ - Quanta Cloud QuantaGrid D54Q-2U S6Q-MB-MPS - Intel Device 1bce

Ubuntu 23.10 - 6.6.0-rc5-phx-patched - GNOME Shell 45.0

2 Systems - 219 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

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

2 Systems - 12 Benchmark Results

Intel Core Ultra 7 165U - LENOVO ThinkPad T14 Gen 5 21MLCTO1WW - Intel Device 7e7f

Ubuntu 22.04 - 6.5.0-28-generic - GNOME Shell 42.9

2 Systems - 32 Benchmark Results

AMD Ryzen Threadripper PRO 5965WX 24-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Ubuntu 23.10 - 6.5.0-26-generic - GNOME Shell 45.0

Find More Test Results