windrobin / flashcanvas

Automatically exported from code.google.com/p/flashcanvas
0 stars 0 forks source link

Extrem slowdown after 117 drawImage #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If I render 117 textures I get ~30 FPS
but adding one more instance gets me aroung 1-2 FPS
How can I help debug this issue?

Original issue reported on code.google.com by balogh.p...@cit.hu on 24 Jan 2012 at 10:52

GoogleCodeExporter commented 9 years ago
Further digging revealed that loading and rendering 101 images causes the 
problem.
Is there a plan to fix this?

Original comment by balogh.p...@cit.hu on 24 Jan 2012 at 11:07

GoogleCodeExporter commented 9 years ago
Thank you for your report. I suppose you probably use FlashCanvas Pro 1.5.

FlashCanvas Pro has a configurable option named imageCacheSize. The default 
value of this option is set to 100, so you should increase this value. For more 
details, please refer the following page.
http://flashcanvas.net/docs/config

Open-source edition of FlashCanvas and older version of FlashCanvas Pro do not 
have this option. I added this feature because a certain user complained that 
FlashCanvas caused memory leaks when it loads different image every 10 seconds.

I'll close this issue if this comment solves your problem.

Original comment by revu...@gmail.com on 25 Jan 2012 at 3:20

GoogleCodeExporter commented 9 years ago
Thank you, it's working like a charm now :)

Original comment by balogh.p...@cit.hu on 25 Jan 2012 at 12:08

GoogleCodeExporter commented 9 years ago

Original comment by revu...@gmail.com on 11 May 2012 at 11:03