djkoloski / rust_serialization_benchmark

Benchmarks for rust serialization frameworks
514 stars 48 forks source link

feature to enable easy flamegraphs #69

Closed mumbleskates closed 1 month ago

mumbleskates commented 1 month ago

enable the "pprof" feature and pass --profile-time=10 to run selected benchmarks for 10 seconds and get a flamegraph svg for each benchmark in their respective output folders. may not work outside linux, pprof seems to lean on posix APIs