mirror of
https://github.com/loro-dev/loro.git
synced 2025-01-23 05:24:51 +00:00
bf8973c758
fix: update cache chore: remove useless tests chore: add bench script
31 lines
593 B
Makefile
31 lines
593 B
Makefile
build:
|
|
cargo build
|
|
|
|
test:
|
|
cargo nextest run
|
|
|
|
# test without proptest
|
|
test-fast:
|
|
RUSTFLAGS='--cfg no_proptest' cargo nextest run
|
|
|
|
check-unsafe:
|
|
env RUSTFLAGS="-Funsafe-code --cap-lints=warn" cargo check
|
|
|
|
deny:
|
|
cargo deny check
|
|
|
|
crev:
|
|
cargo crev crate check
|
|
|
|
fuzz-yata-long:
|
|
cargo fuzz run yata -- -max_total_time=300 -max_len=4000 -jobs=2
|
|
|
|
quick-fuzz:
|
|
cargo fuzz run yata -- -max_total_time=10 -max_len=1000 &
|
|
cargo fuzz run text -- -max_total_time=10 -max_len=1000
|
|
|
|
flame:
|
|
cargo flamegraph --example test --features=fuzzing --root
|
|
|
|
bench:
|
|
cargo bench --features fuzzing
|