Web Inspector: UI performance tests are required.
authorloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Sep 2011 16:26:20 +0000 (16:26 +0000)
committerloislo@chromium.org <loislo@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Sep 2011 16:26:20 +0000 (16:26 +0000)
commitae518775b0518629c5a1597c21e8dc6d2e7bdc2e
tree092d38193235104bc332ab48fb3474303f1789ba
parentfea54108f6199b2f371b4e94a7b51083287d1db3
Web Inspector: UI performance tests are required.
https://bugs.webkit.org/show_bug.cgi?id=68234

The idea is to create a set of tests which cover frequently used UI actions
and print the average time of these actions.
There are two pilot tests. The common part was extracted into performance-test helper.

Reviewed by Pavel Feldman.

* inspector/performance/resources/network-append-30-requests.html: Added.
* inspector/performance/resources/performance-test.js: Added.
(initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer):
(initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.start):
(initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.finish):
(initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype.done):
(initialize_TimeTracker.InspectorTest.runPerformanceTest.Timer.prototype._runTest):
* inspector/performance/resources/show-panel-network.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/inspector/performance/resources/network-append-30-requests.html [new file with mode: 0644]
LayoutTests/inspector/performance/resources/performance-test.js [new file with mode: 0644]
LayoutTests/inspector/performance/resources/show-panel-network.html [new file with mode: 0644]