Closed egourlao closed 7 years ago
This PR adds two stripping operations to the build process, to answer to #68 :
make build
-s
upx
The induced decompression time at startup is also reasonable: for a Multitech Conduit build, the startup time goes from 2.6 seconds to 3.2 seconds.
This PR adds two stripping operations to the build process, to answer to #68 :
make build
process, the-s
strip Go flag is added. For the Multitech Conduit binary, this reduces the binary size from 11Mb to 9Mb.upx
is added. For the previous generated binary, it reduces the binary size from 9Mb to 3Mb.The induced decompression time at startup is also reasonable: for a Multitech Conduit build, the startup time goes from 2.6 seconds to 3.2 seconds.