Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-01

Is there tool for testing class methods speed?

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Krzysztof

Hi,

Almost 10 years ago I worked in company where they used tool (Delphi 5) which automatically added "checkpoints" after BEGIN and before END of each method of pointed class / pascal unit. Then after run, it reported (as extension for IDE) what was execution time of each method and how many times it was called. With the same easy way we could clean up unit from checkpoints. Totally forgot name of this tool but do we have something similar for Lazarus / FPC?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160120/f7eb58d0/attachment.html>

Reply by email

Martin Frb
to Krzysztof: Almost 10 years ago I worked in company where they used tool (Delphi 5) which…
Krzysztof wrote 7 lines
Almost 10 years ago I worked in company where they used tool (Delphi 5) which automatically added "checkpoints" after BEGIN and before END of each method of pointed class / pascal unit. Then after run, it reported (as extension for IDE) what was execution time of each method and how many times it was called. With the same easy way we could clean up unit from checkpoints. Totally forgot name of this tool but do we have something similar for Lazarus / FPC?

If you are on linux: valgrind + kcachegrind

Reply by email

K. P.
to Krzysztof: Almost 10 years ago I worked in company where they used tool (Delphi 5) which…

Hi Krzysztof,
was it http://www.prodelphi.de/ ?
Am not aware of anything as easy and powerful for Lazarus :( Cheers,Kai

Date: Wed, 20 Jan 2016 20:17:59 +0100
From:
To:
Subject: [Lazarus] Is there tool for testing class methods speed?

Hi,
Almost 10 years ago I worked in company where they used tool (Delphi 5) which automatically added "checkpoints" after BEGIN and before END of each method of pointed class / pascal unit. Then after run, it reported (as extension for IDE) what was execution time of each method and how many times it was called. With the same easy way we could clean up unit from checkpoints. Totally forgot name of this tool but do we have something similar for Lazarus / FPC? Regards

Reply by email

K. P.
to K. P.

I stand corrected - they do make versions for Lazarus...

From:
To:
Date: Wed, 20 Jan 2016 19:33:16 +0000
Subject: Re: [Lazarus] Is there tool for testing class methods speed?

Hi Krzysztof,
was it http://www.prodelphi.de/ ?
Am not aware of anything as easy and powerful for Lazarus :( Cheers,Kai

Date: Wed, 20 Jan 2016 20:17:59 +0100
From:
To:
Subject: [Lazarus] Is there tool for testing class methods speed?

Hi,
Almost 10 years ago I worked in company where they used tool (Delphi 5) which automatically added "checkpoints" after BEGIN and before END of each method of pointed class / pascal unit. Then after run, it reported (as extension for IDE) what was execution time of each method and how many times it was called. With the same easy way we could clean up unit from checkpoints. Totally forgot name of this tool but do we have something similar for Lazarus / FPC? Regards

Reply by email