Hacker News new | ask | show | jobs
by mjevans 3065 days ago
It would be interesting to have a comparison based on locally built binaries both with and without these features enabled.

Performing the tests on packing the actual 7-Zip source code (as shipped without extras) would be a valid reference suite.

1 comments

I assume you mean a performance comparison? The runtime performance cost of ASLR on Windows is zero once a binary has been loaded, since the code is relocated at load time.

Stack canaries might cause a slight performance hit, but it is usually below one percent, since it creates only a small cost per function call for a fraction of all functions.

People not caring about load time costs are probably one of the reasons the guy still uses VC6, which starts up practically instantly.
It isn't even per function call in all implementations.