[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autotest function usage
From: |
Eric Blake |
Subject: |
Re: Autotest function usage |
Date: |
Wed, 14 Nov 2007 20:25:00 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 11/14/2007 2:42 PM:
>
> Here we go. Could somebody please time this on w32? Thanks.
>
Timings on Cygwin; best of three (except for the time-consuming -100 test).
Pre patch:
$ \time ./testsuite 1
14.26user 6.09system 0:14.08elapsed 144%CPU (0avgtext+0avgdata
75759616maxresident)k
0inputs+0outputs (297203major+0minor)pagefaults 0swaps
$ \time ./testsuite -10
69.20user 27.79system 1:06.96elapsed 144%CPU (0avgtext+0avgdata
407502848maxresident)k
0inputs+0outputs (1599312major+0minor)pagefaults 0swaps
$ \time ./testsuite -100
1223.11user 495.20system 18:54.70elapsed 151%CPU (0avgtext+0avgdata
3454205952maxresident)k
0inputs+0outputs (30399575major+0minor)pagefaults 0swaps
Post patch:
$ \time ./testsuite 1
13.66user 5.35system 0:13.42elapsed 141%CPU (0avgtext+0avgdata
76480512maxresident)k
0inputs+0outputs (300217major+0minor)pagefaults 0swaps
$ \time ./testsuite -10
66.45user 28.01system 1:10.71elapsed 133%CPU (0avgtext+0avgdata
411303936maxresident)k
0inputs+0outputs (1614087major+0minor)pagefaults 0swaps
$ \time ./testsuite -100
1162.81user 488.71system 18:14.99elapsed 150%CPU (0avgtext+0avgdata
3354198016maxresident)k
0inputs+0outputs (30005673major+0minor)pagefaults 0swaps
> So we lose 7% on the single test, win 3.5% on 10 tests and 2% on 100
> tests. Of course Autoconf's tests are expensive. (Yes, I did except
> the new test that the patch added, from testing.)
Cygwin gained 4% on both a single test and 10 tests, and gained 5.9% on
the 100 tests (although that number is a bit skewed, since many of the
first 100 tests include a microsuite that runs a single test, so you get
some of the effects of the 1-test speedup or penalty for each of tests
53-100).
> Do you think this is worthwhile to apply?
Yes, after the nits in my previous mail are addressed. (A shell script
that emits an awk script that emits a shell script that creates files for
sourcing, all because it is faster than making the original shell do all
the parsing. What an interesting concept.)
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHO7wL84KuGfSFAYARAgKAAKCvBONnt7VJLatHGrfkQ9p5KGbYKACdEBOm
rmEgZUT2X5gb0UNFgBrrGtU=
=csQC
-----END PGP SIGNATURE-----