LazProfiler

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

/* Known issues */

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/packages from beeing instrumented,
just uncheck the checkbox in front of the procedure/function/class/unit/package name
in the profiler output window.

Packages are only visible if tree is sorted by package
Units are onyl visible if tree is sorted by package or unit.
Classes are only visible if tree is sorted by package, unit or class.

How does it work?

When profiling is started the following steps are done:

Known issues

Version History