Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5616

Speed up ParameterizedIndexUpgradeToolIT

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.1.0, 4.15.1, 4.16.0
    • None
    • None

    Description

      Here're the top 6 longest running tests (times in seconds on a jenkins box for a 4.x-HBase-1.5 jobs - other runs are similar):

      946.612 org.apache.phoenix.end2end.ParameterizedIndexUpgradeToolIT

      671.655 org.apache.phoenix.end2end.IndexToolIT

      578.311 org.apache.phoenix.end2end.index.MutableIndexIT

      573.698 org.apache.phoenix.end2end.SystemCatalogCreationOnConnectionIT

      508.456 org.apache.phoenix.end2end.index.LocalIndexIT

      473.577 org.apache.phoenix.end2end.index.ImmutableIndexIT

      ParameterizedIndexUpgradeToolIT is by far the slowest, followed by IndexToolIT. And 5 of the 6 slowest tests are related to indexing.

      (This might seem like a trifle, but fast test runtimes are crucial for developer productivity.)

      Attachments

        1. 5616-4.x-HBase-1.5.txt
          7 kB
          Lars Hofhansl
        2. 5616-4.x-HBase-1.5-v2.txt
          3 kB
          Lars Hofhansl
        3. 5616-4.x-HBase-1.5-v2.txt
          3 kB
          Lars Hofhansl

        Activity

          People

            larsh Lars Hofhansl
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: