资 源 简 介
OVERVIEW
GBench is a benchmarking module for Groovy. It allows you to compare the performance of programs. GBench is a sub-project of [GPerfUtils](http://gperfutils.org).
GBench has two features: Benchmark Builder and Benchmark Transformation.
Benchmark Builder allows you to correctly benchmark programs. Groovy is a difficult language to accurately benchmark. Method caching, dynamic optimization and garbage collection by JVM, there are many factors that interfere measurement. You can resolve the issues by using Benchmark Builder. See also ["Right Groovy Benchmarking"](http://nagaimasato.blogspot.com/2012/03/right-groovy-benchmarking.html) for understanding what the "correctly" means.
Benchmark Transformation allows you to measure methods’ execution time without additional code.
VERSIONING
GBench has different versions for di