[Laszlo-dev] high cpu usage with debugger addText
henry.minsky at gmail.com
Mon Mar 13 19:50:26 EST 2006
I was running a test app which prints some info to the debugger every few
seconds, and I noticed when I left it
for a while, the CPU usage kept spiking when it prints. I think it is due
to the progressively higher cost of the debugger appending text to it's
buffer and computing the new scroll position. It's odd because I start
seeing CPU loads spiking when the print routine is called on Windows of
around 15% when there is as little as 30 kbytes of text in the window.
Anyway, something is really expensive here in Flash string handling, either
the text appending or some other operation associated with the scrolling.
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Laszlo-dev