hugoduncan/criterium

Performance test timeout

si14 opened this issue · 1 comments

si14 commented

It is desirable in some cases to be able to force a timeout on the function. That is, if the function's execution time is absurdly large, there is no need to even try to benchmark it.

I tried wrapping quick-benchmark in a future that can be canceled, but it seems to take minutes before my CPU returns to an idle state.