This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: parallelize objc testing a bit more


On Feb 22, 2011, at 12:36 AM, Jakub Jelinek wrote:
> On Tue, Feb 22, 2011 at 12:20:26AM -0800, Mike Stump wrote:
>> 	* Make-lang.in (check_objc_parallelize): Refine for 4 processor machines.
> 
> This doesn't seem to be a good idea to me.

Well, on a standard linux box, I get:

before:

real	1m4.538s
user	2m33.710s
sys	0m42.230s

after:

real	1m2.078s
user	2m30.900s
sys	0m41.750s

so, this improved wall time, improved user time and improved system time...  Yes, the results are repeatable.

So, on linux, I'd call it a wash, or ever so slightly better.  But that isn't isn't quite why I did it.  On darwin, a ton more testcases fire, and splitting them up allows substantially faster testing:

gnu-encoding.exp completed in 259 seconds
execute.exp completed in 151 seconds
exceptions.exp completed in 120 seconds
dg.exp completed in 43 seconds
strings.exp completed in 19 seconds
...

I'd be curious in exactly how much slower it is for you?  I'm hoping that it is under 2 seconds.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]