[LRUG] Large Slow Test Suites

Mr Jaba the.jaba at gmail.com
Wed Dec 4 14:51:18 PST 2013


Hi Mark,

Thanks for the suggestion. Minitest does have a -v mode which lists out the
time taken for each test, so I've managed to identify the slowest ones.
Admittedly I haven't looked for patterns in that yet though, that's a good
idea. Was playing around with ruby-prof earlier, but the output of that is
always so difficult to interpret!

Thanks

Tom


On 4 December 2013 22:35, Mark Burns <markthedeveloper at gmail.com> wrote:

> Was going to suggest the --profile flag until I realised that is just for
> RSpec.
>
> Might sound like a silly question, but have you looked at profiling the
> suite for the slowest ones?
> It could help two-fold, help spot the actual tests that are taking up the
> time, or maybe even better,
> help spot the pattern behind what is taking the most time across all the
> tests.
>
> Other than measuring it's difficult to guess what would help.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lrug.org/pipermail/chat-lrug.org/attachments/20131204/64d7519e/attachment-0003.html>


More information about the Chat mailing list