[fpc-pascal] Basics of profiling
dhkblaszyk at zeelandnet.nl
Mon Sep 6 14:48:10 CEST 2010
On Mon, 2010-09-06 at 13:01 +0200, Graeme Geldenhuys wrote:
> Recently I took a look at Darius's old project 'fpprofiler. Links
> below. It was over 2 years since anybody worked on it, and riddled
> with bugs. I fixed all memory leaks, added some improvements, and used
> the new fcl-passrc code included with FPC Trunk (though it only uses
> the tokenizer for speed reasons, so FPC 2.4.x should work to - maybe
> with minor one line code change).
I've tested fpprofiler on FPC 2.4 and it works, provided the fcl-passrc
is from 2.5.1. I'll add this folder as external to the SVN repository.
> fpprofiler was quick and easy to use, and it have me results that was
> easier to understand. The callgraph is still work in progress, and the
> timing results I want to improve too, but that is simply to do with
> the report generator code. I recently spoke to Darius, and is is going
> to merge my changes (found in GitHub) into the fpcprojects repository,
> but he doesn't know when that will be.
Merging will start as soon as Florian will provide access for me again
to the fpprofiler repository.
More information about the fpc-pascal