Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
respdiff
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knot projects
respdiff
Commits
ade56da1
Verified
Commit
ade56da1
authored
Aug 08, 2018
by
Tomas Krizek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: statcmp
parent
6f94d514
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
65 additions
and
0 deletions
+65
-0
README.rst
README.rst
+1
-0
doc/example_violin_failed.png
doc/example_violin_failed.png
+0
-0
doc/example_violin_improvement.png
doc/example_violin_improvement.png
+0
-0
doc/example_violin_multi.png
doc/example_violin_multi.png
+0
-0
doc/example_violin_noreport.png
doc/example_violin_noreport.png
+0
-0
doc/example_violin_passed.png
doc/example_violin_passed.png
+0
-0
doc/statcmp.rst
doc/statcmp.rst
+64
-0
No files found.
README.rst
View file @
ade56da1
...
...
@@ -58,6 +58,7 @@ Respdiff is conceptually chain of independent tools:
6. `histogram <doc/histogram.rst>`__: plot graph of answer latencies
7. `sumcmp <doc/sumcmp.rst>`__: compare a new diffsum report to a reference one
8. `sumstat <doc/sumstat.rst>`__: generate statistics from multiple diffsum reports
9. `statcmp <doc/statcmp.rst>`__: plot and compare statistics and reports
Changelog
...
...
doc/example_violin_failed.png
0 → 100644
View file @
ade56da1
24 KB
doc/example_violin_improvement.png
0 → 100644
View file @
ade56da1
23.4 KB
doc/example_violin_multi.png
0 → 100644
View file @
ade56da1
27 KB
doc/example_violin_noreport.png
0 → 100644
View file @
ade56da1
23.3 KB
doc/example_violin_passed.png
0 → 100644
View file @
ade56da1
23.8 KB
doc/statcmp.rst
0 → 100644
View file @
ade56da1
Statcmp
=======
Usage
-----
.. code-block:: console
$ ./statcmp.py -s stats.json # plot statistics
$ ./statcmp.py -s stats.json -c respdiff.cfg report.json # plot report comparison
$ ./statcmp.py --help # for more info
Description
-----------
Plots statistics from ``stats.json`` and optionally compares given reports to
those statistics.
Multiple reports can be compared against the statistical data at the same time.
If any upper threshold is exceeded during comparison, the resulting exit code
will be non-zero.
Violin graph
------------
The generated plots contain so called violin graphs. The "body" (gray) of these
graphs is basically a flipped histogram. It shows how frequently the displayed
values appear in the given statistical sample.
There are 3 gray boundaries on each graph - minimum, median and maximum. The
orange bondary represents the selected upper boundary against which reports are
compared.
.. image:: example_violin_noreport.png
:alt: (violin graph of statistical distribution: see example_violin_noreport.png)
If a report is given, there are three possible outcomes. If the field falls
within minimum and selected upper boundary, it is drawn blue.
.. image:: example_violin_passed.png
:alt: (violin graph with a passing sample: see example_violin_passed.png)
If the field value exceeds the selected upper boundary, it is drawn red and
highlighted. These cases should be examined and usually represent a detected
issue.
.. image:: example_violin_failed.png
:alt: (violin graph with a failing sample: see example_violin_failed.png)
If the field value falls below the known minumum, it is drawn green and
highlighted. These signify a possible improvement.
.. image:: example_violin_improvement.png
:alt: (violin graph with an improved sample: see example_violin_improvement.png)
When multiple reports are given for comparison, a line is drawn for each sample.
.. image:: example_violin_multi.png
:alt: (violin graph with multiple sample: see example_violin_multi.png)
Utility scripts
---------------
TODO
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment