-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meta(releases
): reduce size of foundry binaries
#8671
Comments
releases
): reduce size of foundry binaries
releases
): reduce size of foundry binariesreleases
): reduce size of foundry binaries
A few more ideas:
|
Improvements since first post: Before (forge 0.2.0 (3e3b30c 2024-08-15T00:19:22.864621297Z)) 26M ./anvil
26M ./anvil.stripped
50M ./cast
50M ./cast.stripped
35M ./chisel
35M ./chisel.stripped
76M ./forge
76M ./forge.stripped After (forge 0.2.0 (1d2379a 2024-09-22T00:23:17.631577994Z)) 22M ./anvil
20M ./anvil.stripped
41M ./cast
36M ./cast.stripped
29M ./chisel
25M ./chisel.stripped
60M ./forge
54M ./forge.stripped
Compare with February version (forge 0.2.0 (2cb8757 2024-02-03T00:16:46.961268899Z)) 20M ./anvil
18M ./anvil.stripped
34M ./cast
31M ./cast.stripped
23M ./chisel
21M ./chisel.stripped
46M ./forge
42M ./forge.stripped Note that the February version doesn't include much of alloy, has revm 3 which is pre-handlers, pre-eof, pre-soldeer etc; a ton less cheatcodes, config options... So some size increase is to be expected, but we can still do better |
Component
Forge, Cast, Anvil, Chisel
Describe the feature you would like
on macOS, with last week's foundry, I noticed that the foundry binaries are quite large:
after foundryup, some of them got even bigger:
This also contributes significantly to the size of docker images that install foundry. Thanks!
Additional context
No response
The text was updated successfully, but these errors were encountered: