LightBeam – measuring performance of Swing look-and-feels
June 17th, 2008 | 6 Comments »About a month ago i have introduced the new project named LightBeam that aims to assist look-and-feel writers to measure performance of their libraries under various static and dynamic scenarios. I have used this tool extensively during the performance optimizations of the next release of Substance look-and-feel, and it has now reached its first official release 1.0 code-named Antares.
The project distribution contains sample script files to test static and dynamic scenarios under the core look-and-feels (Metal, Windows and Nimbus), as well as a selection of active third-party look-and-feels (Substance, Looks and Synthetica). The performance spreadsheet available for download contains the breakdown of different scenarios, and here is the “executive summary” for the dynamic scenarios that try to emulate most common user interaction flows:
- 3,039 ms – Metal
- 3,721 ms – Windows
- 4,004 ms – Looks Plastic XP
- 4,696 ms – Nimbus
- 4,794 ms – Substance Autumn 5.0dev
- 4,908 ms – Synthetica default
- 13,146 ms – Substance Autumn 4.3
All the numbers are taken on my main development machine running the latest b26 of 6u10.
Related posts:
- Using LightBeam to measure XRender performance Project LightBeam was created a few months ago to assist Swing look-and-feel developers to reliably...
- Performance comparison of Substance skins As a follow up to the previous post that showed how LightBeam tool can be...
- Performance improvements in Substance 5 Looking at the comments on the announcement of release 4.3 of Substance look-and-feel, the three...
- Performance improvements in Substance 5, part 2 The biggest pain point of Substance users, as expressed in the comments on the announcement...
Hi Kirill,
Interesting comparison. Unfortunately I can’t open xlsx. Could you please publish the performance spreadsheet in some more wide usable format like PDF?
Thanks,
Maxim
Hello,
This is great. I am right in reading this: Substance 5 is 3 times faster than version 4?
any chance of measuring jtattoo and synthetica?
Cheers,
Andrew
Maxim – i’ve changed the link to PDF format.
Thierry – yes, Substance 5.0dev is about 2.5-3.5 faster than the previous release. I’ve written about Java2D techniques that i used for tuning the performance.
Andrew – Synthetica is already on the list. JTattoo Aero is 3,494 ms.
Thanks
Kirill
This is great! One thing we noticed with substance is the skin you were using has a dramatic effect on the speed. Things like watermarks and button shapers in particular had a big effect. Do you have any numbers comparing different substance themes? Under version 5 is there still much of a difference between different themes?
Luke – you beat me to the follow-up post :) Please see the next post for the numbers for different core Substance skins.