Skip to content

Commit

Permalink
update: add benchmark plots
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanljones committed Jun 20, 2022
1 parent 9bcc61b commit 0e75190
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions benchmarks/bench_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@

MB = 1024 * 1024
MAX_SITES = 10_000_000
RUNS = 2
MAX_POINTS = 20
RUNS = 3
MAX_POINTS = 30

overwrite = False
latts = {
"chain": lp.simple_chain(),
"square": lp.simple_square(),
Expand Down Expand Up @@ -153,7 +154,6 @@ def plot_benchmark_build(data):


def main():
overwrite = True
file = "benchmark_build_periodic.npz"
if overwrite or not os.path.exists(file):
data = dict()
Expand Down
Binary file added benchmarks/bench_build_memory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added benchmarks/bench_build_time.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added benchmarks/bench_periodic_time.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ exclude =
dist,
lattpy/tests/*,
docs/*,
.social/*,
_version.py,


Expand Down

0 comments on commit 0e75190

Please sign in to comment.