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

22 March 2023

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

46 Minutes, 43 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Python + OpenSSL

Accolades

30k+ 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.095K10K15K20K25K
* 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 27 September 2023.

Revision History

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 19.8.1

Time To Compile

OpenBenchmarking.org metrics for this test profile configuration based on 586 public results since 22 March 2023 with the latest data as of 28 September 2023.

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
12
126 +/- 7
94th
10
128 +/- 8
79th
4
176 +/- 13
Mid-Tier
75th
> 203
66th
11
278 +/- 12
Median
50th
408
45th
12
453 +/- 15
40th
11
572 +/- 18
38th
4
601 +/- 28
37th
4
665 +/- 1
35th
4
723 +/- 7
32nd
3
781 +/- 92
32nd
4
820 +/- 1
30th
10
858 +/- 2
27th
4
933 +/- 132
27th
8
958 +/- 119
26th
4
976 +/- 49
Low-Tier
25th
> 998
24th
5
1022 +/- 6
23rd
3
1035 +/- 58
22nd
4
1092 +/- 24
21st
4
1113 +/- 2
19th
5
1157 +/- 1
18th
3
1210 +/- 3
16th
3
1366 +/- 3
15th
3
1437 +/- 1
14th
3
1458 +/- 1
11th
3
1616 +/- 1
10th
3
1729 +/- 4
9th
3
1895 +/- 10
7th
3
2533 +/- 60
4th
4
4443 +/- 5
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile579 Results Range From 93 To 15018 Seconds93392691990128915881887218624852784308333823681398042794578487751765475577460736372667169707269756878678166846587649063936296619960102591055810857111561145511754120531235212651129501324913548138471414614445147441504360120180240300

Based on OpenBenchmarking.org data, the selected test / test configuration (Timed Node.js Compilation 19.8.1 - Time To Compile) has an average run-time of 44 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-Time70140210280350Min: 5 / Avg: 43.53 / Max: 398

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTime To CompileDeviation48121620Min: 0 / Avg: 0.19 / Max: 16

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.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseTimed Node.js Compilation CPU Core ScalingTime To Compile4681216641.763.525.287.048.8

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 Pro, Apple M2 Max, Apple M2 Pro
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, Apple M1 Pro, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 21 Benchmark Results

Intel Xeon W-11555MLE - SIEMENS A5E51244423 - Intel Tiger Lake-H

Ubuntu 23.04 - 6.2.0-32-generic - GNOME Shell 44.0

1 System - 23 Benchmark Results

AMD EPYC-Milan - EFI Development Kit II - Intel 82G33

Ubuntu 23.04 - 6.2.0-32-generic - GNOME Shell 44.0

1 System - 1 Benchmark Result

Intel Core i9-13900H - 32GB - 0GB Virtual Disk + 9GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.90.1-microsoft-standard-WSL2 - Wayland

1 System - 102 Benchmark Results

AMD Ryzen 9 5900X 12-Core - MSI MAG X570S TORPEDO MAX - AMD Starship

Ubuntu 20.04 - 5.15.0-67-generic - KDE Plasma 5.18.8

1 System - 103 Benchmark Results

Intel Core i7-8700K - Gigabyte B365M D3H-CF - Intel 8th Gen Core

Ubuntu 20.04 - 5.15.0-83-generic - KDE Plasma 5.18.8

1 System - 77 Benchmark Results

Intel Core i5-12400 - MSI MEG Z690I UNIFY - Intel Device 7aa7

Ubuntu 22.04 - 5.15.0-83-generic - X Server

1 System - 18 Benchmark Results

AMD Ryzen 7 5700G - ASRock A520M-HDV - AMD Renoir

Debian - 6.4.0-4-amd64 - GNOME Shell 44.4

1 System - 21 Benchmark Results

AMD EPYC-Milan - EFI Development Kit II - Intel 82G33

Ubuntu 23.04 - 6.2.0-32-generic - GNOME Shell 44.0

1 System - 23 Benchmark Results

Intel Atom E3940 - SIEMENS A5E44753980 - Intel Celeron N3350

Ubuntu 23.04 - 6.2.0-25-generic - GNOME Shell 44.0

1 System - 21 Benchmark Results

AMD EPYC-Milan - EFI Development Kit II - Intel 82G33

Ubuntu 23.04 - 6.2.0-32-generic - GNOME Shell 44.3

1 System - 21 Benchmark Results

AMD EPYC-Milan - EFI Development Kit II - Intel 82G33

Ubuntu 23.04 - 6.2.0-32-generic - GNOME Shell 44.0

1 System - 21 Benchmark Results

AMD EPYC-Milan - EFI Development Kit II - Intel 82G33

Ubuntu 23.04 - 6.2.0-32-generic - GNOME Shell 44.3

1 System - 21 Benchmark Results

AMD EPYC-Milan - EFI Development Kit II - Intel 82G33

Ubuntu 23.04 - 6.2.0-32-generic - GNOME Shell 44.3

1 System - 21 Benchmark Results

AMD EPYC-Milan - EFI Development Kit II - Intel 82G33

Ubuntu 23.04 - 6.2.0-31-generic - GNOME Shell 44.0

1 System - 21 Benchmark Results

AMD EPYC-Milan - EFI Development Kit II - Intel 82G33

Ubuntu 23.04 - 6.2.0-31-generic - GNOME Shell 44.3

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 131 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.17.0-1019-oem - GNOME Shell 42.2

4 Systems - 215 Benchmark Results

AMD EPYC 7343 16-Core - Supermicro H12SSL-i v1.02 - 8 x 64 GB DDR4-3200MT

AlmaLinux 9.1 - 5.14.0-162.12.1.el9_1.x86_64 - GCC 11.3.1 20220421

2 Systems - 40 Benchmark Results

AMD Ryzen 7 PRO 5850U - HP 8A78 - AMD Renoir

Pop 22.04 - 5.19.0-76051900-generic - GNOME Shell 42.3.1

4 Systems - 132 Benchmark Results

2 x AMD EPYC 7773X 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 6.2.0-phx - GNOME Shell 42.5

5 Systems - 203 Benchmark Results

2 x AMD EPYC 9654 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.04 - 5.19.0-21-generic - GNOME Shell 43.1

3 Systems - 237 Benchmark Results

AMD Ryzen 7 4800U - ASRock 4X4-4000 - AMD Renoir

Ubuntu 22.04 - 5.19.0-rc6-phx-retbleed - GNOME Shell 42.2

3 Systems - 231 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Ice Lake IEH

Ubuntu 22.10 - 6.2.0-rc5-phx-dodt - GNOME Shell 43.0

2 Systems - 111 Benchmark Results

AMD Ryzen 7 6800U - System76 Pangolin - AMD Device 14b5

Pop 22.04 - 6.2.6-76060206-generic - GNOME Shell 42.5

3 Systems - 197 Benchmark Results

2 x AMD EPYC 7773X 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.4

Find More Test Results