Profiling

Profiling code with Zend Server for IBM i is the process of using Zend Studio to analyze code execution performance.

 

To access this option from Zend Server for IBM i go to Monitor | Events , select an event from the list and click on the event's ID number to view the details page.

 

This procedure describes how to profile an event from inside Zend Server for IBM i. Profiling from inside an event provides an additional diagnostics layer in order to investigate why a specific event was triggered.

 

Before following this procedure make sure that Zend Server for IBM i and Zend Studio are running and properly setup.

 

 

Instructions on how to complete a procedure

To Profile an event:

  1. Open an event by going to Monitor | Events, selecting an event from the list and clicking on the event's ID number to view the details page.

  2. In the Zend Studio diagnostics area click profile_event.png
    This action will run on the server defined in settings.png. By default, the settings are set to run diagnostic actions on the originating server (the server on which the event was created). You can change the settings to run on a different server.

debugging_an_event_server.png

  1. The information will be transferred to the Zend Studio PHP Profile preference where you can run profile and edit the file.

profiling_an_event_studio.png

If this did not work see if one of these troubleshoot options help

 

 

Related Links

Related Links:

Working with the Debugger

Working with Firewall Tunneling

Working with Local Debugging