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

fx2.1-15 (b01): up to 90% regression in Controls.TextArea-select_all-255x1000 in j2d pipeline

XMLWordPrintable

      There is significant Controls.TextArea-select_all-255x1000 in j2d pipeline on all platforms:

      winxp-mid: 62% (14.7 -> 5.7 fps)
      win7-high: 90% (25.8 -> 2.7 fps)
      mac-mid: 27% (28.5 -> 20.7 fps)

      The regression first appeared in fx2.1-controls-scrum-b31 which contains the following changes:

      1. Fixed RT-17606: TextArea does not set selection fill color
         Fixed RT-17630: TextArea control is unaffected by -fx-text-fill style property (detail)
      2. Resolve RT-16722. (detail)
      3. fix RT-17699 context menu with sub menus does not disappear when selecting
      an item that is in a sub menu. (detail)

      Looks like some of them lead to regression.
      Note, the regression is only seen in j2d pipeline.


      Steps to run benchmark:
      > cd tests/performance/Controls/
      > ant
      > java -cp "${JFX_HOME}/rt/lib/jfxrt.jar;./dist/Controls.jar;../FXBenchmark/dist/FXBenchmark.jar;../../../import/benchmarks-2.1.1/benchmarks-2.1.1.jar"
         -Dprism.order=j2d
         jrockit.bm.Main controls.bm.TextAreaBenchmark -i 1 -wt 0 -tr 20 -line-len 255 -line-num 1000 -mode SELECT_ALL

            prr Philip Race
            epavlova Ekaterina Pavlova
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: