Sponsored link Serve your customers, not your servers, with VERIO Linux VPS. Full-access test-drive here. |
Since WHEN?Since WHEN?Posted Mar 28, 2008 9:26 UTC (Fri) by khim (subscriber, #9252)In reply to: The metric is SPEED not just easier development by nix Parent article: Striking gold in binutils
Last time we've checked (GCC 4.1.x) removal -fnortti and/or -fnoexceptions made real world programs 5-10% slower (up to 15% combined). What change happened in GCC 4.2 and/or GCC 4.3??? If you DO need RTTI and/or exceptions of course it's better to use compiler-provided ones, then to write your own, but if not... For things like gold abort() is perfectly usable alternative to the exceptions...
(Log in to post comments)
Since WHEN? Posted Mar 28, 2008 21:26 UTC (Fri) by nix (subscriber, #2304) [Link] I think I need to profile this, then, because exception frames should be very nearly free to set up and (non-throw) tear down, certainly not as expensive as 15%. This wasn't on an sjlj target, was it? 'cos they're *so* last millennium.
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.