Page MenuHomePhabricator

Differential pages slow to a crawl when there are a lot (tens of thousands) of tests on the diff.
Closed, DuplicatePublic

Description

I have been using harbormaster.sendmessage to report on test results and I noticed two things for our projects that have a lot of tests.

Oh, a lot means about 50,000.

  1. reporting the tests into phabricator was so slow that our nginx timed out.
  2. loading diff pages that have the tests on them take ~10-20 seconds to load

How can we improve the performance of this?

  • can I add an index to the db?
  • is the data fundamentally structured assuming small numbers of tests?