[Webkit-unassigned] [Bug 186443] Test262-Runner: Improve files queue to optimize CPU usage/balancing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 13 07:52:48 PDT 2018


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

--- Comment #16 from Michael Saboff <msaboff at apple.com> ---
(In reply to Michael Saboff from comment #15)
> Comment on attachment 342607 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=342607&action=review
> 
> r-
> 
> See my update to 1.pm which uses IO::Select at
> https://gist.github.com/msaboff/8540538562a411f3b2b6b9029aa23cb2.js
> 
> > Tools/Scripts/test262/Runner.pm:358
> > +        foreach my $child (@children) {
> > +            if ($child->getline) {
> 
> Instead of busy polling, this code should use IO::Select.

This link works better - https://gist.github.com/msaboff/8540538562a411f3b2b6b9029aa23cb2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180613/9d462a76/attachment.html>


More information about the webkit-unassigned mailing list