diff --git a/scripts/advanced_statistics.py b/scripts/advanced_statistics.py index 90f576c..114ecb9 100755 --- a/scripts/advanced_statistics.py +++ b/scripts/advanced_statistics.py @@ -1,4 +1,10 @@ #!/usr/bin/env python +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "numpy", +# ] +# /// import argparse import json diff --git a/scripts/plot_histogram.py b/scripts/plot_histogram.py index 90d5f6a..2f13e89 100755 --- a/scripts/plot_histogram.py +++ b/scripts/plot_histogram.py @@ -1,4 +1,12 @@ #!/usr/bin/env python +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "matplotlib", +# "pyqt6", +# "numpy", +# ] +# /// """This program shows `hyperfine` benchmark results as a histogram.""" diff --git a/scripts/plot_parametrized.py b/scripts/plot_parametrized.py index 0fbd67b..89eabb4 100755 --- a/scripts/plot_parametrized.py +++ b/scripts/plot_parametrized.py @@ -1,4 +1,11 @@ #!/usr/bin/env python +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "matplotlib", +# "pyqt6", +# ] +# /// """This program shows parametrized `hyperfine` benchmark results as an errorbar plot.""" diff --git a/scripts/plot_progression.py b/scripts/plot_progression.py index f3a0d89..a555e01 100755 --- a/scripts/plot_progression.py +++ b/scripts/plot_progression.py @@ -1,4 +1,12 @@ #!/usr/bin/env python +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "pyqt6", +# "matplotlib", +# "numpy", +# ] +# /// """This program shows `hyperfine` benchmark results in a sequential way in order to debug possible background interference, caching effects, diff --git a/scripts/plot_whisker.py b/scripts/plot_whisker.py index 1797955..c08eda0 100755 --- a/scripts/plot_whisker.py +++ b/scripts/plot_whisker.py @@ -1,4 +1,11 @@ #!/usr/bin/env python +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "matplotlib", +# "pyqt6", +# ] +# /// """This program shows `hyperfine` benchmark results as a box and whisker plot. diff --git a/scripts/welch_ttest.py b/scripts/welch_ttest.py index a5eb432..7dff7ae 100755 --- a/scripts/welch_ttest.py +++ b/scripts/welch_ttest.py @@ -1,4 +1,10 @@ #!/usr/bin/env python +# /// script +# requires-python = ">=3.10" +# dependencies = [ +# "scipy", +# ] +# /// """This script performs Welch's t-test on a JSON export file with two benchmark results to test whether or not the two distributions are