Hey Martin_fr,
Try valgrind --tool=cachegrind and kcachegrind on linux....
I haven't profiled it, but experience says: String operations
Thanks for this!! I'm a complete ignorant on how to profile under Linux, and this is a good starting point !!
You need to compile your app with -gv (and have heaptrc off)
This uses a diff mem manager, so times slightly shift, but not to worry.
And if you can, use fpc with debug info, so you see if certain fpc functions are called often, and take much time.
Actually, IIRC, for basic profilnig use
valgrind --tool=callgrind yourapp
It will run dead slow, so maybe just run it over 10000 entries.
Then a file starting with callgrind.... will have been created.
kcachegrind callgrind1234.out
And it will show you how much time was spent in each function...