s/BenchmarkReportJSON.st
changeset 190 ab1b88f52b93
parent 180 df8e7dcbfd8d
child 194 55deffb7d7e7
--- a/s/BenchmarkReportJSON.st	Thu Sep 19 22:12:36 2013 +0100
+++ b/s/BenchmarkReportJSON.st	Thu Sep 19 23:32:35 2013 +0100
@@ -21,7 +21,7 @@
 
 write
     json writeDictionaryWith:[ 
-        json writeKey: 'name' value: self name.
+        json writeKey: 'tags' value: self name.
         json writeElementSeparator.
         json writeKey: 'timestamp' value: result timestamp printISO8601.
         json writeElementSeparator.
@@ -31,7 +31,7 @@
     ].
 
     "Created: / 12-06-2013 / 14:03:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 12-08-2013 / 18:24:28 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 19-09-2013 / 23:27:46 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 writeBenchmark: benchmark
@@ -51,6 +51,10 @@
 
 writeConfiguration
     json writeDictionaryWith: [
+        description notNil ifTrue:[
+            json writeKey: 'description' value: self description.
+        ].
+        json writeElementSeparator.
         json writeKey: 'language'   value: 'Smalltalk'.
         json writeElementSeparator.
         json writeKey: 'runtime'    value: BenchmarkPlatform current configurationStringRuntime.
@@ -61,7 +65,7 @@
     ].
 
     "Created: / 22-06-2013 / 22:43:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 12-08-2013 / 18:18:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 19-09-2013 / 22:46:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 writeFooter