[ 3 posts ]

Christopher Bargren

  • Username: chrisb
  • Joined: Fri Mar 11, 2011 11:31 am
  • Posts: 13
  • Offline
  • Profile

YUI3 Charts Perf

Post Posted: Wed May 18, 2011 7:35 am
+0-
Hey all. I had another question about charts, this time about perf. I'm near completing what I wanted to accomplish with charts, but I'm starting to notice that rendering performance is severely impacted once I start getting over about 500 data points.

http://jsfiddle.net/gYzy6/ (Note: I'll have to apologize for the wall of data pts you'll have to look at in this example. The data is what will be returned from an API call. Sorry for the cryptic-looking code too, I wanted to keep it relatively close to how I'm using it. :) ) It's ~1200 pts in a numeric and time axis stacked column chart and it takes about 10 secs to render in Chrome for me. Is there anything I can do to improve perf in this case or am I just at the edge bounds of what charts can handle comfortably?

Thanks for your help,
Chris

Tripp Bridges

YUI Developer

  • Username: tripp
  • Joined: Wed Jan 07, 2009 1:54 pm
  • Posts: 435
  • GitHub: tripp
  • Gists: tripp
  • YUI Developer
  • Offline
  • Profile

Re: YUI3 Charts Perf

Post Posted: Wed May 18, 2011 8:28 am
+0-
It looks like you may be hitting known performance issues that occur when a large number of markers are rendered.
http://yuilibrary.com/projects/yui3/ticket/2530151

I am currenty pursuing solutions for this issue.

Thanks,
Tripp

Eric Durbin

YUI Contributor

  • Username: edurbin
  • Joined: Wed Jul 13, 2011 5:41 am
  • Posts: 50
  • GitHub: edurbin
  • Gists: edurbin
  • Offline
  • Profile

Re: YUI3 Charts Perf

Post Posted: Wed Aug 31, 2011 6:48 am
+0-
My series of about 10 charts was taking ~2 minutes in firefox 3.6.4 in BSD to render in yui 3.3.0 and is now down to 5-6 seconds in yui 3.4.0 Not sure what you've changed, but it's a big improvement.
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum