Evaluate the performance of a portal page
Evaluate how the widgets on a page perform against performance benchmarks that you specify.
始める前に
Role required: sp_admin or admin
手順
-
Turn on the Performance Analyzer for the portals that you want to evaluate.
By default, the Performance Analyzer is enabled for the Service Portal (sp).
- In the navigation filter, enter sys_properties.list.
- Filter the list by entering sp_allow_perf_debug_option_for_portals for the Name field.
- Select the sp_allow_perf_debug_option_for_portals record.
- In the Value field, enter the suffixes of the portals to analyze.
For users with the sp_admin or admin roles, the open Performance Analyzer icon () appears on pages in the specified portals.
- Navigate to the portal page that you want to analyze.
-
Select the open Performance Analyzer icon (
).
The Performance Analyzer opens in another browser tab. The Portal Page URL field automatically populates with the URL of the page from which you open the Performance Analyzer. -
From the Benchmarks details tab, enter the performance benchmarks to analyze the page against.
Benchmark Description Widget Load Time (ms) The time, in milliseconds (ms), that it takes for a widget to load on the page. ACL Execution time (ms) The time, in milliseconds (ms), that it takes for a widget to execute any applicable ACLs. DB Call Execution Time (ms) The time, in milliseconds (ms), that it takes for a widget to execute database queries. Business Rule Execution Time (ms) The time, in milliseconds (ms), that it takes for a widget to execute business rules. Ajax Calls Time (ms) The time, in milliseconds (ms), that it takes for a widget to execute AJAX calls. Ajax Waiting Time (sec) The time, in seconds (s), to wait for AJAX calls after the page has finished loading. -
Select Validate.
注:During validation, refrain from interacting with other pages on the instance as doing so could impact the results of the page evaluation.The Performance Analyzer returns the benchmark results, which include any widgets on the page that exceed the benchmarks and details about their performance.
-
Review the benchmark results.
Option Steps Benchmark details From the Benchmark results list, select a widget or AJAX API to view additional details about its ACLs, business rules, or database calls.
Preview - Select Show preview.
Any widgets on the page that exceed the specified benchmarks are highlighted on the page.
- Select the information icon (
) for a highlighted widget to view its benchmark results.
- Select Show preview.
- オプション: To evaluate the page against different benchmarks, select Start Over and enter new benchmarks.
次のタスク
Consider updating any widgets that don’t meet your performance benchmarks to improve the page performance. For example, if a widget's server script takes too long to load, evaluate if the script can be improved to load faster.