Make & Ninja benchmark with 1k, 10k and 100k source files

2016-11-07 Thread David Rothlisberger
Hi, I used a script in Tup's test suite to generate some projects with 1k, 10k and 100k C files to test the performance of Ninja vs. GNU Make (on Linux). There isn't much difference in full builds from a clean checkout. For no-op builds, Make still takes <1s with 10k source files. At 100k source

Re: Make & Ninja benchmark with 1k, 10k and 100k source files

2016-11-09 Thread David Rothlisberger
On 9 November 2016 at 16:33, Paul Smith wrote: > > Make does try to build depth-first, but it > > seems to push the targets to the end of a queue if it needed to build > > their prerequisites first > > The details will require a bit of investigation. I've done some further experiments. Make behav