Package org.h2.test.bench
Class BenchSimple
java.lang.Object
org.h2.test.bench.BenchSimple
- All Implemented Interfaces:
Bench
This is a very simple benchmark application. One table is created
where rows are inserted, updated, selected (in sequential and random order),
and then deleted.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BenchSimple
public BenchSimple()
-
-
Method Details
-
init
Description copied from interface:BenchInitialize the database. This includes creating tables and inserting data.- Specified by:
initin interfaceBench- Parameters:
db- the database objectsize- the amount of data- Throws:
SQLException
-
runTest
Description copied from interface:BenchRun the test.- Specified by:
runTestin interfaceBench- Throws:
SQLException
-
getName
Description copied from interface:BenchGet the name of the test.
-