This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-netbeans-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 0473822  Automated site publishing by Jenkins build 433
0473822 is described below

commit 0473822f72167a20651c02c5e51e45f6caeb50dc
Author: jenkins <[email protected]>
AuthorDate: Tue Jan 22 11:12:49 2019 +0000

    Automated site publishing by Jenkins build 433
---
 content/kb/docs/java/profiler-profilingpoints.html | 68 +++++++++++++---------
 1 file changed, 41 insertions(+), 27 deletions(-)

diff --git a/content/kb/docs/java/profiler-profilingpoints.html 
b/content/kb/docs/java/profiler-profilingpoints.html
index 907cd6c..f2c2aaa 100644
--- a/content/kb/docs/java/profiler-profilingpoints.html
+++ b/content/kb/docs/java/profiler-profilingpoints.html
@@ -82,17 +82,25 @@
             <div id="toc" class="toc">
 <div id="toctitle"></div>
 <ul class="sectlevel1">
-<li><a href="#_using_profiling_points_in_netbeans_ide">Using Profiling Points 
in NetBeans IDE</a>
+<li><a href="#_profiling_point_basics">Profiling Point Basics</a>
 <ul class="sectlevel2">
-<li><a href="#_profiling_point_basics">Profiling Point Basics</a></li>
-<li><a href="#_working_with_profiling_points">Working with Profiling 
Points</a></li>
-<li><a href="#_conclusion">Conclusion</a></li>
+<li><a href="#_setting_a_profiling_point">Setting a Profiling Point</a></li>
+<li><a href="#_enabling_disabling_and_editing_profiling_points">Enabling, 
Disabling and Editing Profiling Points</a></li>
+<li><a href="#_viewing_active_profiling_points_in_a_project">Viewing Active 
Profiling Points in a Project</a></li>
 </ul>
 </li>
+<li><a href="#_working_with_profiling_points">Working with Profiling Points</a>
+<ul class="sectlevel2">
+<li><a href="#_creating_the_sample_project">Creating the Sample 
Project</a></li>
+<li><a href="#_measuring_execution_time_of_a_code_fragment">Measuring 
Execution Time of a Code Fragment</a></li>
+<li><a href="#_taking_a_snapshot_or_heap_dump">Taking a Snapshot or Heap 
Dump</a></li>
+<li><a href="#_resetting_profiling_results">Resetting Profiling 
Results</a></li>
+</ul>
+</li>
+<li><a href="#_conclusion">Conclusion</a></li>
 </ul>
 </div>
-<div class="sect1">
-<h2 id="_using_profiling_points_in_netbeans_ide">Using Profiling Points in 
NetBeans IDE</h2>
+<div id="preamble">
 <div class="sectionbody">
 <div class="paragraph">
 <p>NetBeans IDE includes a powerful profiling tool that can provide important 
information about the runtime behavior of your application. The NetBeans 
profiling tool easily enables you to monitor thread states, CPU performance and 
the memory usage of your application from within the IDE, and imposes 
relatively low overhead.</p>
@@ -132,13 +140,16 @@
 </li>
 </ul>
 </div>
-<div class="sect2">
-<h3 id="_profiling_point_basics">Profiling Point Basics</h3>
+</div>
+</div>
+<div class="sect1">
+<h2 id="_profiling_point_basics">Profiling Point Basics</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>This section is a general guide on how to set profiling points in a project 
and how to view and modify existing profiling points. There are different types 
of profiling points, and you choose the profiling point according to the use 
case. A project might have a number of different profiling points associated 
with it. You can add, delete, enable and disable profiling points according to 
the measurements that you want to obtain during that profiling session.</p>
 </div>
-<div class="sect3">
-<h4 id="_setting_a_profiling_point">Setting a Profiling Point</h4>
+<div class="sect2">
+<h3 id="_setting_a_profiling_point">Setting a Profiling Point</h3>
 <div class="paragraph">
 <p>The easiest way to set a profiling point is in the source code in the 
editor window. You can simply choose the line in the code where you want to set 
the profiling point and then open the New Profiling Point window. You can also 
set profiling points when you are configuring the options for the profiling 
session.</p>
 </div>
