Saturday, February 5, 2011

Gold - GNU Linker by Google.

I came across Google's new GNU linker, while exploring solutions to my linker problem. Gold linker is extremely faster and efficient than GNU std linker ld.
You can the option "--enable-gold option" to configure the gold.

How long it takes gold to link compared to the GNU linker?

Simple Programs:
-Dynamic link: 37% faster
- Static link: 54% faster

Large program (700M, 1300 objects, 400,000 symbols):
- Complete build from scratch: 50% faster
- Change one input object: 82% faster
- Difference is disk cache effects.

For more details read Ian Taylor(Designer of Gold)... http://events.linuxfoundation.org/slides/lfcs2010_taylor.pdf

No comments:

Post a Comment