Pro Java 9 Games Development Leveraging the JavaFX APIs

(Michael S) #1

Chapter 24 ■ Optimizing game assets and COde, and game prOfiling Using netBeans


Your JavaFXGame profiling pane will then show the UI infrastructure for the CPU (and garbage
collection) graph, the (system) Memory real-time usage graph, the Garbage Collection processing graph,
and the Threads and Classes graph, as shown in Figure 24-15. No data has been collected yet as profiling
hasn’t been activated (started) using the Profile Project Icon, which is shown at the top of the figure with its
pale yellow pop-up descriptor.


Figure 24-14. Drop down the Configure Session menu and select the Telemetry option to profile your memory
and CPU


Figure 24-15. Once you click the Profile Project Icon or Menu Item, the JavaFXGame Profile pane will
populate with empty UI elements

Free download pdf