Skip to content

Commit

Permalink
fix iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
nwlandry committed Nov 24, 2024
1 parent 489deee commit 71b897f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarks/generators.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import xgi

rounds = 10
iterations = 1


def test_erdos_renyi(benchmark):

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

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

0 comments on commit 71b897f

Please sign in to comment.