build: reduce tarball size by 8-10%
Slim the tarballs further by removing examples, documentation and test for third party libraries. Also switch to checkout-index versus archive so we avoid using tar.
"Verified" by using a generated tarball to configure, compile and test io.js.
Beyond this, it'll get tricker to further reduce the size. A few things to consider:
- npm node_submodule tests: saves ~400k off the tarballs but I think this falls out of scope for what we should meddle with. (If at all) I'd prefer upstream doing this.
-
make bench-http
requirestools/wrk
which is bundled (3.9mb) but a lot of benchmarks also assumesab
is available. Perhaps dropwrk
from our bundle and make the same assumption?