mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Use doc-comment for advanced_statistics.py script
This commit is contained in:
1 parent
0cc0fb2656
commit
02962d1cab
1 file changed
+9
-9
@@ -1,18 +1,18 @@
|
||||
#!/usr/bin/python
|
||||
#
|
||||
# This script `hyperfine` benchmark results as a box and whisker plot.
|
||||
#
|
||||
# Quoting from the matplotlib documentation:
|
||||
# The box extends from the lower to upper quartile values of the data, with
|
||||
# a line at the median. The whiskers extend from the box to show the range
|
||||
# of the data. Flier points are those past the end of the whiskers.
|
||||
#
|
||||
|
||||
"""This program shows `hyperfine` benchmark results as a box and whisker plot.
|
||||
|
||||
Quoting from the matplotlib documentation:
|
||||
The box extends from the lower to upper quartile values of the data, with
|
||||
a line at the median. The whiskers extend from the box to show the range
|
||||
of the data. Flier points are those past the end of the whiskers.
|
||||
"""
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("file", help="JSON file with benchmark results")
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
Reference in new issue
Block a user