-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
38 lines (28 loc) 路 732 Bytes
/
Copy pathJustfile
File metadata and controls
38 lines (28 loc) 路 732 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
start:
RUST_BACKTRACE=1 cargo run
start-prod:
cargo clean
cargo build --release
./target/release/zyst
fmt:
cargo check
cargo fmt
cargo clippy
client:
nc 127.0.0.1 6379
test-ut:
RUST_BACKTRACE=1 cargo test --tests ut
test-inte:
rm -rf ~/.local/share/zyst/appendonly.aof
RUST_BACKTRACE=1 cargo test --tests inte -- --nocapture --test-threads=1
bench:
cargo bench --bench my_benchmark
bench-graph:
cargo flamegraph --bench my_benchmark
benchmark:
redis-cli FLUSHDB
redis-benchmark -t set,get,incr,lpush,rpush,lpop,rpop,hset,lpush,lrange_100,lrqnge_300,lrange_500,lrange_600 -n 100000 -q
bench-start:
cargo flamegraph --bin zyst
bench-report:
perf report --no-children --sort=dso | grep zyst