Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8292999

Review running times of langtools regression tests (umbrella)

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • 24
    • 20
    • tools
    • None

    Description

      4,177 of 4,348 langtools regression tests run for less than 10 seconds on a contemporary laptop. Several dozen tests run for thirty seconds to several minutes. These longer-running tests should be examined to see if their run time can be reduced or broken into pieces to run in parallel.

      25 longest running tests from one regression test run (times in milliseconds):

          ./jdk/internal/shellsupport/doc/JavadocHelperTest.jtr 154158
          ./jdk/jshell/ClassMembersTest.jtr 107729
          ./jdk/jshell/ToolBasicTest.jtr 92187
          ./tools/javac/failover/CheckAttributedTree.jtr 68424
          ./tools/javac/Paths/wcMineField.jtr 66517
          ./jdk/jshell/ToolSimpleTest.jtr 61737
          ./jdk/jshell/VariablesTest.jtr 52343
          ./tools/javac/Paths/MineField.jtr 50104
          ./tools/javac/varargs/warning/Warn5.jtr 44598
          ./tools/jdeps/MultiReleaseJar.jtr 44591
          ./tools/javac/importscope/NegativeCyclicDependencyTest.jtr 43329
          ./tools/javac/lambdaShapes/org/openjdk/tests/javac/FDTest.jtr 42733
          ./jdk/jshell/FailOverExecutionControlHangingListenTest.jtr 42135
          ./jdk/jshell/FailOverExecutionControlDyingLaunchTest.jtr 42081
          ./jdk/jshell/FailOverExecutionControlHangingLaunchTest.jtr 41896
          ./tools/javac/classfiles/attributes/annotations/RuntimeParameterAnnotationsForGenericMethodTest.jtr 40792
          ./tools/javac/cast/intersection/IntersectionTypeCastTest.jtr 39886
          ./jdk/jshell/CompletionSuggestionTest.jtr 37872
          ./tools/javac/lambda/LambdaParserTest.jtr 36975
          ./tools/javac/lambda/intersection/IntersectionTargetTypeTest.jtr 35938
          ./tools/javac/tree/SourceDocTreeScannerTest.jtr 34639
          ./tools/javac/records/RecordCompilationTests.jtr 33367
          ./tools/javac/tree/SourceTreeScannerTest.jtr 32679
          ./tools/jdeps/listdeps/ListModuleDeps.jtr 32061
          ./jdk/jshell/SimpleRegressionTest.jtr 31444


      The tests were extracted using a shell command like

      grep "^totalTime" `find JTwork/ -name "*.jtr"` | sed s/"JTwork\/"//g | sed s/":totalTime="/" "/g | sort --n -r -t' ' -k2 | head -n 25

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: