You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process.
This issue will now be closed since it had been marked no-recent-activity but received no further activity in the past 14 days. It is still possible to reopen or comment on the issue, but please note that the issue will be locked if it remains inactive for another 30 days.
I tested different flags passed to clang on macOS to build
libcoreclr.dylib
andlibclrjit.dylib
:so
-fno-unroll-loops
saves 200kb on these two files (btw, this option is disabled by default in Xcode).-Oz
(implies-fno-unroll-loops
) saves 2Mb! I am not sure about the performance penalties yet but 2 Mb sounds nice.According to this SO answer, the difference between
-O2
and-Os/z
are the following LLVM optimization passes:Thus, a minimal "Hello world" self-contained x64 app can be less than 11mb or (4.5mb if compressed)
The text was updated successfully, but these errors were encountered: