Google Web Toolkit
Search Google Code:

# Benchmarking

GWT's JUnit integration provides special support for creating and reporting on benchmarks. Specifically, GWT has introduced a new Benchmark class which provides built-in facilities for common benchmarking needs. To take advantage of benchmarking support, take the following steps:

1. Review the documentation on Benchmark. Take a look at the example benchmark code.
2. Create your own benchmark by subclassing Benchmark. Execute your benchmark like you would any normal JUnit test. By default, the test results are written to a report XML file in your working directory.
3. Run benchmarkViewer to browse visualizations (graphs/charts) of your report data. The `benchmarkViewer` is a GWT tool in the root of your GWT installation directory that displays benchmark reports.