Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12426] New: NodeJS slow startup performance (~30s)
@ 2019-12-20 14:52 bugzilla at busybox.net
  2019-12-20 14:57 ` [Buildroot] [Bug 12426] " bugzilla at busybox.net
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla at busybox.net @ 2019-12-20 14:52 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=12426

            Bug ID: 12426
           Summary: NodeJS slow startup performance (~30s)
           Product: buildroot
           Version: 2019.11
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: erichiggins at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

The performance of the NodeJS executable, as compiled by Buildroot, has
exceptionally poor startup performance, taking around 30s to run.

The prebuilt binaries from NodeJS running on the same system take less than 2s
to run.

I created a Gist with a comparison using the time command:
https://gist.github.com/erichiggins/ac139ebe34b8d3c6dbb68f3b09ca9008

In both cases, the runtime performance is about equal.

The prebuilt binaries require the buildroot system to use glibc and will not
run if a more space-efficient alternative (uClibc-ng) is selected.

Further, NodeJS v12.x (now the major version used by Buildroot) does not
officially support ARM v6l and is considered experimental.
https://github.com/nodejs/build/issues/1677#issuecomment-486204349

Current workaround is to use glibc and overwrite the NodeJS executables with
the unofficial prebuilts via rootfs overlay.
https://github.com/nodejs/unofficial-builds/

It would be quite helpful to build a performant NodeJS executable without
requiring these workarounds.

Thank you!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-06-15 14:52 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-20 14:52 [Buildroot] [Bug 12426] New: NodeJS slow startup performance (~30s) bugzilla at busybox.net
2019-12-20 14:57 ` [Buildroot] [Bug 12426] " bugzilla at busybox.net
2019-12-20 15:14 ` bugzilla at busybox.net
2019-12-20 18:52 ` bugzilla at busybox.net
2019-12-22 15:49 ` bugzilla at busybox.net
2019-12-22 16:50 ` bugzilla at busybox.net
2019-12-22 18:02 ` bugzilla at busybox.net
2019-12-22 18:28 ` bugzilla at busybox.net
2019-12-22 19:53 ` bugzilla at busybox.net
2019-12-24 21:32 ` bugzilla at busybox.net
2024-06-15 14:52 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox