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

add instrumentation points in runtime for performance tracking

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: P4 P4
    • fx1.2
    • fx1.2
    • javafx
    • None

      Probably the main places to instrument in the runtime would be:

          1) GUIRuntimeProvider
              This is only used when launching command line and I think from JNLP, but will measure the amount of time from FX startup to when we get called
          2) Applet.fx
              Need this as well for the applet case, measures the amount of time from FX startup to when the Applet gets called
          3) Fonts
              Using the Font support in Toolkit to measure the time it takes to look up fonts, and the number of times fonts are loaded
          4) Toolkit Startup
              The amount of time it takes to run the startup routine, including setting LAF etc
          5) The amount of time it takes to apply stylesheets to a Scene
          6) The amount of time it takes to create and initialize the stage (this would mainly measure the toolkit time to create a Frame)
          7) The amount of time it takes to create a Node
              - if in the test code all nodes are given an ID, the metrics could indicate both the Class type of the node and the actual ID of the node, so that if there are specific nodes that take longer to load (image or media nodes for example) then we will be able to flag those in the results

            tdv Dmitri Trembovetski (Inactive)
            tdv Dmitri Trembovetski (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: