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

40k+ 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.115K10K15K20K25K
* 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 28 November 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 832 public results since 22 March 2023 with the latest data as of 28 November 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)
93rd
12
115 +/- 5
89th
15
125 +/- 7
88th
13
129 +/- 7
77th
6
157 +/- 1
76th
10
161 +/- 8
Mid-Tier
75th
> 162
72nd
4
176 +/- 13
66th
15
223 +/- 3
59th
9
250 +/- 1
55th
16
273 +/- 15
Median
50th
304
43rd
6
355 +/- 2
41st
4
406 +/- 3
36th
16
446 +/- 19
31st
13
565 +/- 24
30th
4
601 +/- 28
29th
5
640 +/- 55
27th
4
723 +/- 7
Low-Tier
25th
> 759
25th
3
781 +/- 92
24th
4
820 +/- 1
23rd
10
858 +/- 2
21st
4
933 +/- 132
21st
8
958 +/- 119
20th
4
976 +/- 49
18th
5
1022 +/- 6
17th
3
1035 +/- 58
17th
4
1092 +/- 24
16th
4
1113 +/- 2
14th
5
1157 +/- 1
14th
3
1210 +/- 3
12th
3
1366 +/- 3
11th
3
1437 +/- 1
11th
3
1458 +/- 1
9th
3
1616 +/- 1
8th
3
1729 +/- 4
7th
3
1895 +/- 10
5th
3
2533 +/- 60
3rd
4
4443 +/- 5
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile814 Results Range From 87 To 15018 Seconds873866859841283158218812180247927783077337636753974427345724871517054695768606763666665696472637562786181608459875890579356965599541025310552108511115011449117481204712346126451294413243135421384114140144391473815037100200300400500

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 35 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: 34.08 / Max: 288

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.18 / 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 Compile46812163264962.474.947.419.8812.35

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 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1, Apple M1 Pro, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 566 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.5 - Broadcom BCM2711

Arch Linux ARM - 6.1.58-2-rpi-ARCH - GCC 12.1.0 + Clang 16.0.6

4 Systems - 350 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

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

10 Systems - 143 Benchmark Results

2 x AMD EPYC 9684X 96-Core - AMD Titanite_4G - AMD Device 14a4

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

4 Systems - 415 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

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

2 Systems - 22 Benchmark Results

16 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

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

2 Systems - 23 Benchmark Results

8 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

Ubuntu 20.04 - 5.15.0-88-generic - GNOME Shell 3.36.4

1 System - 19 Benchmark Results

16 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

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

1 System - 21 Benchmark Results

8 x AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - Intel 440BX

Ubuntu 20.04 - 5.15.0-88-generic - GNOME Shell 3.36.4

1 System - 14 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ProArt X670E-CREATOR WIFI - AMD Device 14d8

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

1 System - 76 Benchmark Results

AMD Ryzen 7 7800X3D 8-Core - ASUS ProArt B650-CREATOR - AMD Device 14d8

Debian 12 - 6.5.0-0.deb12.1-amd64 - Xfce 4.18

1 System - 21 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - MSI B450 TOMAHAWK - AMD 17h

Linuxmint 20.3 - 5.4.0-155-generic - KDE Plasma 5.18.8

3 Systems - 513 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

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

2 Systems - 1 Benchmark Result

AMD Ryzen 7 7735HS - Shenzhen Meigao Electronic Equipment F7BFD - AMD Device 14b5

Ubuntu 22.04 - 5.15.0-88-generic - 1.3.238

1 System - 1 Benchmark Result

AMD Ryzen 7 3700X 8-Core - Gigabyte AB350-Gaming 3-CF - AMD Starship

Ubuntu 22.04 - 6.2.0-36-generic - GNOME Shell 42.9

2 Systems - 428 Benchmark Results

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

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

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

12 Systems - 69 Benchmark Results

2 x Intel Xeon Max 9480 - Supermicro X13DEM v1.10 - Intel Device 1bce

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

2 Systems - 608 Benchmark Results

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

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

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

Find More Test Results