faheem801 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

High Cpu usage rate when drawing a great number of lines in IE7 #399

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Flot - for getting help, please
use the Google Groups mailing list. When reporting, please state Flot
version and your browser. For bugs, screenshots and minimal examples help
speed up debugging. For enhancements, consider attaching or linking to a
mockup/screenshot.)

When I used flot to draw line in my site, I found when I draw a great number of 
lines at one time in IE7, it would lead to a high CPU usage rate and last for a 
long time.

For example, I have 20 lines and each line has 40 points, when flot starts to 
draw, the CPU usage rate for IE7 is up to 30%, and after nearly 20 seconds, the 
lines show up.

During this time, my computer seems dead.

Original issue reported on code.google.com by peiz...@gmail.com on 19 Aug 2010 at 8:11

Attachments:

GoogleCodeExporter commented 9 years ago
The VML support used in IE is indeed much slower than the canvas support in the 
other browsers. However, I have successfully plotted much more than 1000 of 
points in 1-2 seconds on IE6 so it's a bit odd.

You can try turning off points and only draw the lines, this I think will be 
much faster as it won't have to draw all the small circles and fill them. You 
can also try disabling the shadows.

Otherwise, there's recently been introduced a Flash emulator for the canvas tag 
(I think it's called Flashcanvas). You could try that and see if it's faster 
for you.

I'm going to close the bug as I can't really do much about the problem.

Original comment by olau%iol...@gtempaccount.com on 13 Dec 2010 at 5:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 4 Jun 2012 at 2:41