IRC channel logs
2025-01-09.log
back to list of logs
<ttz>Is there a good benchmark library somewhere? E.g. like criterion in Haskell and Rust <daviid>dsmith: might be good to add a link to the ecraven benchmark site, wdyt <ttz>I may not have been specific enough, what I am looking for is a library providing a primitive that takes a procedure as input and returns its mean execution time with some additional statistics. Maybe also producing graphics <daviid>ttz ok - i don't think it exists, but you might wana ask in #scheme as well, who knows ... <dsmith>daviid, You don't need me to add stuff. Anyone should be able to <dsmith>wingo has some (I think) tools for timing or benchmarking or something. Maybe it's just examining the disassembly? <dthompson>,profile does a good job as far as something built-in goes. no graphics though <ttz>yes, it is an great tool <ttz>I was attempting to gather statistics on repeated runs <ttz>also, I think some post-treatments like outlier elimination is performed in the Rust's criterion <ttz>Last time I attempted using it was not really successful, the documentation is quite lacking and I couldn't get some of the charts to work. My problem surely <daviid>ttz: never used it, but i see andy patched it with a few patches a year ago, so still in use ... it seems it has what you're looking for, make-performance-chart, make-performance-series, make-continuous-performance-series - though i understand it might not be easy to grasp how to use it ... i'd start looking at its examples, saee if they still work, read the code and grow some knowledge ... fwiw <ttz>thanks for the pointers daviid