[fpc-pascal]Performance testing of FPC programs?

Adam Naumowicz adamn at math.uwb.edu.pl
Fri Feb 7 17:15:51 CET 2003


On Fri, 7 Feb 2003, Preben Mikael Bohn wrote:

> Hi all, I have a relatively large FPC program that I suspect have a few
> bottlenecks (regarding processing speed). Are there any ways I can test how
> long time the program spends in the different procedures/functions?

Use the -pg to compile your program and then use gprof to see profile

Best regards,
Adam Naumowicz

Department of Applied Logic            fax. +48 (85) 745-7662
Institute of Computer Science          tel. +48 (85) 745-7559 (office)
University of Bialystok                e-mail: adamn at mizar.org
Sosnowa 64, 15-887 Bialystok, Poland   http://math.uwb.edu.pl/~adamn/

More information about the fpc-pascal mailing list