GLScene Version : v1.1_March_2011_SVN_revision_5593
Lazarus : 0.9.30
File : GLBehaviours.pas
Function : DoProgress
Added and end of function : Line 573
sleep(10); //JOHANNES PRETORIUS 18 June 2011
I noticed the boom and fire example both took high cpu usage of till 50% on my box. I played a little and this was the main improvement I got that brought it down to 20% average the whole time.
Hope it can help somebody.
Note the cpu usage was when running in the compiler. lower cpu if run outside compiler.
Outside compiler it takes max 10% cpu now. Hope it helps tx
You may doing same by changing TGLCadencer.SleepLength
Log in to post a comment.