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

RT-18709 fix lead up to 45% performance regression in Text based benchmarks in fx2.1-88 (b15) in j2d pipeline.

XMLWordPrintable

      There are following regression in j2d pipeline in fx2.1-88 (b15) against fx2.1-81 (b14).

        up to 45% (-84 fps) in TextField-kb-text100k in j2d pipeline.
        up to 20% (-30 fps) in TextArea in j2d pipeline.

        up to 23% (30 fps) in GUIMark2.Text in j2d pipeline.
        
        up to 10% (~1 fps) in FXTester-Animation.Text in j2d pipeline.

      Regression analysis shows the regression was introduced in fx2.1-graphics-scrum-b525
      which contains the fix for RT-18709 "Asian font width calculation problem when setting format to Headings in j2d pipeline".


      Steps to run the benchmarks.
      * Guimark2.Text
        > java -Djavafx.animation.fullspeed=true -Dprism.order=j2d
          -cp "rt/lib/jfxrt.jar;./perf/GUIMark2.jar" guimark2.TextTest

      * Controls.TextField
        > java -Djavafx.animation.fullspeed=true -Dprism.order=j2d
          -cp "rt/lib/jfxrt.jar;./perf/benchmarks-2.1.1.jar;./perf/FXBenchmark.jar;./perf/Controls.jar"
          jrockit.bm.Main controls.bm.TextFieldBenchmark -i 1 -test fixedtext -textlen 100000 -debug false

            yaow Yao Wang (Inactive)
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: