4 ms·
> I started developing SizeBench during the Windows Phone days mostly out of curiosity – my team had a bunch of code, and a bunch of bytes ended up on disk, but
by com2kid 5y ago
> I started developing SizeBench during the Windows Phone days mostly out of curiosity – my team had a bunch of code, and a bunch of bytes ended up on disk, but I couldn’t figure out the relationship between the two. I asked around for tools to help with that but sadly found none, so I figured I could try to build one.
He should have asked me, I did a lot of thiswhile I was on the Windows Phone compiler team! :-D
I spent a lot of time with dumpbin, learning how to find inefficiencies or even outright code generation bugs in the ARM compiler.
My best find was 14 extra bytes inserted after every function, IIRC it was originally to work around a bug on MIPS16 but it ended up getting added to code generation across all platforms.
It is nice someone has improved dumpbin and added some more features, and a nice UI. "New hire in office looking at object file dumps" wasn't really scalable, though I did my best!