Remove unneeded data processing in MotionMark
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jun 2018 23:46:43 +0000 (23:46 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jun 2018 23:46:43 +0000 (23:46 +0000)
commit8d1eb17a4e5961fab3ec84b099d6ad6dd425fb4f
tree02d1fd84b9658fd3cf4bf7da53115b60d737a769
parent7101e0d801c74a1ee60abf43697016504fdfe605
Remove unneeded data processing in MotionMark
https://bugs.webkit.org/show_bug.cgi?id=186256

Reviewed by Said Abou-Hallawa.

Remove calculation of average frame rate based on multiple samples at a given complexity.
It is not used in the calculation of the score, and is just extra work to do at the end
of a test.

* MotionMark/developer.html: Remove options to show average data and regression based on
that data.
* MotionMark/resources/debug-runner/graph.js: Remove data. Update the time graph that
shows the relationship between the break point in the regression against the complexity
graph.
* MotionMark/resources/debug-runner/motionmark.css: Make the confidence intervals easier
to see.
* MotionMark/resources/runner/motionmark.js: Simplify score calculation now that we are
only calculating regressions on the raw data. We were calculating it based on the averages,
but that was just for analysis, and not used in the actual score. Get rid of the
|complexitySamples| local variable.
* MotionMark/resources/strings.js: Remove unneeded string constant.
* MotionMark/tests/resources/main.js:
(processSamples): Refactor so that more of it can be shared between Controller and
RampController. It also avoids processing the raw samples (controllerSamples) twice for
the ramp controller.
(_processComplexitySamples): Remove logic to calculate averages based on complexity.
(_processMarks): Split this out from the old processSamples.
(_processControllerSamples): Split this out from the old processSamples.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/MotionMark/developer.html
PerformanceTests/MotionMark/resources/debug-runner/graph.js
PerformanceTests/MotionMark/resources/debug-runner/motionmark.css
PerformanceTests/MotionMark/resources/runner/motionmark.js
PerformanceTests/MotionMark/resources/strings.js
PerformanceTests/MotionMark/tests/resources/main.js