This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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

Win a copy of Building Microservices this week in the Design forum!
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: 13007
For detailed timing of the various processes, JAmon API has been recommended repeatedly.
[ December 28, 2003: Message edited by: William Brogden ]
Have you checked out Aspose?
subject: Images and Benchmarking
It's not a secret anymore!