TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
-
Tribut
- Newbie
- Posts: 3
- Joined: Tue Jan 12, 2010 12:00 am
-
Contact:
Post
by Tribut » Thu Jun 17, 2010 8:36 am
While profiling our reporting solution I noticed that a significant amount of time is "lost" in
Code: Select all
com.sun.imageio.plugins.png.PNGImageWriter.write(IIOMetadata, IIOImage, ImageWriteParam)
which is called from
Code: Select all
com.steema.teechart.exports.ImageExportFormat.save(ImageOutputStream)
I was wondering whether the installation of JAI (Java Advanced Imaging) with its native libs would improve performance? Is TeeChart prepared to make use of JAI?
Cheers,
-
Tribut
- Newbie
- Posts: 3
- Joined: Tue Jan 12, 2010 12:00 am
-
Contact:
Post
by Tribut » Thu Jun 17, 2010 12:54 pm
My findings:
- TeeChart has, as expected, no problem with JAI ImageIO
- since ImageExportFormat uses ImageIO.getImageWritersByFormatName(fileExtension) the JAI PNG writer is automatically picked up once JAI is installed
- even with the native libs the performance gain is minor (<1s)
-
Yeray
- Site Admin
- Posts: 9614
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Fri Jun 18, 2010 10:17 am
Hi Tribut,
Thanks for sharing your experiences with us. We appreciate it.