The Komodo code profiler analyzes programs on a function by function basis, tracking which function calls are made, which functions call into other functions, and how long these calls take to complete.
Komodo provides code profiling support for Python and PHP (version 5.2 or higher), though it can also read these profiling formats:
To load a previously executed profiling sessions from a file, launch the Code Profiler interface with Tools|Code Profiler.
As with local and remote debugging, Komodo can perform code profiling on your local file system (Local Code Profiling) or run profiling on a remote system and report the results back over the network for Komodo to display (Remote Code Profiling).
To create a new local session:
Remote profiling executes code on a remote machine using the remote debugging libraries and reports back to Komodo through the debugger port. Komodo displays the remote profiling data in the same interface as local profiling.
To profile Python applications remotely, launch the "pydbgp" application with the --profiling command line option. See Komodo's Python Remote Debugging documentation for further details.
To profile PHP applications you will need to use PHP 5.2 or higher and the xdebug library included with Komodo IDE. See Komodo's PHP Remote Debugging documentation for basic configuration details, then change the Xdebug
remote_mode setting to "
Remote code that is run with this configuration will connect back to Komodo and send the code profiling data at the end of the application's execution.
© 2017 ActiveState Software Inc. All rights reserved. ActiveState®,
Komodo®, ActivePerl®, ActivePython®, and ActiveTcl® are registered
trademarks of ActiveState.
All other marks are property of their respective owners.