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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to