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.112023.122024.012024.022024.035K10K15K20K25K
* 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 18 March 2024.

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 1,017 public results since 22 March 2023 with the latest data as of 18 March 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)
90th
14
116 +/- 5
87th
16
125 +/- 7
86th
15
129 +/- 6
Mid-Tier
75th
> 156
75th
6
157 +/- 1
73rd
16
160 +/- 4
71st
6
171 +/- 13
62nd
15
223 +/- 3
57th
11
248 +/- 5
52nd
17
275 +/- 17
Median
50th
286
41st
8
359 +/- 7
39th
8
389 +/- 1
39th
4
406 +/- 3
34th
16
446 +/- 19
29th
13
565 +/- 24
28th
4
601 +/- 28
27th
5
640 +/- 55
Low-Tier
25th
> 718
25th
4
723 +/- 7
23rd
3
781 +/- 92
23rd
4
820 +/- 1
22nd
10
858 +/- 2
20th
4
933 +/- 132
19th
8
958 +/- 119
19th
4
976 +/- 49
18th
5
1022 +/- 6
17th
3
1035 +/- 58
17th
4
1092 +/- 24
16th
4
1113 +/- 2
15th
3
1133 +/- 9
14th
5
1157 +/- 1
13th
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
6th
3
2328 +/- 6
6th
3
2533 +/- 60
3rd
4
4443 +/- 5
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile1009 Results Range From 87 To 20418 Seconds8749490113081715212225292936334337504157456449715378578561926599700674137820822786349041944898551026210669110761148311890122971270413111135181392514332147391514615553159601636716774171811758817995184021880919216196232003020437150300450600750

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 33 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: 32.09 / 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.17 / 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 Compile46812141632485664963691215

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, Apple M3 Max, Apple M3 Pro
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2 72-Core, Apple M1 Pro, Rockchip ARMv8 Cortex-A76 4-Core, rk1-mainline-emmc, rk1-rok-emmc, rk1-rok-emmc6

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 21 Benchmark Results

Intel Core i7-1355U - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

1 System - 21 Benchmark Results

Intel Core i7-14700HX - 8GB - 2 x 275GB Virtual Disk

Ubuntu 22.04 - 5.10.16.3-microsoft-standard-WSL2 - 1.3.255

1 System - 205 Benchmark Results

rk1-mainline-emmc - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

1 System - 201 Benchmark Results

rk1-rok-emmc - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 5.10.160-rockchip - GCC 11.4.0

1 System - 27 Benchmark Results

Intel Core Ultra 7 155H - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 2 x 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

1 System - 26 Benchmark Results

Intel Core Ultra 7 155H - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

1 System - 1 Benchmark Result

Apple M2 Max - Mac - 32GB

macOS 14.3 - 23.3.0 - GCC 15.0.0 + Clang 15.0.0 + Xcode 15.2

3 Systems - 205 Benchmark Results

ARMv8 Cortex-A76 - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

3 Systems - 415 Benchmark Results

ARMv8 Cortex-A76 - Raspberry Pi 5 Model B Rev 1.0 - 4096MB

Debian 12 - 6.1.0-rpi7-rpi-2712 - GCC 12.2.0

3 Systems - 489 Benchmark Results

ARMv8 Cortex-A76 - Turing Machines RK1 - 32GB

Ubuntu 22.04 - 6.7.0 - 1.3.255

1 System - 1 Benchmark Result

Intel Core i7-12700 - 32GB - 0GB Virtual Disk + 9GB Virtual Disk + 275GB Virtual Disk

Ubuntu 22.04 - 5.15.133.1-microsoft-standard-WSL2 - Wayland

1 System - 21 Benchmark Results

Intel Celeron N5105 - MW MW-NAS-N5105 - Intel Device 4def

Gentoo 2.14 - 6.6.13-gentoo-clang-lto-bajzc - X Server

1 System - 1 Benchmark Result

Intel Core i7-12700 - 32GB - 0GB Virtual Disk + 9GB Virtual Disk + 275GB Virtual Disk

Ubuntu 22.04 - 5.15.133.1-microsoft-standard-WSL2 - Wayland

Most Popular Test Results

OpenBenchmarking.org Results Compare

12 Systems - 69 Benchmark Results

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

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

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

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

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

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

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

10 Systems - 272 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - Gigabyte X570 AORUS MASTER - AMD Starship

Debian - 6.4.0-1-amd64 - GNOME Shell 43.6

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

8 Systems - 271 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.19.0-46-generic - GNOME Shell 42.5

Find More Test Results