Skip to content

Commit

Permalink
update benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
nwlandry committed Dec 2, 2024
1 parent dda8d55 commit f8523c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
pip install .[benchmark]
- name: Run benchmarks
run: |
pytest benchmarks/*.py --benchmark-json --benchmark-time-unit=ms benchmarks/output.json
pytest benchmarks/*.py --benchmark-json=benchmarks/output.json --benchmark-time-units=ms
- name: Store benchmark results
uses: benchmark-action/github-action-benchmark@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
def test_erdos_renyi(benchmark):

def erdos_renyi():
xgi.fast_random_hypergraph(100, [0.1, 0.001])
xgi.random_hypergraph(100, [0.1, 0.001])

benchmark.pedantic(erdos_renyi, rounds=rounds, iterations=1)
benchmark.pedantic(erdos_renyi, rounds=rounds, iterations=iterations)

0 comments on commit f8523c9

Please sign in to comment.