Skip to content
Myr

Sort imports

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Peter · committed by David Peter · parent cfae9cb · Browse files · 7 files+10 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

7 files+10 added−2 removed

  • other:+10 added−2 removed

7 files+10 added−2 removed

modified:scripts/advanced_statistics.py+1 added
6 unmodified lines
7# ///89import argparse10import json1112import numpy as np1314parser = argparse.ArgumentParser()15parser.add_argument("file", help="JSON file with benchmark results")
28 unmodified lines
modified:scripts/plot_histogram.py+2 added-1 removed
10 unmodified lines
11"""This program shows `hyperfine` benchmark results as a histogram."""1213import argparse14import json15import numpy as np1516import matplotlib.pyplot as plt17import numpy as np1819parser = argparse.ArgumentParser(description=__doc__)20parser.add_argument("file", help="JSON file with benchmark results")21parser.add_argument("--title", help="Plot title")
84 unmodified lines
modified:scripts/plot_parametrized.py+2 added-1 removed
10 unmodified lines
11errorbar plot."""1213import argparse14import json15import matplotlib.pyplot as plt15import sys1617import matplotlib.pyplot as plt1819parser = argparse.ArgumentParser(description=__doc__)20parser.add_argument("file", help="JSON file with benchmark results", nargs="+")21parser.add_argument(22 "--parameter-name",
90 unmodified lines
modified:scripts/plot_progression.py+1 added
13 unmodified lines
14"""1516import argparse17import json1819import matplotlib.pyplot as plt20import numpy as np2122
65 unmodified lines
modified:scripts/plot_whisker.py+1 added
15 unmodified lines
16"""1718import argparse19import json2021import matplotlib.pyplot as plt2223parser = argparse.ArgumentParser(description=__doc__)24parser.add_argument("file", help="JSON file with benchmark results")
42 unmodified lines
added:scripts/ruff.toml+2 added
modified:scripts/welch_ttest.py+1 added
11 unmodified lines
1213import argparse14import json15import sys1617from scipy import stats1819parser = argparse.ArgumentParser(description=__doc__)20parser.add_argument("file", help="JSON file with two benchmark results")
25 unmodified lines