[webkit-dev] Faster run-webkit-tests?

Stephanie Lewis slewis at apple.com
Fri Jul 11 14:07:18 PDT 2008


At one point I was running multiple run-webkit-tests at the same time,  
and for the most part it worked ok.  There were a couple of gotchas.

1) Some tests depend on temporary files being created and then  
deleted, and running multiple tests was interfering with that.  I  
believe this bug was fixed.

2) The http server for the http tests doesn't handle concurrent tests  
very well.  You would need to look at those tests and figure out what  
needs to be done there.

Something else you can look at is running run-webkit-tests with the -- 
threaded flag.  It runs with the test multiple javascript threads.   
You can run that and see if it highlights any other issues.  The last  
time I ran with that flag (a while ago) there were a large number of  
failures.

-- Stephanie Lewis

A final thought.  If we did introduce simultaneous tests then run- 
webkit-tests would lose some of its value, because the test would be  
less deterministic.

On Jul 10, 2008, at 7:58 PM, Dan Bernstein wrote:

> On Jul 10, 2008, at 5:11 PM, Refstrup, Jacob Grundtvig wrote:
>
>> Hi,
>>
>> Has anyone looked into making run-webkit-tests run faster by taking
>> advantage of multiple CPUs? E.g. my workstation is 8gb, with 2 x
>> dual core and I think it'd do just fine in running 4-8 tests
>> simultaneously.
>>
>> If there's no such work then I might start poking around.
>
> I am not aware of any current work. See <https://bugs.webkit.org/show_bug.cgi?id=10906
>> .
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



More information about the webkit-dev mailing list