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

Swingmark TextArea test performance regression for JDK1.4 B46

XMLWordPrintable

    • 2d
    • beta
    • sparc
    • solaris_7
    • Verified

      We have a set of Swingmark benchmarks to track the GUI performance, for the
      latest Merlin build (jdk1.4 b46), we see more than 40% slowdown for only one
      of the sub-benchmarks (TextArea Test), while other sub-benchmrks are steady
      or speed up over 1.3.

      The benchmarks are located in:
        /java/jdk/ws/performance/MASTER/perfteam/swingmark/

      It would be best copy the benchmark code to a local disk to repeat tests.


      [1]vispro% uname -a

      SunOS vispro 5.7 Generic_106541-11 sun4u sparc SUNW,Ultra-30

      [2]vispro% jdk1.4/bin/java -client -version

      java version "1.4.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b46)
      Java HotSpot(TM) Client VM (build 1.4beta-B45, mixed mode)


      [3]vispro% jdk1.4/bin/java -client -ms256m -mx256m -cp /java/jdk/ws/performance/MASTER perfteam.swingmark.SwingMark -r 5 -q -testfile defaulttests.txt -f jdk14_hsclient.xml


      [4]vispro% jdk1.3/bin/java -client -version

      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
      Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)


      [5]vispro% jdk1.3/bin/java -client -ms256m -mx256m -cp /java/jdk/ws/performance/MASTER perfteam.swingmark.SwingMark -r 5 -q -testfile defaulttests.txt -f jdk13_hsclient.xml


      2 output files:
           jdk13_hsclient.xml
      jdk14_hsclient.xml
      will be generated under "defaulttests" sub-directory

      [6]vispro% cat defaulttests/jdk13_hsclient.xml

      <REPORT>
      <NAME>SwingMark</NAME>

      <DATE>Wed Jan 10 13:37:41 PST 2001</DATE>
      <VERSION>1.3.0</VERSION>
      <VENDOR>Sun Microsystems Inc.</VENDOR>
      <DIRECTORY>/net/vispro/export/zzhang/sugarland/java/jdk1.3/jre</DIRECTORY>
      <VM_INFO>Java HotSpot(TM) Client VM mixed mode</VM_INFO>
      <OS>SunOS version 5.7</OS>
      <BIT_DEPTH>24</BIT_DEPTH>

      <DATA RUNS="5" TESTS="6" >
      JMTest_04 6870 4424 4059 4059 4070
      TextAreaTest 4794 3823 3732 3721 3663
      SliderTest 3904 3302 3292 3293 3293
      ListTest 2851 2630 2559 2550 2560
      TableRowTest 8261 7799 7547 7533 7529
      TreeTest 16615 15608 15549 15469 15440
      </DATA>

      </REPORT>
      <REPORT>
      <NAME>SwingMark</NAME>



      [7]vispro% cat defaulttests/jdk14_hsclient.xml

      <DATE>Wed Jan 10 13:48:56 PST 2001</DATE>
      <VERSION>1.4.0-beta</VERSION>
      <VENDOR>Sun Microsystems Inc.</VENDOR>
      <DIRECTORY>/net/vispro/export/zzhang/sugarland/java/jdk1.4/jre</DIRECTORY>
      <VM_INFO>Java HotSpot(TM) Client VM mixed mode</VM_INFO>
      <OS>SunOS version 5.7</OS>
      <BIT_DEPTH>24</BIT_DEPTH>

      <DATA RUNS="5" TESTS="6" >
      JMTest_04 1334 1200 1383 1187 1356
      TextAreaTest 7447 5237 5133 5119 5059
      SliderTest 3483 2937 2882 3008 2967
      ListTest 2668 2362 2342 2252 2212
      TableRowTest 7570 6773 6901 6713 6648
      TreeTest 16630 15528 15248 15148 15068
      </DATA>

      </REPORT>


      each row in above tables represents the scores (spent time) for each sub-benchmark(over 5 runs). Look for "TextAreaTest" row, average the times for
      both jdk1.3 and jdk1.4 runs respectively, you would get the slowdown number.


      tony.zhang@eng 2001-04-23

      The bug has been fixed in the latest 4 builds

            flar Jim Graham
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: