Game Development Reference
In-Depth Information
Figure 2-18 . NetBeans Profiler output, shown in the cpu tab, at the top right, and the Output tab, at the bottom right
As you can see, you are able to open your code hierarchy, including the .main()
method, the .start() method, and the .handle() method, and see a visual rep-
resentation of their percentage of total CPU time used as well as the actual CPU time
used, in milliseconds, which is the time value that is employed in Java programming
for both Java 8 and JavaFX and even for HTML5, JavaScript, and Android application
development.
Finally, as you can see in the Output pane at the bottom of the figure, there is also
text output , just like when this Output pane is used for displaying the compiled, run,
and executed code, showing what the Profiler is doing as well. After the “ Hello
World! ” that you generated by clicking your application's Say “Hello World” button,
you can see the Profiler agent Initializing, caching classes, and so on. There are a ton of
tabs and options in this area of NetBeans, and I cannot cover every single one of them
in this basic NetBeans overview chapter, so play around with what you see on your
screen!
 
Search WWH ::




Custom Search