Teach Controller to measure intervals, and turn off the frame length estimator.
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Feb 2016 03:30:52 +0000 (03:30 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Feb 2016 03:30:52 +0000 (03:30 +0000)
commit276854b50da32f426c7a7a390c73688d2f72d5b3
tree0dcf37506acfc6b58414e30d7101054a7129b7c7
parent31e4c9c4338927ed220daadd9c8413f167eb75a6
Teach Controller to measure intervals, and turn off the frame length estimator.

* Animometer/tests/resources/main.js: Default interval length is 100 ms.
(start): Set the first interval.
(_measureAndResetInterval): Reports the average frame length of the interval that just
completed, and sets up the next interval.
(update): If there is no length, then just use the estimator per frame, otherwise the
estimator measures per interval. Add a didFinishInterval for subclasses to process
prior to recording the sample. Update tune() to include whether an interval had
finished.
(StepController): Step controllers don't measure on an interval basis.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@196299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/Animometer/tests/resources/main.js
PerformanceTests/ChangeLog