-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
48 lines (40 loc) · 1.6 KB
/
Copy pathMakefile.toml
File metadata and controls
48 lines (40 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[tasks.test]
description = "Run all workspace tests (Phase 1 & 2 — no RISC Zero required)"
command = "cargo"
args = ["test", "--workspace"]
[tasks.test-pine]
description = "Run zkbacktest-pine unit tests (interpreter + parser)"
command = "cargo"
args = ["test", "-p", "zkbacktest-pine"]
[tasks.bench]
description = "Phase 1 & 2 AIR benchmark (MAC, 512 bars, 3 trials)"
command = "cargo"
args = ["run", "--release", "--bin", "zkbacktest", "--",
"bench", "--bars", "512", "--k-fast", "10", "--k-slow", "40", "--trials", "3"]
[tasks.bench-paper]
description = "Generate Phase 1 & 2 paper benchmark results (CSV)"
command = "cargo"
args = ["run", "--release", "--bin", "bench_paper"]
[tasks.build-risc0]
description = "Build with RISC Zero backend (requires rzup install rust)"
command = "cargo"
args = ["build", "--workspace", "--features", "zkbacktest-core/risc0"]
[tasks.bench-v3-dev]
description = "Run Phase 3 benchmarks with fake proofs (RISC0_DEV_MODE=1, fast)"
env = { RISC0_DEV_MODE = "1" }
command = "./target/release/bench_v3"
args = ["examples/bollinger_breakout.pine"]
dependencies = ["build-risc0"]
[tasks.bench-v3]
description = "Run Phase 3 benchmarks with real STARK proofs (slow — several minutes)"
command = "./target/release/bench_v3"
args = ["examples/bollinger_breakout.pine"]
dependencies = ["build-risc0"]
[tasks.plot-v1]
description = "Generate Phase 1 & 2 benchmark charts from results.csv"
command = "python3"
args = ["benchmarks/plot_bench.py"]
[tasks.plot-v3]
description = "Generate Phase 3 benchmark charts from results_v3.csv"
command = "python3"
args = ["benchmarks/run_v3_benchmarks.py"]