Unity builds for Irrlicht

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
Post Reply
loonychewy
Posts: 22
Joined: Fri Dec 30, 2005 2:00 am
Location: Singapore
Contact:

Unity builds for Irrlicht

Post by loonychewy »

Hi,

This may be something interesting for those who compile Irrlicht frequently, or otherwise have large projects to handle.

I've been experimenting with using unity builds to speed up compilation times, and here's what I get with my (old) machine, and the unmodified Irrlicht 1.4.2 source, full rebuild:
Release build: 2 mins to 1:04 mins
Debug build: 1:23 mins to 0:28 mins
The original compile time is already quite fast, but halving it is definitely sweet, and I'm sure more improvements are possible if the source files are modified.

For those who are interested, more details and project file download can be found on my webpage
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

Thanks, that's very interesting. I've noticed the same decreased build time when using 'Java style classes in C++' which essentially does the same thing: #includes the entire source from one .cpp file.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
Yoran
Site Admin
Posts: 96
Joined: Fri Oct 07, 2005 8:55 am
Location: The Netherlands
Contact:

Post by Yoran »

sounds very interesting!
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

I'm bored so I'm bumping this :lol:

My company uses unity builds and it's damned impressive the speed it compiles through at, definitely something to go for if you've got lots of things to compile!
Image Image Image
Post Reply