Skip to content

Commit f8523c9

Browse files
committed
update benchmarks
1 parent dda8d55 commit f8523c9

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
pip install .[benchmark]
2525
- name: Run benchmarks
2626
run: |
27-
pytest benchmarks/*.py --benchmark-json --benchmark-time-unit=ms benchmarks/output.json
27+
pytest benchmarks/*.py --benchmark-json=benchmarks/output.json --benchmark-time-units=ms
2828
- name: Store benchmark results
2929
uses: benchmark-action/github-action-benchmark@v1
3030
with:

benchmarks/generators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
def test_erdos_renyi(benchmark):
88

99
def erdos_renyi():
10-
xgi.fast_random_hypergraph(100, [0.1, 0.001])
10+
xgi.random_hypergraph(100, [0.1, 0.001])
1111

12-
benchmark.pedantic(erdos_renyi, rounds=rounds, iterations=1)
12+
benchmark.pedantic(erdos_renyi, rounds=rounds, iterations=iterations)

0 commit comments

Comments
 (0)