[Webkit-unassigned] [Bug 37262] new-run-webkit-tests should estimate test completion time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 8 15:29:42 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37262





--- Comment #14 from Csaba Osztrogonac <ossy at webkit.org>  2010-04-08 15:29:41 PST ---
(In reply to comment #9)
> Why? As opposed to just getting it to run as fast as possible over all the
> cores in the machine and queuing each run? 
> 
> Handling real concurrency would involve supporting multiple HTTP servers, etc,
> which might be a real hassle.

Queueing can be a good solution, but we should guarantee running  
in the arrival order to avoid starvation (see dining philosophers).

AndrĂ¡s made a good solution for this in run-webkit-tests implementation 
(--wait-for-http locking mechanism). The idea is very simple, the script 
touch a new lock.XXXX file, where XXX is an automatically incremental value,
and always runs the owner of least one.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list