We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dda8d55 commit f8523c9Copy full SHA for f8523c9
2 files changed
.github/workflows/benchmark.yml
@@ -24,7 +24,7 @@ jobs:
24
pip install .[benchmark]
25
- name: Run benchmarks
26
run: |
27
- pytest benchmarks/*.py --benchmark-json --benchmark-time-unit=ms benchmarks/output.json
+ pytest benchmarks/*.py --benchmark-json=benchmarks/output.json --benchmark-time-units=ms
28
- name: Store benchmark results
29
uses: benchmark-action/github-action-benchmark@v1
30
with:
benchmarks/generators.py
@@ -7,6 +7,6 @@
7
def test_erdos_renyi(benchmark):
8
9
def erdos_renyi():
10
- xgi.fast_random_hypergraph(100, [0.1, 0.001])
+ xgi.random_hypergraph(100, [0.1, 0.001])
11
12
- benchmark.pedantic(erdos_renyi, rounds=rounds, iterations=1)
+ benchmark.pedantic(erdos_renyi, rounds=rounds, iterations=iterations)
0 commit comments