GNOME Bugzilla – Bug 152201
Graph display performance
Last modified: 2004-12-22 21:47:04 UTC
> 1. Fill a1:a10000 with 1, 2, 3, ... > 2. Select and click graph. > 3. Select Line and click forward. > 4. Go have some coffee. One thing that appears to be a low-hanging fruit is gog_renderer_pixbuf_measure_text. The renderer should simple create a single layout at gog_renderer_pixbuf_init. (And create the pango context the same place; their might not even be a reason for keeping that around.)
I commited a patch to gog-axis that makes automatic ticks more smarter and limit the number of labels to 100. Doens't fix anything, but at least it minimizes impact of the performance issue. I'm going to look into this problem.
Fixed in CVS. The problem was mainly due to a performance issue with libart when you try to render a lots of tiny unconnected lines in one path.