[fpc-pascal] Speed

Valdas Jankūnas skroblas at erdves.lt
Tue Oct 30 22:07:21 CET 2007


L rašė:
>>>>> Here's one: profile your code!
>>>> And where can you read how to do that?
> 
> 
> VALGRIND

  I processed my app trough "valgrind -v --tool=callgrind ./my_app", 
opened generated report with Kcachegrid and viewed how many times called 
some procedures and etc.
  Sorry for stupid question: i have no idea how i can check with 
Valgrind how one coding style is faster than another (see root post)?

  One comes in mind- call testing function many times and measure with 
GetTickCount how long takes this process...

-- 
   Valdas Jankūnas



More information about the fpc-pascal mailing list