Tuto WINDEV 25
378 Part 6: Optimizing and debuging a project ▶ The first method will be used in our example. To start the performance profiler on the "WD Optimization" project: 1. On the "Project" pane, in the "Audit and performance" group, expand "Analyze the performance" and select "Analyze the 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"). • expand the button with arrow and select "Analyze the performance". 2. The project test is run. 3. Click the "Test window of performance profiler" button. 4. Click the "Process to analyze" button. 5. Validate the information window and stop the project test. The report window of performance profiler is displayed. 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.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==