Skip to content

Commit

Permalink
scripts updated with new paths to benches
Browse files Browse the repository at this point in the history
  • Loading branch information
ciminilorenzo committed Nov 14, 2024
1 parent 7231198 commit 9d138e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def sizeof_fmt(num, suffix="B"):

# Build bins
subprocess.run(["cargo", "build", "--release", "--bin", "bvcomp"])
subprocess.run(["cargo", "build", "--release", "--bin", "random_access_bvtest"])
subprocess.run(["cargo", "build", "--release", "--bin", "seq_access_bvtest"])
subprocess.run(["cargo", "build", "--release", "--example", "bench_random_access"])
subprocess.run(["cargo", "build", "--release", "--example", "bench_seq_access"])
subprocess.run(["cargo", "build", "--release", "--manifest-path", f"{webgraph_rs_dir}/Cargo.toml"])

# The size, in bytes, of the compressed graphs (.graph)
Expand Down Expand Up @@ -123,7 +123,7 @@ def sizeof_fmt(num, suffix="B"):
# The sequential speed test is performed by running seq_access_bvtest on the high compressed graph.
print(f"Starting sequential speed test on {graph}")
sequential_speed = (subprocess.run([
"./target/release/seq_access_bvtest",
"./target/release/examples/bench_seq_access",
f"{compressed_graphs_dir}{graph}-hc",
], stdout=subprocess.PIPE))

Expand All @@ -134,7 +134,7 @@ def sizeof_fmt(num, suffix="B"):
# The random speed test is performed by running random_access_bvtest on the compressed graph.
print(f"Starting random speed test on {graph}")
random_speed = (subprocess.run([
"./target/release/random_access_bvtest",
"./target/release/examples/bench_random_access",
f"{compressed_graphs_dir}{graph}",
], stdout=subprocess.PIPE))

Expand Down

0 comments on commit 9d138e0

Please # to comment.