Use minitest-profile to find long tests

Only found one big fibo
All else due to large amount of objects
(now with factories it jumped from hundreds to thousands)
This commit is contained in:
Torsten Ruger
2018-09-02 13:58:42 +03:00
parent 8a81d41d5e
commit 7fc104a019
4 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,7 @@ module Elf
return result
end
def main(arg)
return fibo(20)
return fibo(8)
end
HERE
@exit_code = 4