Skip to content

Commit

Permalink
add benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
nwlandry committed Nov 24, 2024
1 parent 956ae43 commit 323513c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ test.*

# benchmarking files
.benchmarks
benchmarks/output.json
output.json
3 changes: 2 additions & 1 deletion benchmarks/generative.py → benchmarks/generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@


def test_erdos_renyi(benchmark):
def erdos_renyi(H):

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

benchmark.pedantic(erdos_renyi, rounds=rounds)

0 comments on commit 323513c

Please sign in to comment.