Tuto WEBDEV 25

Part 10: Optimizing and debugging a project 363 ▶ The first method will be used in our example. To start the performance profiler on the "WW_ Optimization" project: 1.  In the ribbon, on the "Project" page, "Audit and performance" group, expand "Analyze performance" and select "Analyze performance". Remark The performance profiler can also be started from the project dashboard, via the "Performance" widget. Simply: • enable the Widget if necessary (click the link "Click here to re-enable"). • click the arrow and select "Analyze performance". 2.  The project test is run. 3. Click "TEST PAGE OF PERFORMANCE PROFILER". 4. Click "PROCESS TO ANALYZE". 5. Validate the information window and stop the project test. The performance profiler report window appears. Studying the result ▶ Let’s study the report window of the performance profiler. Results are displayed in several tabs: • the "Summary" tab presents the ten longest processes. • the "Mapping" tab presents a graphical view of main processes. • the "Details" tab presents all processes run during the application test (from the slowest one to the fastest one). • the "Calls" tab is used to view the details of operations performed in a process. ▶ Let’s present these different tabs in our example. • The "Summary" tab presents the ten longest processes. In our example, you can see that the local procedure named "UpdateProductStock" takes more than 3 seconds to run (this time may change according to the power of your computer).

RkJQdWJsaXNoZXIy NDQ0OA==