Performances

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Philippe

Performances

Post by Philippe » Wed Jan 15, 2003 2:11 pm

Hi.

Trying to use JFreeChart for viewing stats, it's quite nice BUT, very very slow.

on a good Solaris machine, it takes 5 secondes to get the PNG file generated for a 800x500 graphic.

Any clue to accelerate it ?

Thanks.

Philippe

Re: Performances

Post by Philippe » Wed Jan 15, 2003 3:12 pm

Generating JPG is quite more speed : 1 second only ....
but
PNG -> 15 ko
JPG -> 60 ko.

David Gilbert

Re: Performances

Post by David Gilbert » Thu Jan 16, 2003 4:39 pm

Hi Philippe,

It sounds like the PNG encoder that I've included with JFreeChart (on the basis that it shares the same license, the LGPL) might not be so fast. You might try some third-party encoders, or look at what is provided in the Sun imaging libraries (which I haven't investigated yet). I'd be interested to hear which encoders perform the best.

Regards,

Dave Gilbert

Locked