[PATCH] D44005: [LNT] Document how to import Performance profiles in JSON format.

Martin Liška via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 03:04:58 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL327112: Document how to import Performance profiles in JSON format. (authored by marxin, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D44005?vs=136724&id=137713#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D44005

Files:
  lnt/trunk/docs/profiles.rst


Index: lnt/trunk/docs/profiles.rst
===================================================================
--- lnt/trunk/docs/profiles.rst
+++ lnt/trunk/docs/profiles.rst
@@ -53,31 +53,21 @@
 Now we just need to add it to the report. Profiles look similar to hashes in that they are samples with string data::
 
   {
-     "Machine": {
+    "format_version": "2",
+    "machine": {
        ...
-     },
-     "Run": {
+    },
+    "run": {
        ...
-     },
-     "Tests": [
-          {
-              "Data": [
-                  0.1056,
-                  0.1055
-              ],
-              "Info": {},
-              "Name": "nts.suite1/program1.exec"
-          },
-          {
-              "Data": [
-                  "eJxNj8EOgjAMhu99Cm9wULMOEHgBE888QdkASWCQFWJ8e1v04JIt+9f//7qmfkVoEj8yMXdzO70v/RJn2hJYrRQiveSWATdJvwe3jUtgecgh9Wsh9T6gyJvKUjm0kegK0mmt9UCjJUSgB5q8KsobUJOQ96dozr8tAbRApPbssOeCcm83ddoLC7ijMcA/RGUUwXt7iviPEDLJN92yh62LR7I8aBUMysgLnaKNFNzzMo8y7uGplQ4sa/j6rfn60WYaGdRhtT9fP5+JUW4="
-              ],
-              "Info": {},
-              "Name": "nts.suite2/program1.profile"
-          }
-      ]
-   }
-
+    },
+    "tests": [
+       {
+           "name": "nts.suite1/program1",
+           "execution_time": [ 0.1056, 0.1055 ],
+           "profile": "eJxNj8EOgjAMhu99Cm9wULMOEHgBE888QdkASWCQFWJ8e1v04JIt+9f//7qmfkVoEj8yMXdzO70v/RJn2hJYrRQiveSWATdJvwe3jUtgecgh9Wsh9T6gyJvKUjm0kegK0mmt9UCjJUSgB5q8KsobUJOQ96dozr8tAbRApPbssOeCcm83ddoLC7ijMcA/RGUUwXt7iviPEDLJN92yh62LR7I8aBUMysgLnaKNFNzzMo8y7uGplQ4sa/j6rfn60WYaGdRhtT9fP5+JUW4="
+       }
+    ]
+}
 
 Supported formats
 -----------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44005.137713.patch
Type: text/x-patch
Size: 1619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180309/36d14137/attachment.bin>


More information about the llvm-commits mailing list