Derby
  1. Derby
  2. DERBY-4409

Make some tests run faster by using CleanDatabaseSetup + decorateSQL + rollback idiom

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.6.1.0
    • Component/s: Test
    • Labels:
      None
    • Urgency:
      Normal

      Description

      For example, for OrderByAndSortAvoidance, this reduces running time on my box from ca 5 minutes to ca 1 minute, cf
      patch OrderByAndSortAvoidance-faster.

      1. DERBY-4409_min_diff.txt
        0.6 kB
        Ole Solberg
      2. DERBY-4409_min_stat.txt
        0.1 kB
        Ole Solberg
      3. OrderByAndSortAvoidance-faster.diff
        824 kB
        Dag H. Wanvik
      4. OrderByAndSortAvoidance-faster.stat
        0.1 kB
        Dag H. Wanvik
      5. OrderByAndSortAvoidance-faster-2.diff
        823 kB
        Dag H. Wanvik
      6. OrderByAndSortAvoidance-faster-2.stat
        0.1 kB
        Dag H. Wanvik

        Issue Links

          Activity

            People

            • Assignee:
              Dag H. Wanvik
              Reporter:
              Dag H. Wanvik
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development