[Bug sanitizer/55309] gcc's address-sanitizer 66% slower than clang's

markus at trippelsdorf dot de gcc-bugzilla@gcc.gnu.org
Tue Feb 5 11:18:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55309

--- Comment #12 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2013-02-05 11:17:42 UTC ---
(In reply to comment #9)
> > And, for compile time, you want to be testing with --enable-checking=release
> Thanks! 
> With --enable-checking=release gcc's compile time drops to 374 seconds.
> That's much better, but still 50% slower than clang (built with asserts)

Hmm, that means gcc is 35% slower (374 vs. 243). That is exactly the
slowdown that I see in all my tests. (So switching to clang is like
moving from a 4-core to a 6-core machine from a compile time perspective.)



More information about the Gcc-bugs mailing list