LazProfiler

This is an old revision of LazProfiler, edited by PascalR at . The current revision is 124265.

/* Disable instrumenting */

About

LazProfiler is an IDE addon which adds a One-Click-Profiler to Lazarus.

Screenshot

Download

System Requirements / Dependencies

Installation

Download from here and install manually.
It depends on LCLExtension, EpikTimer and VirtualTreeView.

Support page

http://forum.lazarus.freepascal.org/index.php/topic,38983.0.html

Using LazProfiler

Start profiling

Show output

Cleanup profiler

In case the instrumenting of the sources produce not compileable code you can reset the profiler and tidy things up by choosing
"Cleanup Profiler and restore original files" from Run menu:

Influencing profiling

Hints in source code

By default the profiling automatically starts. If you just want to profile some parts of your code you can surround it by two comments:

// start-profiler
code_to_profile;
// stop-profiler

Disable instrumenting

If you want to exclude procedures/functions/classes/units from beeing instrumented,
just uncheck the checkbox in front of the procedure/function/class/unit name
in the profiler output window.

Units are onyl available if tree is sorted by unit. Classes are onlay available if tree is sorted by class or unit.

How does it work

When profiling is started the following steps are done:

Known issues

Version History