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

29 Minutes, 58 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Python + OpenSSL

Accolades

20k+ Downloads

Supported Platforms


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 270 public results since 22 March 2023 with the latest data as of 6 June 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)
Mid-Tier
75th
> 281
74th
9
284 +/- 4
52nd
4
601 +/- 28
51st
4
665 +/- 1
Median
50th
665
48th
4
723 +/- 7
42nd
8
958 +/- 119
40th
4
976 +/- 49
36th
5
1022 +/- 6
33rd
3
1035 +/- 58
33rd
4
1092 +/- 24
31st
4
1113 +/- 2
27th
3
1210 +/- 3
Low-Tier
25th
> 1331
24th
3
1366 +/- 3
23rd
3
1437 +/- 1
22nd
3
1458 +/- 1
16th
3
1616 +/- 1
13th
3
1729 +/- 4
11th
3
1895 +/- 10
8th
3
2533 +/- 60
3rd
4
4443 +/- 5
OpenBenchmarking.orgDistribution Of Public Results - Time To Compile266 Results Range From 104 To 15018 Seconds1044037021001130015991898219724962795309433933692399142904589488851875486578560846383668269817280757978788177847687759074937396729971102701056910868111671146611765120641236312662129611326013559138581415714456147551505420406080100

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 56 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: 6 / Avg: 55.95 / Max: 284

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.21 / Max: 16

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
Apple M1 Pro, Rockchip ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

AMD Ryzen 7 5700X 8-Core - MSI B550-A PRO - AMD Starship

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

1 System - 21 Benchmark Results

2 x Intel Xeon E5-2698 v4 - Supermicro X10DRI-T - Intel Xeon E7 v4

Ubuntu 22.04 - 6.3.0-060300-generic - GNOME Shell 42.5

1 System - 21 Benchmark Results

2 x AMD Eng Sample - ASUS K14PP-D24 - AMD Device 14a4

Ubuntu 22.04 - 6.3.0-060300-generic - GNOME Shell 42.5

1 System - 21 Benchmark Results

2 x AMD EPYC 7T83 64-Core - Supermicro H12DSi-NT6 v1.02 - AMD Starship

Ubuntu 22.04 - 6.3.0-060300-generic - GNOME Shell 42.5

1 System - 21 Benchmark Results

2 x AMD EPYC 7763 64-Core - ASUS KMPG-D32 - AMD Starship

Ubuntu 22.04 - 6.2.0-060200-generic - GNOME Shell 42.5

1 System - 21 Benchmark Results

2 x AMD EPYC 7T83 64-Core - Supermicro H12DSi-NT6 v1.02 - AMD Starship

Ubuntu 22.04 - 6.3.0-060300-generic - GNOME Shell 42.5

1 System - 17 Benchmark Results

Intel Core i7-13700 - Gigabyte B660M DS3H DDR4 - Intel Device 7aa7

Linuxmint 21.1 - 6.3.3-060303-generic - Cinnamon 5.6.8

1 System - 17 Benchmark Results

Intel Core i7-13700 - Gigabyte B660M DS3H DDR4 - Intel Device 7aa7

Linuxmint 21.1 - 6.3.3-060303-generic - Cinnamon 5.6.8

1 System - 76 Benchmark Results

AMD Ryzen 7 7700X 8-Core - MSI MAG X670E TOMAHAWK WIFI - AMD Device 14d8

Arch rolling - 6.3.3-arch1-1 - KDE Plasma 5.27.5

53 Systems - 144 Benchmark Results

Intel Core i9-11900K - Gigabyte Z590 VISION D - Intel Tiger Lake-H

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

2 Systems - 84 Benchmark Results

Intel Core i9-13900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

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

1 System - 21 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Gentoo 2.13 - 6.3.1-gentoo-x86_64 - KDE Plasma 5.27.5

52 Systems - 144 Benchmark Results

Intel Core i9-11900K - Gigabyte Z590 VISION D - Intel Tiger Lake-H

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

6 Systems - 21 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.xlarge - Amazon Device 0200

Amazon 2 - 4.14.313-235.533.amzn2.aarch64 - GCC 7.3.1 20180712

5 Systems - 21 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.xlarge - Amazon Device 0200

Amazon 2 - 4.14.313-235.533.amzn2.aarch64 - GCC 7.3.1 20180712

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

3 Systems - 88 Benchmark Results

2 x Intel Xeon Platinum 8490H - Quanta Cloud S6Q-MB-MPS - Intel Device 1bce

Clear Linux OS 38640 - 6.2.8-1293.native - X Server

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

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

2 Systems - 20 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 23.04 - 6.2.2-060202-generic - GNOME Shell 44.0

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

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

Intel Core i9-13900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

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

3 Systems - 135 Benchmark Results

2 x AMD EPYC 7513 32-Core - Supermicro H12DSi-N6 v1.02 - 512GB

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

3 Systems - 66 Benchmark Results

AMD Ryzen 5 5500U - NB01 NL5xNU - AMD Renoir

Tuxedo 22.04 - 6.0.0-1010-oem - KDE Plasma 5.26.5

4 Systems - 32 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Fedora Linux 38 - 6.2.2-301.fc38.x86_64 - GNOME Shell

Find More Test Results