Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5014)

Unified Diff: chrome/test/data/third_party/spaceport/README.md

Issue 10134041: Add test data for spaceport benchmark. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/third_party/spaceport/README.md
diff --git a/chrome/test/data/third_party/spaceport/README.md b/chrome/test/data/third_party/spaceport/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..b37b76de957629d495e86049dd1b830e85777823
--- /dev/null
+++ b/chrome/test/data/third_party/spaceport/README.md
@@ -0,0 +1,75 @@
+Basic benchmarks to measure HTML5 performance and support for game related features
+
+Running the Tests
+-----------------
+
+1. Install [Node.js][1] (0.6.0+).
+2. Run in shell: `npm install`
+3. Run in shell: `node server`
+4. Open in browser: `http://localhost:3002/`
+5. Configure parameters of the test run, if desired.
+6. Click "Run Tests".
+7. If you uploaded results, see the `server/uploads/` directory.
+
+[1]: http://nodejs.org/
+
+Interpreting Results
+--------------------
+
+### Sprite tests
+
+The `Source type` indicates the data being displayed.
+
+The `Technique` indicates the browser method used to render the data.
+
+The `Test type` indicates what transformations were performed on the data using
+the technique.
+
+The `JS time (ms)` result shows how much JavaScript time was spent rendering
+the objects in one second.
+
+The `Objects at 30FPS` result shows how many objects were able to be rendered
+while rendering at 30 frames per second.
+
+### Audio latency test
+
+The `Cold play latency` indicates how much time it took between `.play()` and
+the first subsequent `play` or `timeupdate` event on a new WAV `<audio>`
+element.
+
+The `Warm play latency` indicates how much time it took between `.play()` and
+the first subsequent `play` or `timeupdate` event on a WAV `<audio>` element
+which has already played.
+
+### Canvas text test
+
+The `Score` result shows how many renders could be made per 100 milliseconds.
+
+Code structure
+--------------
+
+Test cases are build into a recursive object structure. Test cases are run
+through the test runner in `js/testRunner.js`.
+
+Test cases are displayed based upon the specification in `js/tables.js`.
+
+### Sprite tests
+
+Sprite tests are found under `js/sprites/`.
+
+There are three interleaved components:
+
+#### Sources
+
+Each source represents some asset (e.g. a sprite sheet). Maps to the `Source
+type` result.
+
+#### Transformers
+
+Transformers modify the source by applying affine or other transformations.
+Maps to the `Test type` result.
+
+#### Renderers
+
+Renderers displayed transformed sources using different techniques. Maps to the
+`Technique` result. See `js/sprites/renderers/README.md` for details.
« no previous file with comments | « chrome/test/data/third_party/spaceport/README.chromium ('k') | chrome/test/data/third_party/spaceport/assets/html5-logo.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698