hello! phd student learning rust here, wondering if anyone knows of a simple way to parse (already produced)
cargo bench output? ideally want a format i can just pass to gnuplot or something of that sort. i am currently messing w a python script and regexes
Hi! You should take a look at Criterion. It's more accurate, produces plots and also has a CSV output.
Of course, that's only if you can change the benchmark code. If not, I don't know another way than parsing the output.
Right, criterion seems like a great tool but unfortunately im looking for something a bit further downstream - thank you for the pointer though!
@Natalie Popescu maybe you are looking for something like this? https://github.com/BurntSushi/cargo-benchcmp
"Self-documenting code" :D
ah yes cool, at the very least looks like that could help w the parsing.. thank you!!