Profile SnapShot
Snapshot is the statistic data about performance of JavaScripts. You could use
the data to find out which part of your code is the bottleneck of performance.
Source of Snapshot
-
Snapshot is generated by profile command. Each time after a successful profile
session finishes, a snapshot is created and displayed in snapshot window.
Snapshot window could be accessed at anytime by choosing
Profile>Snapshot command, or find and click
button
on the toolbar.
-
Data in Snapshot window could be saved into file with extension .titosnapshot,
using File>Save As command.
- You can also open the saved snapshot file, using File>
Open command, the snapshot is opened in the source view
window with the file name displayed in the tab.
Snapshot Data:
Snapshot consists of three parts.
- Snapshot Detail: It contains general information of a profiling session, such as
- Star time
- End time
- Timer resolution
- Starting URL
-
Applied Triggers: It shows all triggers applied to the
profiling session. See triggers
for detailed information.
-
Function List: The list is displayed in the
spreadsheet format, just like the data in Excel worksheet with
following columns. Click the row (except the URL) to navigate to the specific function:
-
Function: The function name for this statistic data.
-
Count: The number of times this function has been
executed.
-
Function Time: The total time in the format of [minutes']second.millisecond that this function has been executed, exclude all child function calls.
- Cumulative Time: The total time in the format of [minutes']second.millisecond that this function has been executed, include all child function calls.
-
URL: The URL link of this script file. Click this link will
bring up the source view window.
Function Detail:
Click on any row of snapshot will bring the detail data in a separate tab with
three subsections:
- Function Detail: The same information as the one you have seen in snapshot window.
- Callers: The callers to this function. Click the row (except the URL) to navigate to the specific function.
-
Function: The function name for this statistic data.
-
Count: The number of times this function has been
executed.
-
Cumulative Time: The total time in the format of [minutes']second.millisecond that this function has been executed, include all child function calls.
-
URL: The URL link of this script file. Click this link will
bring up the source view window.
-
Callees: The callees from this function. Click the row (except the URL) to navigate to the specific function.
-
Function: The function name for this statistic data.
-
Count: The number of times this function has been
executed.
-
Function Time: The total time in the format of [minutes']second.millisecond that this function has been executed, exclude all child function calls.
-
Cumulative Time: The total time in the format of [minutes']second.millisecond that this function has been executed, include all child function calls.
-
URL: The URL link of this script file. Click this link will bring up the source view window.
Copyright © 2004 Tito Software Corporation. All rights reserved.