aspose file tools*
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
Author

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.
Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
For detailed timing of the various processes, JAmon API has been recommended repeatedly.
Bill
[ December 28, 2003: Message edited by: William Brogden ]
 
Don't get me started about those stupid light bulbs.
 
subject: Images and Benchmarking