Skip to content

Latest commit

 

History

History

benchmarks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

#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)