LightBeam is a performance suite for testing Swing look-and-feels. It is mainly targeting look-and-feel writers that want to test the performance aspects of their libraries. It provides a series of tests that measure both static aspects (pure rendering) and dynamic aspects (UI interaction).

This project is licensed under BSD 3-Clause "New" or "Revised" license.

The entry point for static scenarios is org.jvnet.lightbeam.StaticPerformanceSuite class. To run it under a specific look-and-feel, use the -Dswing.defaultlaf VM switch. It requires the FormLayout to be present in the class path. The scripts folder contains sample scripts to run the static scenarios under a number of core and third-party look-and-feels. Here is how you can run the static scenario suite under Substance Autumn look-and-feel:

"C:\Program Files\Java\jdk1.6.0_10\bin\java" 
-Dswing.defaultlaf=org.jvnet.substance.skin.SubstanceAutumnLookAndFeel 
-cp lightbeam.jar;substance.jar;forms-1.1.0.jar 
org.jvnet.lightbeam.StaticPerformanceSuite 20

where 20 is the number of times to run the scenarios after the warmup stage.

The entry point for dynamic scenarios is org.jvnet.lightbeam.DynamicPerformanceSuite class. To run it under a specific look-and-feel, use the -Dswing.defaultlaf VM switch. It requires the FormLayout to be present in the class path. The scripts folder contains sample scripts to run the dynamic scenarios under a number of core and third-party look-and-feels. Here is how you can run the dynamic scenario suite under Substance Autumn look-and-feel:

"C:\Program Files\Java\jdk1.6.0_10\bin\java" 
-Dswing.defaultlaf=org.jvnet.substance.skin.SubstanceAutumnLookAndFeel 
-cp lightbeam.jar;substance.jar;forms-1.1.0.jar 
org.jvnet.lightbeam.DynamicPerformanceSuite 10

where 10 is the number of times to run the scenarios after the warmup stage.

The distribution archive contains all the source files, the required FormLayout library and the sample scripts. To build LightBeam from the sources, run the build.xml script from the top-level folder.