-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathjustfile
More file actions
40 lines (32 loc) · 866 Bytes
/
Copy pathjustfile
File metadata and controls
40 lines (32 loc) · 866 Bytes
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
run *args='':
@cargo run -r --quiet -- {{args}}
build:
@cargo build -r --quiet
record *args='': build
@perf record ./target/release/sa-layout {{args}}
report:
@perf report
perf: record report
flame: build
@cargo flamegraph --open
stat *args='': build
perf stat -d ./target/release/sa-layout {{args}}
test2:
cargo test -r
perf2:
cargo build -r --tests
perf record cargo test -r query_substring -- --nocapture
# perf report
stat2:
cargo build -r --tests
perf stat cargo test -r query_substring -- --nocapture
py:
source .env/bin/activate && maturin develop -r
cpufreq:
sudo cpupower frequency-set --governor powersave -d 2.6GHz -u 2.6GHz
mevi_init:
sudo sysctl -w vm.unprivileged_userfaultfd=1
mevi:
cargo build -r --example stat
export RUST_LOG=warn
mevi ./target/release/examples/stat