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
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
- blocks
-
JDK-8099482 Improve performance of graphics rendering operations
- Resolved
- duplicates
-
JDK-8099713 Need exit hook for measuring startup
- Closed