Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nodejs compile time
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ian.au
l33t
l33t


Joined: 07 Apr 2011
Posts: 608
Location: Australia

PostPosted: Fri Jan 10, 2025 12:11 am    Post subject: Reply with quote

FWIIW these boxes still have nodejs on them here:

i7 NUC 32GB
Code:
qlop -vtm nodejs
2022-05-16T15:20:03 >>> net-libs/nodejs-14.19.0: 17′48″
2022-05-18T19:11:56 >>> net-libs/nodejs-16.14.2: 28′18″
2022-06-23T19:06:18 >>> net-libs/nodejs-18.3.0: 39′52″
2022-08-06T01:29:12 >>> net-libs/nodejs-18.6.0: 34′54″
2022-10-10T20:11:32 >>> net-libs/nodejs-18.9.1: 32′59″
2022-11-01T13:53:13 >>> net-libs/nodejs-18.10.0: 34′28″
2022-11-25T00:22:20 >>> net-libs/nodejs-18.12.1: 33′23″
2023-03-18T07:52:12 >>> net-libs/nodejs-18.14.2: 38′54″
2023-05-01T10:43:47 >>> net-libs/nodejs-18.16.0: 35′43″
2023-05-29T19:29:18 >>> net-libs/nodejs-20.2.0: 40′04″
2023-06-16T19:18:40 >>> net-libs/nodejs-20.2.0: 38′31″
2023-06-27T20:10:50 >>> net-libs/nodejs-20.2.0: 48′39″
2023-08-16T13:24:38 >>> net-libs/nodejs-20.5.1: 41′12″
2023-10-02T16:31:07 >>> net-libs/nodejs-20.6.1: 40′00″
2024-02-09T11:21:47 >>> net-libs/nodejs-20.11.0: 39′05″
2024-03-08T17:33:08 >>> net-libs/nodejs-20.11.0: 37′08″
2024-05-08T15:29:13 >>> net-libs/nodejs-20.12.1: 41′37″
2024-06-05T14:35:52 >>> net-libs/nodejs-20.12.1: 33′39″
2024-07-09T18:36:19 >>> net-libs/nodejs-22.3.0: 1:06:20
2024-09-01T19:12:28 >>> net-libs/nodejs-22.4.1-r1: 1:12:38
2024-11-16T14:49:41 >>> net-libs/nodejs-22.4.1-r1: 1:14:09
2024-12-14T13:01:49 >>> net-libs/nodejs-22.4.1-r1: 1:08:00
2024-12-24T11:45:30 >>> net-libs/nodejs-22.4.1-r1: 1:07:10

Code:
free -h
               total        used        free      shared  buff/cache   available
Mem:            31Gi       9.5Gi       8.6Gi       499Mi        13Gi        21Gi
Swap:           63Gi       1.0Mi        63Gi

Code:
uname -a
Linux gw-01 6.6.62-gentoo #1 SMP PREEMPT_DYNAMIC Sun Dec 15 08:29:03 AEST 2024 x86
_64 Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz GenuineIntel GNU/Linux


Oldest surviving install: i3 8GB
Code:
ls -l /etc/machine-id
-rw-r--r-- 1 root root 33 Sep  9  2013 /etc/machine-id


Code:
qlop -vtm nodejs
2022-02-15T16:56:04 >>> net-libs/nodejs-14.17.6: 43′16″
2022-05-16T15:48:12 >>> net-libs/nodejs-14.19.0: 43′37″
2022-05-18T13:58:19 >>> net-libs/nodejs-16.14.2: 1:09:19
2022-06-23T19:06:27 >>> net-libs/nodejs-18.3.0: 1:23:28
2022-08-04T21:01:54 >>> net-libs/nodejs-18.6.0: 1:24:17
2022-10-10T20:32:42 >>> net-libs/nodejs-18.9.1: 1:24:02
2022-11-01T14:10:28 >>> net-libs/nodejs-18.10.0: 1:24:00
2022-11-25T02:05:11 >>> net-libs/nodejs-18.12.1: 1:23:29
2023-03-18T08:28:50 >>> net-libs/nodejs-18.14.2: 1:28:35
2023-05-01T12:28:26 >>> net-libs/nodejs-18.16.0: 1:27:33
2023-05-29T19:30:03 >>> net-libs/nodejs-20.2.0: 1:42:26
2023-06-16T19:50:18 >>> net-libs/nodejs-20.2.0: 1:47:21
2023-06-27T20:47:35 >>> net-libs/nodejs-20.2.0: 1:44:39
2023-08-16T13:28:36 >>> net-libs/nodejs-20.5.1: 1:41:37
2023-10-02T18:37:45 >>> net-libs/nodejs-20.6.1: 1:39:14
2024-02-09T12:46:02 >>> net-libs/nodejs-20.11.0: 1:36:31
2024-03-10T11:53:59 >>> net-libs/nodejs-20.11.0: 1:35:31
2024-05-08T12:50:09 >>> net-libs/nodejs-20.12.1: 1:39:46
2024-06-03T21:23:24 >>> net-libs/nodejs-20.12.1: 1:37:16
2024-07-09T18:06:45 >>> net-libs/nodejs-22.3.0: 3:13:17
2024-09-01T11:15:48 >>> net-libs/nodejs-22.4.1-r1: 3:18:15
2024-11-16T14:43:43 >>> net-libs/nodejs-22.4.1-r1: 3:15:32
2024-12-14T14:17:52 >>> net-libs/nodejs-22.4.1-r1: 3:14:04
2024-12-25T02:48:34 >>> net-libs/nodejs-22.4.1-r1: 3:19:25


Code:
free -h
               total        used        free      shared  buff/cache   available
Mem:           7.6Gi       1.6Gi       3.2Gi       150Mi       3.2Gi       6.1Gi
Swap:          4.0Gi       682Mi       3.3Gi


Code:
uname -a
Linux lw3 6.6.62-gentoo #1 SMP PREEMPT_DYNAMIC Sun Dec 15 08:37:45 AEST 2024 x86
_64 Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3890
Location: Rasi, Finland

PostPosted: Fri Jan 10, 2025 12:25 pm    Post subject: ✪ Reply with quote

CooSee wrote:
on a freshly installed llvm profile - with my almost 10 year old Xeon E3-1245 v5 - 32GB RAM System - same USE flags.
Code:
genlop -t nodejs
 * net-libs/nodejs

     Wed Jan  8 21:28:23 2025 >>> net-libs/nodejs-22.12.0-r1
       merge time: 44 minutes and 17 seconds.

compared to gcc
Code:
Sat Jan  4 06:26:46 2025 >>> net-libs/nodejs-22.12.0-r1
       merge time: 1 hour, 19 minutes and 9 seconds.

8)
That's pretty significant change... Did you also use the same *FLAGS?
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1505
Location: Earth

PostPosted: Fri Jan 10, 2025 5:29 pm    Post subject: Reply with quote

Quote:
That's pretty significant change... Did you also use the same *FLAGS?

here's the emerge log of nodejs https://0x0.st/8-LI.log

nope - using my old make.conf.

Code:
COMMON_FLAGS="-march=native -O2 -pipe"

CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
LDFLAGS="${CFLAGS}"

DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"

MAKEOPTS="-j8"

# Lowest priority
PORTAGE_NICENESS="19"
PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"

LC_MESSAGES=C.utf8

LANG="en_US.UTF-8"
LINGUAS="en"
L10N="en en-US"

VIDEO_CARDS="amdgpu radeonsi"
ALSA_CARDS="usb-audio"
INPUT_DEVICES="libinput"
ACCEPT_LICENSE="*"

GRUB_PLATFORMS="efi-64"

# target-cpu=native is the equivalent of -march=native in C/CXXFLAGS:
RUSTFLAGS="-C target-cpu=native"

# enable target-cpu=native and DT_RELR
RUSTFLAGS="-C target-cpu=native -C link-arg=-Wl,-z,pack-relative-relocs"

# opt-level is similar to Clang's optimization options
RUSTFLAGS="-C opt-level=3"

# The compression used for binary packages. Defaults to zstd except for
# existing installs where bzip2 is used for backward compatibility.
BINPKG_COMPRESS="zstd"

# The format used for binary packages. The default is to use the new "gpkg" format.
# Set to "xpak" to use the old gentoo binary package format.
BINPKG_FORMAT="gpkg"

PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_LOGDIR_CLEAN="find \"\${PORTAGE_LOGDIR}\" -type f ! -name \"summary.log*\" -mtime +30 -delete"

PORTAGE_LOG_FILTER_FILE_CMD="bash -c \"ansifilter; exec cat\""

PORTAGE_LOGDIR="/var/log/portage"
PORTAGE_TMPDIR="/var/tmp"

INSTALL_MASK="/lib/systemd/*/*.service /usr/lib/systemd/*/*.service"

FEATURES="${FEATURES} candy parallel-fetch preserve-libs buildpkg binpkg-multi-instance binpkg-logs split-log clean-logs"

I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS=1

EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS}--alphabetical --keep-going --with-bdeps=y --complete-graph --usepkg"

CONFIG_PROTECT="/etc"

# USE Flags

DISABLE="-X -accessibility -bluetooth -cloudproviders -doc -dvd -dvda -dvdarchive -dvdnav -dvdr -floppy -geoclue -geoip -geoip2 -geolocation \
-gksu -gnome -gnome-online-accounts -gnome-keyring -gstreamer -gtk-doc -handbook -ipv6 -joystick -kde -man -modemmanager -miners -opengl -ppp \
-sftp -ssh-agent -systemd -tiff -tracker -weather -webengine -wext -vdpau -webkit -wifi -xinerama -zsh-completion"

ENABLE="appindicator alsa alsaplugins bash-completion branding cet egl elogind dbus dist-kernel fish-completion fontconfig gdk-pixbuf gles2 \
grimshot gtk3 jpeg jpeg2k lcms libinput lmsensors lvm mp3 mp4 mpeg ogg openrc otf pdf png pulseaudio svg truetype tpm ttf udev uefi usb vaapi \
vulkan wayland webp widevine xdg xcomposite xml zlib zstd"

USE="${DISABLE} ${ENABLE}"

GENTOO_MIRRORS="https://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ \
     https://ftp.gwdg.de/pub/linux/gentoo/ \
     https://mirror.netcologne.de/gentoo/ \
     https://mirror.netzwerge.de/gentoo/"


after first @world in chroot without changing or adding anything to make.conf - i created a local profile to get rid of abi_x86_32

var/db/repos/local/profiles/no-multilib-llvm/parent:
Code:
gentoo:default/linux/amd64/23.0/llvm
gentoo:arch/amd64/no-multilib

and re-emerged all the changes via @world.

after that i just emerged all the ebuilds for my only Hyprland desktop without X.

8)
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum