On 02/11/11 13:38, zeljko wrote:
Please see results about Now() and something that I've mentioned about deprecitation of gettimeofday().According to this test, current fpgettimeofday() is crap when compared with clock_gettime() (kernel) or libc calls (I've copied scenario from kylix sysutils). *Kernel clock_gettime() NowReal() with 10000000 calls = 4870 ms **Libc gettimeofday()+localtime_r() with 10000000 calls = 5085 ms ***RTL Now() with 10000000 calls = 7659 ms ?!?!?!? Slowest !?!?
So fpc rtl is slower even _without_ the stat call in localtime. Henry _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel