Tuto WEBDEV 25

366 Part 10: Optimizing and debugging a project 2. Click the "Calls" button to display the details of calls to the UpdateProductStock procedure. Select "HTTPRequest" and click "Code": the corresponding line of WLanguage code is displayed in the code editor. 3. Close the performance profiler. 4.  The following line of WLanguage code is run: HTTPRequest("supplier-addr") The slowdown is caused by the fact that the address specified for HTTPRequest is not accessible. ▶ Let’s check the operating mode of application by optimizing this code: 1. Replace the code line containing HTTPRequest by the following code line: // Checks the accessibility of supplier server HTTPRequest( "www.google.com ") 2. Save the code (Ctrl + S).

RkJQdWJsaXNoZXIy NDQ0OA==