-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (33 loc) · 1.31 KB
/
Copy pathMakefile
File metadata and controls
40 lines (33 loc) · 1.31 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
.ONESHELL:
all:
@echo "Welcome!"
clone_verifier:
git clone https://github.com/armfazh/rhizomes --branch rhizomes/verifier verifier
bench_verifier:
cd verifier
cargo test --features experimental
cargo test --features rhizomes
cargo bench --features experimental --bench speed_tests -- "prio3.*prepare_init" --quiet --save-baseline baseline
cargo bench --features rhizomes --bench speed_tests -- "prio3.*prepare_init" --quiet --save-baseline rhizomes
critcmp baseline rhizomes
graph_verifier:
cd verifier
critcmp --export baseline > baseline.json
critcmp --export rhizomes > rhizomes.json
python3 ../graph.py baseline.json rhizomes.json ../comparison_verifier.png
rm baseline.json rhizomes.json
clone_full:
git clone https://github.com/armfazh/rhizomes --branch rhizomes/full full
bench_full:
cd full
cargo test --features experimental
cargo test --features rhizomes --skip vec
cargo bench --features experimental --bench speed_tests -- prio3 --quiet --save-baseline baseline
cargo bench --features rhizomes --bench speed_tests -- prio3 --quiet --save-baseline rhizomes
critcmp baseline rhizomes
graph_full:
cd full
critcmp --export baseline > baseline.json
critcmp --export rhizomes > rhizomes.json
python3 ../graph.py baseline.json rhizomes.json ../comparison_full.png
rm baseline.json rhizomes.json