If you are having an issue with graphics performance make sure you try compatible images before trying anything else since it is so easy to introduce.
Before deploying to site I was worried that the speed up I was seeing was in some way down to my dev machine working well with compatible images so I wrote the tool below to test if the improvement was the same which it was. Some notes:
- The tool requires an image. When I attempted to create an in-memory image there was no difference in run times.
- Results are printed on the command line so remember to use java.exe and not javaw.exe
- I went to some effort so that this program was a single class to make it easy for the support guys to run. I don't usually like to implement Runnable on a class that isn't just a Runnable.
No comments:
Post a Comment