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

Lens: Pulse starvation because of overwhelming amount of MOUSE_MOVED events

XMLWordPrintable

      I run the Surface benchmark as a standalone test on Raspberry Pi. It reports 18 fps.
      I start moving the mouse over the scene. Fps drop below 1 (same effect for dragging).
      If I instrument javafx.scene.Scene to print a timestamped message from ScenePeerListener.pulse()
      and from ScenePeerListener.mouseEvent() I see that hundred(s) of mouse events are processed between two consecutive pulses, which causes severe performance degradation.
      Attached is a sample of such output.

        1. g1604.txt
          96 kB
          Oleg Mazurov
        2. g1605.txt
          24 kB
          Oleg Mazurov
        3. run.out
          109 kB
          Oleg Mazurov

            dblaukop Daniel Blaukopf (Inactive)
            omazurov Oleg Mazurov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: