Update perf.webkit.org json example
authorzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Mar 2014 22:14:47 +0000 (22:14 +0000)
committerzoltan@webkit.org <zoltan@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Mar 2014 22:14:47 +0000 (22:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=129907

Reviewed by Andreas Kling.

The current example is not valid json syntax. I fixed the syntax errors and indented the code properly.

* ReadMe.md:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165338 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/ReadMe.md

index 005d2e7..027746c 100644 (file)
@@ -1,3 +1,14 @@
+2014-03-08  Zoltan Horvath  <zoltan@webkit.org>
+
+        Update perf.webkit.org json example
+        https://bugs.webkit.org/show_bug.cgi?id=129907
+
+        Reviewed by Andreas Kling.
+
+        The current example is not valid json syntax. I fixed the syntax errors and indented the code properly.
+
+        * ReadMe.md:
+
 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
 
         Merge database-common.js and utility.js into run-tests.js.
index 0dc02fc..7a4b835 100644 (file)
@@ -115,27 +115,45 @@ contain the following key-value pairs representing a single run of tests on a si
 
 A sample JSON:
 
-    {
-        "buildNumber": "651",
-        "buildTime": "2013-01-31T22:22:12.121051",
-        "builderName": "bot-111",
-        "builderPassword": "********"
-        "platform": "Mountain Lion",
-        "revisions": {
-            "OS X": {"revision": "10.8.2"},
-            "WebKit": {"revision": "141469", "timestamp": "2013-01-31T20:55:15.452267Z"}
+[{
+    "buildNumber": "651",
+    "buildTime": "2013-01-31T22:22:12.121051",
+    "builderName": "bot-111",
+    "builderPassword": "********",
+    "platform": "Mountain Lion",
+    "revisions": {
+        "OS X": {
+            "revision": "10.8.2"
         },
-               "tests": {
-            "PageLoadingTest": {
-                "metrics": {"Time": ["Arithmetic", "Geometric"]},
-                "tests": {
-                    "webkit.org": {
-                    "metrics": {"Time": {"current": [629.1, 654.8, 598.9]}}
+        "WebKit": {
+            "revision": "141469",
+            "timestamp": "2013-01-31T20:55:15.452267Z"
+        }
+    },
+    "tests": {
+        "PageLoadingTest": {
+            "metrics": {
+                "Time": [
+                    "Arithmetic",
+                    "Geometric"
+                ]
+            },
+            "tests": {
+                "webkit.org": {
+                    "metrics": {
+                        "Time": {
+                            "current": [
+                                629.1,
+                                654.8,
+                                598.9
+                            ]
+                        }
+                    }
                 },
                 "url": "http://www.webkit.org/"
             }
         }
     }
-
+}]
 
 FIXME: Add a section describing how the application is structured.