[Webkit-unassigned] [Bug 10906] Parallelize run-webkit-tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 10 22:35:54 PDT 2008


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





------- Comment #5 from jacob.refstrup at hp.com  2008-07-10 22:35 PDT -------
My initial thoughts for a design were as follows:

- The main test loop starts with doing an openDumpTool(); just prior to that we
would 
    - if total number of outstanding tests was greater than threshold then wait
for an one to finish
    - then fork another test (essentially just forking the perl program)
    - when test is done don't update the $tests{result} hash but rather exit
with an error code
       and have the parent use that error code to update $tests{result}.

Pros:
- relatively simple

Cons:
- extra (perl) process per test

Other ideas:
- perhaps use real threads (rather than processes) to avoid overhead;  not sure
how the SIGPIPE handler would work then.


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



More information about the webkit-unassigned mailing list