Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 512 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 512 Bytes

#Benchmark

  1. run all benchmark
cargo bench
  1. run a special benchmark
cargo bench --bench bench_state_tree
  1. run a special benchmark with pprof (on linux)
cargo bench --bench bench_state_tree -- --profile-time=10

Notice: run benchmark with pprof on macOS show this error, linux(ubuntu) run successful

error: process didn't exit successfully: `./bench_state_tree-3daab626ee8d6834 --profile-time=10 --bench` (signal: 11, SIGSEGV: invalid memory reference)