@@ -169,8 +180,8 @@ image::images/ppoints-newstopwatch.png[title="Screenshot of 
New Profiling Point
 <div class="title">Figure 1. Profiling Points annotations in margin of source 
editor</div>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_enabling_disabling_and_editing_profiling_points">Enabling, Disabling 
and Editing Profiling Points</h4>
+<div class="sect2">
+<h3 id="_enabling_disabling_and_editing_profiling_points">Enabling, Disabling 
and Editing Profiling Points</h3>
 <div class="paragraph">
 <p>When no profiling session is running, you can edit, enable and disable 
individual profiling points in either the source editor or in the Profiling 
Points window. To see a list of all profiling points, open the Profiling Points 
window by choosing <strong>Window</strong> &gt; <strong>Profiling</strong> &gt; 
<strong>Profiling Points</strong> from the main menu. The Profiling Points 
window shows the current status of the profiling points.</p>
 </div>
@@ -212,8 +223,8 @@ image::images/ppoints-newstopwatch.png[title="Screenshot of 
New Profiling Point
 <div class="title">Figure 3. Screenshot of Customize Profiling Point dialog 
box</div>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_viewing_active_profiling_points_in_a_project">Viewing Active 
Profiling Points in a Project</h4>
+<div class="sect2">
+<h3 id="_viewing_active_profiling_points_in_a_project">Viewing Active 
Profiling Points in a Project</h3>
 <div class="paragraph">
 <p>You can use profiling points when you are analyzing memory usage or 
application performance. When you are selecting the profiling task you can see 
the profiling points that are active and enabled for the profiling session.</p>
 </div>
@@ -250,13 +261,15 @@ image::images/ppoints-newstopwatch.png[title="Screenshot 
of New Profiling Point
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_working_with_profiling_points">Working with Profiling Points</h3>
+</div>
+<div class="sect1">
+<h2 id="_working_with_profiling_points">Working with Profiling Points</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>In this section you will create a sample project and then set different 
profiling points in the source code. This exercise will demonstrate how to use 
the different profiling points.</p>
 </div>
-<div class="sect3">
-<h4 id="_creating_the_sample_project">Creating the Sample Project</h4>
+<div class="sect2">
+<h3 id="_creating_the_sample_project">Creating the Sample Project</h3>
 <div class="paragraph">
 <p>In this document you will use profiling points when profiling the Anagram 
Game sample application. To do this you will first use the New Project wizard 
to create the sample application.</p>
 </div>
@@ -293,8 +306,8 @@ image::images/ppoints-newstopwatch.png[title="Screenshot of 
New Profiling Point
 <p>After you set the project as the main project you can see that the name of 
the Anagram Game project is in bold in the Projects window. By default, when 
using the IDE to profile a project, the IDE will profile the main project. If 
no project is set as the main project the IDE will profile the project that is 
selected in the Projects window.</p>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_measuring_execution_time_of_a_code_fragment">Measuring Execution Time 
of a Code Fragment</h4>
+<div class="sect2">
+<h3 id="_measuring_execution_time_of_a_code_fragment">Measuring Execution Time 
of a Code Fragment</h3>
 <div class="paragraph">
 <p>You use the Stopwatch profiling point to retrieve timestamps when the 
profiling point is hit. You can also use the Stopwatch profiling point to 
measure how long it takes to execute a code fragment by calculating the 
difference between two timestamps. You can set any number of stopwatch 
profiling points.</p>
 </div>
@@ -399,8 +412,8 @@ image::images/select-profiling-task1.png[title="Select 
Profiling Task dialog box
 <p><strong>Note.</strong> If this is the first time that you are profiling a 
project, see <a href="profiler-intro.html">Introduction to Profiling Java 
Applications in NetBeans IDE</a> for details on calibration and profiler 
integration.</p>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_taking_a_snapshot_or_heap_dump">Taking a Snapshot or Heap Dump</h4>
+<div class="sect2">
+<h3 id="_taking_a_snapshot_or_heap_dump">Taking a Snapshot or Heap Dump</h3>
 <div class="paragraph">
 <p>If you want to capture profiling data at a very precise moment you can use 
a profiling point to take a snapshot of profiling results or of the heap (heap 
dump). To take a profiling results snapshot (either memory or CPU) or a heap 
dump, you place a Take Snapshot profiling point in the source code, choose the 
type of snapshot and specify where you want the files to be saved. If you do 
not specify a location, all snapshots will be saved in the main project folder 
( <code>nbproject/priva [...]
 </div>
@@ -474,8 +487,8 @@ image::images/ppoints-profile-snapheap.png[title="New Take 
Snapshot profiling po
 </ul>
 </div>
 </div>
-<div class="sect3">
-<h4 id="_resetting_profiling_results">Resetting Profiling Results</h4>
+<div class="sect2">
+<h3 id="_resetting_profiling_results">Resetting Profiling Results</h3>
 <div class="paragraph">
 <p>You can reset collected results (either memory or CPU) at any given precise 
point by placing a Reset Results profiling point in the source code.</p>
 </div>
@@ -525,8 +538,10 @@ image::images/ppoints-newreset.png[title="Screenshot of 
New Reset Results pane"]
 </div>
 </div>
 </div>
-<div class="sect2">
-<h3 id="_conclusion">Conclusion</h3>
+</div>
+<div class="sect1">
+<h2 id="_conclusion">Conclusion</h2>
+<div class="sectionbody">
 <div class="paragraph">
 <p>This document demonstrated the basics of how to use profiling points when 
profiling a simple NetBeans project. The steps outlined above can be applied 
when profiling most projects. For more detailed information about profiling 
settings and features not covered in this document, please consult the 
documentation included in the IDE and available from the Help menu item.</p>
 </div>
@@ -535,7 +550,6 @@ image::images/ppoints-newreset.png[title="Screenshot of New 
Reset Results pane"]
 </div>
 </div>
 </div>
-</div>
             
 <section class='tools'>
     <ul class="menu align-center">


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to