Update master benchmark with SVG test
[WebKit-https.git] / PerformanceTests / Animometer / resources / runner / tests.js
1 var Headers = {
2     testName: [{ title: Strings.text.testName }],
3     score: [{ title: Strings.text.score, text: Strings.json.score }]
4 };
5
6 var Suite = function(name, tests) {
7     this.name = name;
8     this.tests = tests;
9 };
10
11 var Suites = [];
12
13 Suites.push(new Suite("Animometer",
14     [
15         {
16             url: "master/multiply.html",
17             name: "Multiply"
18         },
19         {
20             url: "master/canvas-stage.html?pathType=arcs",
21             name: "Canvas arcs"
22         },
23         {
24             url: "master/leaves.html",
25             name: "Leaves"
26         },
27         {
28             url: "master/canvas-stage.html?pathType=linePath",
29             name: "Paths"
30         },
31         {
32             url: "master/canvas-stage.html?pathType=line&lineCap=square",
33             name: "Canvas line segments"
34         },
35         {
36             url: "master/focus.html",
37             name: "Focus"
38         },
39         {
40             url: "master/image-data.html",
41             name: "Images"
42         },
43         {
44             url: "master/text.html",
45             name: "Design"
46         },
47         {
48             url: "master/svg-particles.html",
49             name: "Suits"
50         },
51     ]
52 ));
53
54 function suiteFromName(name)
55 {
56     return Suites.find(function(suite) { return suite.name == name; });
57 }
58
59 function testFromName(suite, name)
60 {
61     return suite.tests.find(function(test) { return test.name == name; });
62 }