Package org.h2.test.bench
Class TestPerformance
java.lang.Object
org.h2.test.bench.TestPerformance
- All Implemented Interfaces:
org.h2.test.bench.Database.DatabaseTest
The main controller class of the benchmark application.
To run the benchmark, call the main method of this class.
-
Constructor Details
-
TestPerformance
public TestPerformance()
-
-
Method Details
-
main
This method is called when executing this sample application.- Parameters:
args- the command line parameters- Throws:
Exception
-
trace
Description copied from interface:org.h2.test.bench.Database.DatabaseTestPrint a message to system out if trace is enabled.- Specified by:
tracein interfaceorg.h2.test.bench.Database.DatabaseTest- Parameters:
msg- the message
-
isCollect
public boolean isCollect()Description copied from interface:org.h2.test.bench.Database.DatabaseTestWhether data needs to be collected.- Specified by:
isCollectin interfaceorg.h2.test.bench.Database.DatabaseTest- Returns:
- true if yes
-