<div class="gmail_quote">On Tue, Oct 25, 2011 at 10:55 AM, Tim Cowlishaw <span dir="ltr"><<a href="mailto:tim@timcowlishaw.co.uk">tim@timcowlishaw.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
This might be a pretty hare-brained idea, but I was wondering if<br>
anyone's ever tried to write specs that test the time complexity of a<br>
given method call?<br><br></blockquote><div><br></div><div>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. </div></div>-- <br>
<div><a href="http://richardconroy.blogspot.com" target="_blank">http://richardconroy.blogspot.com</a> | <a href="http://twitter.com/RichardConroy" target="_blank">http://twitter.com/RichardConroy</a></div><br>