Make SvgCubics performance test more consistent
authorpdr@google.com <pdr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jun 2012 23:26:12 +0000 (23:26 +0000)
committerpdr@google.com <pdr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Jun 2012 23:26:12 +0000 (23:26 +0000)
commit273d4e794e439d848ee7acce5516899339f3c216
tree38c49f900c8a7c65faa1760def32a565159aba6a
parent7aa18b9ef0bebb3f20d0558be5cd0a0e6896301e
Make SvgCubics performance test more consistent
https://bugs.webkit.org/show_bug.cgi?id=89778

Reviewed by Ryosuke Niwa.

Previously this test ran twice for each iteration, but this led to inconsistent repaints.
This change updates the test to only run once per iteration, and adds even more cubics
so that the test runs consistently in the 80ms range on my Linux desktop.

Performance results on my desktop:
    RESULT SVG: SvgCubics= 80.5 ms
    median= 82.0 ms, stdev= 3.04138126515 ms, min= 75.0 ms, max= 85.0 ms

    RESULT SVG: SvgCubics= 80.1 ms
    median= 81.0 ms, stdev= 4.27668095607 ms, min= 74.0 ms, max= 88.0 ms

    RESULT SVG: SvgCubics= 81.45 ms
    median= 83.0 ms, stdev= 4.01839520207 ms, min= 75.0 ms, max= 89.0 ms

    RESULT SVG: SvgCubics= 78.9 ms
    median= 80.0 ms, stdev= 4.75289385533 ms, min= 72.0 ms, max= 87.0 ms

* SVG/SvgCubics.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/SVG/SvgCubics.html