wood burning stoves
The moose likes Performance and the fly likes Images and Benchmarking Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Images and Benchmarking" Watch "Images and Benchmarking" New topic

Images and Benchmarking

Ken Blair
Ranch Hand

Joined: Jul 15, 2003
Posts: 1078
I have an application that needs to load a very large TIFF image and then scale and resize the image. My problem isn't achieving this, my problem is doing this quickly. Currenlty I'm using JAI to load the TIFF file and then converting it to a BufferedImage and simply displaying it in a label as an icon. The problem is simple, it takes way too long to load the image and I'd like to improve the performance on zooming in and out and moving the image around too. What I'm looking for is suggestions on how to speed this up and information on how I can benchmark this type of thing so I can find what's killing performance and find out whether or not my 'optimization' sped it up or not.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
For detailed timing of the various processes, JAmon API has been recommended repeatedly.
[ December 28, 2003: Message edited by: William Brogden ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Images and Benchmarking
It's not a secret anymore!