#1807 Dig into unit test execution times, round 2

v1.0.0
closed
sf-4 (350)
General
nobody
2015-08-20
2011-03-24
No

See first round, [#1694]

Related

Tickets: #1694

Discussion

  • Dave Brondsema

    Dave Brondsema - 2011-04-05
    • status: open --> in-progress
    • assigned_to: Dave Brondsema
     
  • Dave Brondsema

    Dave Brondsema - 2011-04-05

    Findings so far:

    • our TestController setUp() - which runs for every functional test
      • calls run() on SetupCommand('setup-app')
        • which runs EnsureIndexCommand and that takes nearly a second
      • does a M.MonQTask.run_ready('setup') loop, which takes a second
     
  • Dave Brondsema

    Dave Brondsema - 2011-04-07

    EnsureIndexCommand wasn't slow, bootstrap was. No ideas about the M.MonQTask.run_ready('setup') loop, but I added a comment to explain what it's for.

    • status: in-progress --> code-review
    • assigned_to: Dave Brondsema --> Rick Copéland
     
  • Dave Brondsema

    Dave Brondsema - 2011-04-07

    forge:db/1807

    • build a new sandbox (or fresh local env), make sure bootstrap code creates projects & users fine
    • run the whole test suite (takes less than 10 minutes for me now)
     
  • Rick Copeland - 2011-04-07
    • status: code-review --> closed
     

Log in to post a comment.