-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
39 lines (33 loc) · 841 Bytes
/
Makefile
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
build:
# ... build ...
cargo +nightly build
cargo +stable build
# ... test ...
cargo +nightly test --no-run
cargo +stable test --no-run
# ... bench ...
cargo +nightly bench --no-run
# ... bins ...
cargo +nightly build --release --bin perf --features=perf
cargo +stable build --release --bin perf --features=perf
# ... doc ...
cargo +nightly doc
cargo +stable doc
# ... meta commands ...
cargo +nightly clippy --all-targets --all-features
test:
# ... test ...
cargo +nightly test
cargo +stable test --no-run
bench:
# ... test ...
cargo +nightly bench
cargo +stable test --no-run
flamegraph:
cargo flamegraph --features=perf --bin=perf -- --load 100000 --ops 10000
prepare: build test bench
check.sh check.out
perf.sh perf.out
clean:
cargo clean
rm -f check.out perf.out flamegraph.svg perf.data perf.data.old