Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-29 Thread Martin Schreiber
On 08/29/2018 07:01 PM, code dz wrote: > > in fact it is not 1 widget , its 3 > 1 tpaintbox and 2 tintegerdisp > + form + container = 5 widgets -> expected frequency = 5 * 1/16ms = 313 If you update the values of the display widgets there will be more paint events. Martin

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-29 Thread code dz
2018-08-29 17:31 UTC+01:00, Martin Schreiber : > On Wednesday 29 August 2018 18:21:28 code dz wrote: >> 2018-08-29 9:37 UTC+01:00, Martin Schreiber : >> > On Tuesday 28 August 2018 23:15:09 code dz wrote: >> >> i added a counter and yes paint event triggered every 16ms >> >> i interrupt the

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-29 Thread Martin Schreiber
On Wednesday 29 August 2018 18:21:28 code dz wrote: > 2018-08-29 9:37 UTC+01:00, Martin Schreiber : > > On Tuesday 28 August 2018 23:15:09 code dz wrote: > >> i added a counter and yes paint event triggered every 16ms > >> i interrupt the application as you suggest me , you can see the call > >>

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-29 Thread code dz
2018-08-29 9:37 UTC+01:00, Martin Schreiber : > On Tuesday 28 August 2018 23:15:09 code dz wrote: >> i added a counter and yes paint event triggered every 16ms >> i interrupt the application as you suggest me , you can see the call >> stack pictures > > Please additionally add a counter to

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-29 Thread code dz
2018-08-29 9:37 UTC+01:00, Martin Schreiber : > On Tuesday 28 August 2018 23:15:09 code dz wrote: >> i added a counter and yes paint event triggered every 16ms >> i interrupt the application as you suggest me , you can see the call >> stack pictures > > Please additionally add a counter to

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-29 Thread code dz
2018-08-29 6:49 UTC+01:00, Martin Schreiber : > On Tuesday 28 August 2018 23:15:09 code dz wrote: >> i added a counter and yes paint event triggered every 16ms >> i interrupt the application as you suggest me , you can see the call >> stack pictures > > Interesting that there is no fillrect() or

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-29 Thread Martin Schreiber
On Tuesday 28 August 2018 23:15:09 code dz wrote: > i added a counter and yes paint event triggered every 16ms > i interrupt the application as you suggest me , you can see the call > stack pictures Please additionally add a counter to twidget.paint() (lib/common/kernel/msegui.pas:10614) and

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-28 Thread Martin Schreiber
On Tuesday 28 August 2018 23:15:09 code dz wrote: > i added a counter and yes paint event triggered every 16ms > i interrupt the application as you suggest me , you can see the call > stack pictures Interesting that there is no fillrect() or bitblt() or other *blt() call which consumes the most

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-28 Thread Martin Schreiber
On Monday 27 August 2018 22:51:38 code dz wrote: I get 0% CPU with your program too. > i disabled the antivirus but the result still the same , i also > noticed that if i enabled to_leak > the cpu usage reduced to 35 to_leak drops missed calls if "interval" time already has expired if "ontimer"

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-28 Thread code dz
2018-08-27 23:24 UTC+01:00, Sieghard : > Sehr geehrter Herr dz, > > Sie schrieben am Mon, 27 Aug 2018 21:51:38 +0100: > >> i disabled the antivirus but the result still the same , i also >> noticed that if i enabled to_leak >> the cpu usage reduced to 35 >> ok seems this problem exist only on this

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-27 Thread Sieghard
Sehr geehrter Herr dz, Sie schrieben am Mon, 27 Aug 2018 21:51:38 +0100: > i disabled the antivirus but the result still the same , i also > noticed that if i enabled to_leak > the cpu usage reduced to 35 > ok seems this problem exist only on this laptop (hp compaq 8710w > mobile workstation) ,

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-27 Thread Martin Schreiber
On Monday 27 August 2018 14:25:45 code dz wrote: > 2018-08-27 9:43 UTC+01:00, Martin Schreiber : > > On 26.08.2018 23:45, code dz wrote: > >> Hi Martin > >> i made a simple test across msegui & lazarus & wxwidgets to see who's > >> uses less cpu > >> the test is very simple : a paintbox & timer ,

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-27 Thread code dz
2018-08-27 9:43 UTC+01:00, Martin Schreiber : > On 26.08.2018 23:45, code dz wrote: >> Hi Martin >> i made a simple test across msegui & lazarus & wxwidgets to see who's >> uses less cpu >> the test is very simple : a paintbox & timer , i set the timer >> interval to 16ms and in its ontimer event

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-27 Thread Martin Schreiber
On 26.08.2018 23:45, code dz wrote: Hi Martin i made a simple test across msegui & lazarus & wxwidgets to see who's uses less cpu the test is very simple : a paintbox & timer , i set the timer interval to 16ms and in its ontimer event i invalidate the paintbox to trigger its paint event , in the

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-27 Thread Martin Schreiber
On 27.08.2018 08:45, code dz wrote: note i don't know about linux but i use windows7 I get 0% CPU load on Windows 7 including the display of the loop count, runtime and interval, please see attachment. A virus protection problem maybe? Martin

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-27 Thread code dz
2018-08-27 6:37 UTC+01:00, Martin Schreiber : > On Sunday 26 August 2018 23:45:08 code dz wrote: >> Hi Martin >> i made a simple test across msegui & lazarus & wxwidgets to see who's >> uses less cpu >> the test is very simple : a paintbox & timer , i set the timer >> interval to 16ms and in its

Re: [MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-26 Thread Martin Schreiber
On Sunday 26 August 2018 23:45:08 code dz wrote: > Hi Martin > i made a simple test across msegui & lazarus & wxwidgets to see who's > uses less cpu > the test is very simple : a paintbox & timer , i set the timer > interval to 16ms and in its ontimer event i invalidate the paintbox to > trigger

[MSEide-MSEgui-talk] a little benchmark (msegui lazarus wxwidgets)

2018-08-26 Thread code dz
Hi Martin i made a simple test across msegui & lazarus & wxwidgets to see who's uses less cpu the test is very simple : a paintbox & timer , i set the timer interval to 16ms and in its ontimer event i invalidate the paintbox to trigger its paint event , in the paint event i draw a rectangle after