[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Announcing Dolt, a drop-in Libtool replacement which cuts build time
From: |
Ralf Wildenhues |
Subject: |
Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half |
Date: |
Wed, 9 Apr 2008 18:44:55 +0200 |
User-agent: |
Mutt/1.5.17 (2008-03-09) |
* Josh Triplett wrote on Wed, Apr 09, 2008 at 06:02:36PM CEST:
> Ralf Wildenhues wrote:
> >
> > Curious: can you please state which Libtool version you timed against,
> > and if not 2.2.x, redo timing against 2.2.2? Not that I expect wonders,
> > but I expect something better than what you measured.
>
> I tested against 1.5.26. I'll give 2.2.2 a shot and see what I find.
> However, when I looked at 2.2.2, it still seems to have a
> multi-thousand-line shell script; do you just expect the benefit to
> come from the new shell-specific optimizations?
Partly, yes. And Ross showed that we already got half the way, and yes,
the compile mode improvements are the biggest:
<http://thread.gmane.org/gmane.linux.debian.devel.general/126905/focus=9125>
Libtool 2.2.2 in compile mode uses only 6 forks in compile mode if your
shell has XSI features.
Another thing to keep in mind is to put func_mode_compile early in the
script, and outside of conditionals, so that the shell doesn't even have
to parse anything below that. That gave the biggest speedup on
GNU/Linux (where forks are relatively cheap).
<http://thread.gmane.org/gmane.comp.gnu.libtool.patches/7230>
That message also shows timings for a separated libtool-link script,
beyond which I then saw no further performance improvements. I guess
I could try to dig out that old patch (which was never applied).
Also, I see two more low-hanging fruits at the moment. Will follow up
with patches later tonight or tomorrow night.
Cheers,
Ralf
- Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Josh Triplett, 2008/04/09
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Ralf Wildenhues, 2008/04/09
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Ross Burton, 2008/04/09
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Josh Triplett, 2008/04/09
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Bob Friesenhahn, 2008/04/09
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Eric Blake, 2008/04/09
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Bob Friesenhahn, 2008/04/09
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Eric Blake, 2008/04/09
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Peter O'Gorman, 2008/04/10
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Bob Friesenhahn, 2008/04/10
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Ralf Wildenhues, 2008/04/10
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Peter O'Gorman, 2008/04/10
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Gary V. Vaughan, 2008/04/10