[tahoe-lafs-trac-stream] [Tahoe-LAFS] #20: unit tests take too long

Tahoe-LAFS trac at tahoe-lafs.org
Mon Jan 13 19:45:20 UTC 2020


#20: unit tests take too long
------------------------+------------------------------
     Reporter:  zooko   |      Owner:  warner
         Type:  defect  |     Status:  new
     Priority:  major   |  Milestone:  eventually
    Component:  code    |    Version:  unknown
   Resolution:          |   Keywords:  test performance
Launchpad Bug:          |
------------------------+------------------------------

Comment (by exarkun):

 The test suite is faster now.  How fast is fast enough?  I don't know.  I
 would love it if I could run the whole test suite locally in zero seconds.
 That would certainly be fast enough.  It's probably not practical, though.

 What I can do is run the unit test suite locally on my 4 core laptop in
 about 120 seconds.  This is no doubt largely due to hardware improvements
 since this ticket was originally filed.  However, whatever the reason, 120
 seconds doesn't seem absurdly excessive, particularly considering comments
 on this ticket above are discussing run times of 1000 - 2000 seconds.

 We should certainly remain open to further speedups but I think this
 ticket has served its purpose.  Future speedups can fall under the
 umbrella of some other ticket with a narrower focus.

 I decline the Bitcoin offered by Zooko above for observing this current
 state of affairs (and anyway I don't have Brian's laptop to verify the
 result).

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/20#comment:32>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list