Re: [Harbour] 2008-11-12 23:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-11-13 Thread Przemyslaw Czerpak
On Thu, 13 Nov 2008, Szak�ts Viktor wrote: Hi Viktor, > For previous tests MSVC 2005 was used, with a local > production built Harbour (r9921), using usual HB_NO_DEBUG > switch, nothing else. I've been using memtst (with WAITs > removed) and speedtst. The machine is idle while tests are > running

Re: [Harbour] 2008-11-12 23:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-11-13 Thread Przemyslaw Czerpak
On Thu, 13 Nov 2008, Szak�ts Viktor wrote: Hi Viktor, > I've just peeked into the implementation and did some tests. > New dynamic FM STAT when turned off is about 8% slower > than fully turned off FM STAT. Quite huge overhead :( Can you show me your tests? I cannot imagine such big overhead in

Re: [Harbour] 2008-11-12 23:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-11-13 Thread Szakáts Viktor
Hi Przemek, I've just peeked into the implementation and did some tests. New dynamic FM STAT when turned off is about 8% slower than fully turned off FM STAT. Quite huge overhead :( Looks like a few branches can make such big difference (similar to HB_NO_DEBUG). It means this isn't a costless f

Re: [Harbour] 2008-11-12 23:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-11-12 Thread Szakáts Viktor
Many thanks, I will test it in a sec. What I'd like to do is disable FM STAT for all default builds. So users would rather need HB_FM_STATISTICS, if they need it permanently enabled for some (to me wierd looking) reason. Do you see a problem with that? Brgds, Viktor On 2008.11.12., at 23:16, P

[Harbour] 2008-11-12 23:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-11-12 Thread Przemyslaw Czerpak
2008-11-12 23:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c + added support for enabling/disabling memory statistic when application starts. To enable memory statistic it's enough to set HB_FM_STAT environment variable to non empty value. T