2018-08-27 6:37 UTC+01:00, Martin Schreiber <mse00...@gmail.com>: > 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 its paint event , in the paint event i draw a rectangle >> after execution i maximized the form and see the cpu usage , well the >> results was : >> msegui : 90% per on cpu core >> lazarus : 18% >> wxwidgets: 2% >> >> i just wondering why this slowdown from msegui >> > You noticed that the MSEgui ttimer.interval are microseconds? > I get 0..1% CPU usage, please see attachment. > > Martin >
the value is 16000 which means 16ms at first i thought maybe its due to double buffering, but i also used doublebuffering in both lazarus and wxwidgets and gives me the same results note i don't know about linux but i use windows7 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk