diff options
author | bajones@chromium.org <bajones@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-05 07:27:39 +0000 |
---|---|---|
committer | bajones@chromium.org <bajones@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-05 07:27:39 +0000 |
commit | 0f0996d7332ee001115746e7e0d4c90966b88293 (patch) | |
tree | 89ae91eba3025abe4e94ff20ab3dd48ef83799bb | |
parent | 5b960e0b548660ddac39a6bc4a3ec5421c4b9322 (diff) | |
download | chromium_src-0f0996d7332ee001115746e7e0d4c90966b88293.zip chromium_src-0f0996d7332ee001115746e7e0d4c90966b88293.tar.gz chromium_src-0f0996d7332ee001115746e7e0d4c90966b88293.tar.bz2 |
Added webgl_tough_cases smoothness benchmark
Despite the name, many of these aren't necessarily "tough" cases, and they should generally run at 60 FPS. Their inclusion is mostly about guarding against regressions.
BUG=358383
Review URL: https://codereview.chromium.org/217203004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261976 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | tools/perf/benchmarks/smoothness.py | 5 | ||||
-rw-r--r-- | tools/perf/page_sets/data/tough_webgl_cases.json | 17 | ||||
-rw-r--r-- | tools/perf/page_sets/data/tough_webgl_cases_000.wpr.sha1 | 1 | ||||
-rw-r--r-- | tools/perf/page_sets/tough_webgl_cases.json | 40 |
4 files changed, 63 insertions, 0 deletions
diff --git a/tools/perf/benchmarks/smoothness.py b/tools/perf/benchmarks/smoothness.py index 58fefe8..3aa7924 100644 --- a/tools/perf/benchmarks/smoothness.py +++ b/tools/perf/benchmarks/smoothness.py @@ -21,6 +21,11 @@ class SmoothnessToughCanvasCases(test.Test): page_set = 'page_sets/tough_canvas_cases.json' +class SmoothnessToughWebGLCases(test.Test): + test = smoothness.Smoothness + page_set = 'page_sets/tough_webgl_cases.json' + + class SmoothnessKeyMobileSites(test.Test): """Measures rendering statistics while scrolling down the key mobile sites. diff --git a/tools/perf/page_sets/data/tough_webgl_cases.json b/tools/perf/page_sets/data/tough_webgl_cases.json new file mode 100644 index 0000000..8855820 --- /dev/null +++ b/tools/perf/page_sets/data/tough_webgl_cases.json @@ -0,0 +1,17 @@ +{ + "description": "Describes the Web Page Replay archives for a page set. Don't edit by hand! Use record_wpr for updating.", + "archives": { + "tough_webgl_cases_000.wpr": [ + "http://montagestudio.com/demos/eco-homes/", + "http://helloracer.com/racer-s/", + "http://www.khronos.org/registry/webgl/sdk/demos/google/nvidia-vertex-buffer-object/index.html", + "http://www.khronos.org/registry/webgl/sdk/demos/google/san-angeles/index.html", + "http://www.khronos.org/registry/webgl/sdk/demos/google/particles/index.html", + "http://www.khronos.org/registry/webgl/sdk/demos/webkit/Earth.html", + "http://www.khronos.org/registry/webgl/sdk/demos/webkit/ManyPlanetsDeep.html", + "http://webglsamples.googlecode.com/hg/aquarium/aquarium.html", + "http://webglsamples.googlecode.com/hg/blob/blob.html", + "http://webglsamples.googlecode.com/hg/dynamic-cubemap/dynamic-cubemap.html" + ] + } +}
\ No newline at end of file diff --git a/tools/perf/page_sets/data/tough_webgl_cases_000.wpr.sha1 b/tools/perf/page_sets/data/tough_webgl_cases_000.wpr.sha1 new file mode 100644 index 0000000..3072f26 --- /dev/null +++ b/tools/perf/page_sets/data/tough_webgl_cases_000.wpr.sha1 @@ -0,0 +1 @@ +59778618c4ea6d409faea74ce94dd3fcfc55172a
\ No newline at end of file diff --git a/tools/perf/page_sets/tough_webgl_cases.json b/tools/perf/page_sets/tough_webgl_cases.json new file mode 100644 index 0000000..9ffc2ae --- /dev/null +++ b/tools/perf/page_sets/tough_webgl_cases.json @@ -0,0 +1,40 @@ +{ + "description": "Self-driven WebGL animation examples", + "archive_data_file": "data/tough_webgl_cases.json", + "make_javascript_deterministic": false, + "navigate_steps": [ + { "action": "navigate" }, + { "action": "wait", "javascript": "document.readyState == 'complete'" }, + { "action": "wait", "seconds": 2 } + ], + "smoothness": { "action": "wait", "seconds": 5 }, + "pages": [ + { + "url":"http://montagestudio.com/demos/eco-homes/", + "why": "Observed performance regression with this demo in M33", + "navigate_steps": [ + { "action": "navigate" }, + { "action": "wait", "javascript": "document.readyState == 'complete'" }, + { "action": "wait", "seconds": 15 } + ] + }, + { + "url":"http://helloracer.com/racer-s/", + "navigate_steps": [ + { "action": "navigate" }, + { "action": "wait", "javascript": "document.readyState == 'complete'" }, + { "action": "wait", "seconds": 10 } + ] + }, + + { "url":"http://www.khronos.org/registry/webgl/sdk/demos/google/nvidia-vertex-buffer-object/index.html" }, + { "url":"http://www.khronos.org/registry/webgl/sdk/demos/google/san-angeles/index.html" }, + { "url":"http://www.khronos.org/registry/webgl/sdk/demos/google/particles/index.html" }, + { "url":"http://www.khronos.org/registry/webgl/sdk/demos/webkit/Earth.html" }, + { "url":"http://www.khronos.org/registry/webgl/sdk/demos/webkit/ManyPlanetsDeep.html" }, + + { "url":"http://webglsamples.googlecode.com/hg/aquarium/aquarium.html" }, + { "url":"http://webglsamples.googlecode.com/hg/blob/blob.html" }, + { "url":"http://webglsamples.googlecode.com/hg/dynamic-cubemap/dynamic-cubemap.html" } + ] +} |