On Thu, Sep 25, 2014 at 10:04 AM, Ben Boeckel <[email protected]> wrote:

> On Wed, Sep 24, 2014 at 09:03:11 +0200, Freddie Chopin wrote:
> > On 09/24/2014 02:40 AM, Mike Shal wrote:
> > > Build time increased by over 100% compared to what?
> >
> > Full rebuild WITH ^c^ takes 69s / 63s (first / second run). The same
> > full rebuild without this flag takes half that time - 31s / 29s. This is
> > a very specific project - it has 724 commands to run, most of the source
> > files are really small (someone has strange vision about helping linker
> > with dead code removal), but on the other hand it is the project that
> > made me start using tup (; It uses recursive Makefiles and the build was
> > so bad that a no-op build on Windows took about 30s (I don't remember
> > exactly now), and a full rebuild - about 3 minutes. With tup a no-op
> > build was down to about 10s (some parts of the Makefile based build
> > ["context generation"] were left, as 10s was acceptable, and the amount
> > of work to full convert to tup would be huge... - from these 10s 99% was
> > Makefile, so no worries, tup is still fast (; ), and a full rebuild to
> > ~90s. Out of curiosity I tried the recursive Makefile build of this
> > project on Linux, and it's actually a bit faster in compilation than tup
> > with ^c^ enabled... Full rebuild takes about 55s, while the almost-no-op
> > build (the Makefiles are so damn wrong that the executable get's
> > re-linked every time) takes 3-5s.
>
> I have a project for which there are 114 source files, 10k lines of C++
> and 45 build trees worth of no-op builds took .5s with Ninja.
>
>
500ms isn't too bad for a development loop, though it seems kinda long for
such a small project. What happens when the project is 10x or 100x as big?
Will it take 10x or 100x as long? And this is ignoring the time to generate
the ninja files, right?

-Mike

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to