Skip to content
This repository was archived by the owner on Mar 25, 2018. It is now read-only.

build: provide guide for compiling node binary with optimizations #88

Closed
eljefedelrodeodeljefe opened this issue Mar 9, 2016 · 5 comments

Comments

@eljefedelrodeodeljefe
Copy link
Contributor

See this discussion nodejs/node#2948

First we would need to collect a list of optimization options and derive some tactics from it. E.g. some configurations won't pass tests.

Options (WIP)

  • (use musl)
  • disable openssl
  • use a shared zlib
  • no icu: --with-intl=none
  • go wild with strip
  • compile a 32-bit binary
  • (...)
@Knighton910
Copy link

👍 good start.

@eljefedelrodeodeljefe
Copy link
Contributor Author

Dragging in @thealphanerd here: How open (or secretive) is the release building process? Is it even part of the tasks of the release group or does jenkins do it all?
I think it might be interesting to add this here, as it could also aid testing. E.g. I still don't know how to properly build on windows, so I can test or alter .msis or build with some of the optimizations. Release building could be somewhat related.

@MylesBorins
Copy link
Contributor

The release process is all public 😄

https://github.com/nodejs/node/blob/master/doc/releases.md

But I think there is now limited access to the release CI

@eljefedelrodeodeljefe
Copy link
Contributor Author

Ah. Thanks for pointing at it. Haven't found what I was looking for though :)

@Trott
Copy link
Member

Trott commented Mar 13, 2018

Closing as this repository is dormant and likely to be archived soon. If this is still an issue, feel free to open it as an issue on the main node repository.

@Trott Trott closed this as completed Mar 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants