[LRUG] Writing specs for the time-complexity of a method

Richard Conroy richard.conroy at gmail.com
Tue Oct 25 03:44:23 PDT 2011


On Tue, Oct 25, 2011 at 10:55 AM, Tim Cowlishaw <tim at timcowlishaw.co.uk>wrote:

> Hi all,
>
> This might be a pretty hare-brained idea, but I was wondering if
> anyone's ever tried to write specs that test the time complexity of a
> given method call?
>
>
Minitest has benchmark asserts. They can check for linearity of an
algorithm. Haven't used them, but I have heard some good 3rd hand reports.
-- 
http://richardconroy.blogspot.com | http://twitter.com/RichardConroy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20111025/e1d025b1/attachment-0003.html>


More information about the Chat mailing list