Web Inspector: UI performance test for network panel is incorrect. The time is includ...
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 14:30:38 +0000 (14:30 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 29 Sep 2011 14:30:38 +0000 (14:30 +0000)
commita38ed352d6ea70ba2f98a95e59f909aa1a01eb46
treed24d2d69587004c94ef413b4e492234043d50d8b
parente8507189621959cd386a24e251a8361ec7f48a57
Web Inspector: UI performance test for network panel is incorrect. The time is including a timeout between scheduled refresh and actual refresh.
https://bugs.webkit.org/show_bug.cgi?id=69087

The fix has the changes for the test and minor perf framework improvements.

Reviewed by Yury Semikhatsky.

Source/WebCore:

* inspector/front-end/NetworkPanel.js:
(WebInspector.NetworkLogView.prototype._defaultRefreshDelay.500._scheduleRefresh):

LayoutTests:

* inspector/performance/resources/network-append-30-requests.html:
* inspector/performance/resources/performance-test.js:
(initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):
(initialize_TimeTracker.InspectorTest.runPerformanceTest):
(initialize_TimeTracker.InspectorTest.mark):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@96326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/performance/resources/network-append-30-requests.html
LayoutTests/inspector/performance/resources/performance-test.js
Source/WebCore/ChangeLog
Source/WebCore/inspector/front-end/NetworkPanel.js