On Mon, Apr 28, 2008 at 11:41 AM, Miguel Angel Marchuet <[EMAIL PROTECTED]> wrote: > more simple test to see the problem: > > Harbour looses 38.571 Bytes in 9.25 seconds > xHarbour looses 56.956 Bytes in 4.83 seconds > > Why Harbour is more slow ? > Why xHarbour loose more memory ? > > Why 2 compilers loose memory ?
This test reports more the speed of the GT and video susbsys than the compilers runtime speed. F.e. on Linux and Harbour ( latest svn ) using gtstd I got: ... Mem used -> 266072 We lost 29998 Bytes Elapsed time 0.93 Under valgrind I got: We lost 29998 Bytes Elapsed time 28.01 ==8873== ==8873== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 1) ==8873== malloc/free: in use at exit: 0 bytes in 0 blocks. ==8873== malloc/free: 602,386 allocs, 602,386 frees, 876,873,754 bytes allocated. ==8873== For counts of detected errors, rerun with: -v ==8873== All heap blocks were freed -- no leaks are possible. best regards, Lorenzo _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour