mirror of
https://github.com/sharkdp/hyperfine.git
synced 2024-11-22 03:17:24 +03:00
Add PEP-723 inline metadata
This commit is contained in:
parent
65dd84fb07
commit
cfae9cbdab
@ -1,4 +1,10 @@
|
||||
#!/usr/bin/env python
|
||||
# /// script
|
||||
# requires-python = ">=3.10"
|
||||
# dependencies = [
|
||||
# "numpy",
|
||||
# ]
|
||||
# ///
|
||||
|
||||
import argparse
|
||||
import json
|
||||
|
@ -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."""
|
||||
|
||||
|
@ -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."""
|
||||
|
@ -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,
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user