Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-8303

Test Run Status custom field takes at least 50% of the time spent on Xray entities when reindexing Jira

    XporterXMLWordPrintable

Details

    • Performance Improvement
    • Status: Waiting Approval
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • Indexing
    • UNCOVERED

    Description

      The reindex time of a Jira instance takes as much time as the amount of data it contains.

      Although, the Test Run Status custom field takes approximately 50% of the time spent when indexing Xray entities.

      As an example:

        No. Issues ~Time*
      Tests with TestRunStatus calculated ~500000 ~1h 20m
      Tests without TestRunStatus calculated ~10000 ~20m

      *considering a database query takes ~10ms

      A solution should be considered in order to reduce this time. A cache of TestRunStatus should be considered to reduce the number of queries needed to index this value for every test issue.

      Attachments

        Activity

          People

            dpca Diamantino Campos
            nmms Nuno Santos [X] (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: