-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
66 lines (58 loc) · 1.14 KB
/
Justfile
File metadata and controls
66 lines (58 loc) · 1.14 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
build:
cargo build \
--all-targets \
--all-features \
--keep-going
run:
cargo run \
-- \
data/problems/Maze2D/*.png
test:
cargo test \
--all-targets \
--all-features
report:
cargo run \
--bin 'report' \
--profile 'release' \
--features 'inspect'
bench:
mkdir -p data/benches/criterion/
cargo flamegraph \
--bench sample_compare_maze2d \
--output data/benches/criterion/maze2d.svg \
-- \
--bench
clean_bench:
rm -rf \
data/benches/criterion \
target/criterion
profile_astar:
cargo build \
--bin 'astar' \
--profile 'bench' \
--features 'coz_profile'
coz run \
--source-scope src/% \
--output data/profiles/astar/profile.coz \
--- \
./target/release/astar \
--num-instances 10000 \
data/problems/Maze2D/*.png
coz plot
profile_dijkstra:
cargo build \
--bin 'dijkstra' \
--profile 'bench' \
--features 'coz_profile'
coz run \
--source-scope src/% \
--output data/profiles/dijkstra/profile.coz \
--- \
./target/release/dijkstra \
--num-instances 100 \
data/problems/Maze2D/*.png
coz plot
profile_trace_maze2d:
cargo bench \
trace_compare_maze2d