If you've read our first blog, NetSuite Application Performance Management: An Introduction, this blog will take you on a deeper dive into another functionality of the APM bundle, namely the Page Time Summary module.NetSuite's APM Page Time Summary tool can help us understand the page load times for different record types and corresponding operations. Users can select any record type that they would like to look at in detail, along with the operation and date/time range, and fetch results for the entered criteria using this tool. It includes a timeline of scripts and workflows that ran during the selected period. Along with the log details, it also displays a script and workflow time breakdown chart for the selected log instance.
Accessing Page Time Summary Details:
To access Page Time Summary Details navigate to Customization > Performance > Page Time Summary
Once on the Page Time Summary Details page, select any record type and related operation for a specific time period. After selecting the criteria click on the Refresh button to fetch the results for the entered criteria. Take for example - a Sales Order record type and View operation type for the month of November. The results can be seen in the screenshot below.
There are 3 main sections on this page:
Summary - This provides a summary of the requested logs. You can view the total count of logs, the total number of users who used the requested operation along with the average, and the mean and median time details for the different script types and workflows
Details - The details section provides detailed information. Every line corresponds to information for each log entry. Every instance of the requested operation is an individual line in the details section.
Execution Time Breakdown - This section provides a pie chart view of the execution time breakdown for a selected log instance in the details section. This chart includes the details of NetSuite system time along with the script and workflow times.
The Details section contains the following information:
Date and Time - Displays the date and time details of when a particular instance occurred
Email Address - The email address of the user performing the operation
Client - Time taken on the client side, which includes the time taken to send data to NetSuite and display data received from NetSuite to the user
Network - Time taken by the network to transfer data between the client and the NetSuite server
Suitescript - Time taken for all the scripts that were triggered during this operation to run
Workflow - Time taken for all the workflows that were triggered during this operation to run
Total - The total time spent for an instance which includes Suitescript, Workflow, Client, and Network times
In addition to these columns, you can also see the Page Time Details and Profiler Details for each instance. You can navigate to these two pages by hovering on an instance line in the details section and then clicking on the magnifying glass image under these columns.
Page Time Details:
The execution time of different scripts can be viewed on the Page Time Details page. It shows the details of scripts that ran for a significant amount of time and is useful in diagnosing performance issues. The screenshot below shows a sample for a Sales Order View instance.
Page Time Details has three sections:
Overview - Provides a high-level overview of the operation instance. It has details like the user's email address, date and time, etc.
Timeline - Provides a graphical representation of the order of script execution and the duration of execution for each script
Suitescript and Workflow details - This is a tabular representation of the same data that is represented in the timeline section. This displays the name of the script and deployment.
Profiler Details:
Profiler details are another tool that can be used to analyze the timing breakdown of an operation and then locate and correct performance bottlenecks. Profiler Details is designed to help users further analyze the root cause of performance issues shown in Page Time Summary, Page Time Details, etc.
The Profiler Details page also has 3 sections:
Overview - Provides a high-level overview of the operation instance along with the saved search, script, and workflow counts
Timeline - Provides a graphical representation of the order of script execution and the duration of execution for each script
Timing details - This is a tabular representation of the same data that is represented in the timeline section. This section displays the name of the script and deployment.