[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: |
Eric Blake |
Subject: |
Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half |
Date: |
Wed, 09 Apr 2008 21:25:41 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bob Friesenhahn on 4/9/2008 7:01 PM:
| There may be value to extracting these shell functions into separate
| files which are sourced only when needed. This way the overhead of
| parsing "linking" code is not encountered while compiling, and
| vice-versa. Since there is surely overhead associated with opening and
| sourcing a file the chunk of code should be pretty large.
In fact, that's what autotest does in autoconf 2.62 - it distributes a
single file with all the tests in the tail of the file, where the shell
script at the head of the file parses the command line options, uses that
to drive an awk script to parse out the line numbers where the tests of
interest live, then uses the line number cache to drive a sed script to
parse out each test into a separate file for sourcing by the shell only
when it is needeed. As crazy as this multi-process action sounds, it was
hands down faster than letting the shell parse all the test functions when
running a subset of the testsuite, without too much penalty when running
the entire testsuite.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkf9iLUACgkQ84KuGfSFAYAcIwCeNuLsON7gZ0XLG8k+U3cXydeT
2REAnjZOLd81d7Kw5Hdh3FH/PkhFbWPs
=LLpS
-----END PGP SIGNATURE-----
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, (continued)
- 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 <=
- 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
- Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Peter O'Gorman, 2008/04/09
- 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, Peter O'Gorman, 2008/04/10
Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, Michel BRIAND, 2008/04/09
Re: Announcing Dolt, a drop-in Libtool replacement which cuts build times in half, David Johnson, 2008/04/09