RESOLVED INVALID Bug 161696
REGRESSION: Some XMLHttpRequest tests have become much slower, and frequently time out (http/tests/xmlhttprequest/methods-async.html, http/tests/xmlhttprequest/workers/methods.html)
https://bugs.webkit.org/show_bug.cgi?id=161696
Summary REGRESSION: Some XMLHttpRequest tests have become much slower, and frequently...
Alexey Proskuryakov
Reported 2016-09-07 09:51:12 PDT
Some time around August 20, a few tests became much slower - usually taking around 30 seconds, and thus often timing out. E.g.: https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=http%2Ftests%2Fxmlhttprequest%2Fworkers%2Fmethods.html https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=http/tests/xmlhttprequest/methods-async.html You can see that before August 20th or so, the tests were taking under a second, or a few seconds at most, then gradually grew, and now always take very substantial time.
Attachments
Alexey Proskuryakov
Comment 1 2016-09-07 09:54:15 PDT
There are a couple reasons for such behavior that I can think of: 1. Disk caching going crazy, and storing way too many files to be performant (we've seen that with media loads before). 2. Us gradually adding more and more unrelated tests that globally slow down the system in some way, perhaps leaking VM entries or confusing JSC garbage collection code.
Alexey Proskuryakov
Comment 2 2016-09-07 09:55:06 PDT
The regression is only observed with WebKit2 at this time.
Alexey Proskuryakov
Comment 3 2016-09-07 09:58:28 PDT
I guess #1 is unlikely, as this is happening on both iOS and macOS, and we are supposed to always start with a clean simulator on iOS.
Jonathan Bedard
Comment 4 2016-09-07 11:02:56 PDT
https://bugs.webkit.org/show_bug.cgi?id=161699 should enable spindump on timeout for only iOS 9 WK2 release simulators. Just needs a review.
Radar WebKit Bug Importer
Comment 5 2016-09-08 19:44:53 PDT
Alexey Proskuryakov
Comment 6 2016-09-15 13:18:51 PDT
Looks like rebooting clears this up.
Alexey Proskuryakov
Comment 7 2016-09-26 10:06:10 PDT
Tracked this down to an issue below WebKit, will continue tracking in Radar. We'll need to reboot the bots periodically for now.
Note You need to log in before you can comment on or make changes to this bug.