[PATCH] D116373: [docs] Add documentation for the plot option

Dimitrije Milošević via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 29 06:41:57 PST 2021


dmilosevic141 created this revision.
dmilosevic141 added a reviewer: djtodoro.
dmilosevic141 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch adds documentation for the new plot option for the //LLVM test-suite//'s //utils/compare.py// script, which was introduced in https://reviews.llvm.org/D116302.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116373

Files:
  llvm/docs/TestSuiteGuide.md
  llvm/docs/test-suite-guide-plot.png


Index: llvm/docs/TestSuiteGuide.md
===================================================================
--- llvm/docs/TestSuiteGuide.md
+++ llvm/docs/TestSuiteGuide.md
@@ -289,6 +289,13 @@
   % test-suite/utils/compare.py base0.json base1.json base2.json vs exp0.json exp1.json exp2.json
   ```
 
+- Compare two result files and plot the mean values and the most differing test results:
+
+  ```bash
+  % test-suite/utils/compare.py results1.json results2.json -plot
+  ```
+  ![Plot](test-suite-guide-plot.png)
+
 ### Continuous Tracking with LNT
 
 LNT is a set of client and server tools for continuously monitoring


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116373.396523.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211229/f549adc5/attachment.bin>


More information about the llvm-commits mailing list