4 ms·
Thanks! This looks really nice and handy. I wish it could work with any native binary but I understand that it focuses on Go specifically. On Windows, there's
by neonsunset 2y ago
Thanks! This looks really nice and handy. I wish it could work with any native binary but I understand that it focuses on Go specifically.
On Windows, there's SizeBench[0] but it doesn't work on macOS and non-PE files, and I miss having a tool like that.
[0]: https://github.com/microsoft/SizeBench https://github.com/microsoft/SizeBench, likely used to be an internal tool that was open-sourced
- JackYoustra 2y agoTry this: https://www.jackyoustra.com/binary https://www.jackyoustra.com/binary
- neonsunset 2y agoBloaty seems to be what I was looking for. It's limited, requires symbols for some options and doesn't have GUI but is a start. Probably someone already made GUI for it and I just need to search. Thank you both. I noticed that https://www.jackyoustra.com/binary https://www.jackyoustra.com/binary appears to fail with 'Reference Error: Can't find variable: SharedArrayBuffer' on Safari when you give it a binary. On Firefox, it does not display the size of sections unless you hover the cursor. Not sure if it's intended - just noting here.
- JackYoustra 2y agoOnly tested with chrome! I'll add some cross browser tests and get back to you soon, thanks! That is intended behavior, but looking back seems kind of silly? I'll fix!
- zxilly 2y agoYou may want to try google/bloaty.