| |
|
| java.lang.Object simpleorm.examples.Benchmarks
Benchmarks | public class Benchmarks implements SConstants(Code) | | Basic benchmarks that compare SimpleORM performance to raw JDBC.
No significant degedation has been found. See the whitepaper for a
full description of the tests and results.
|
fieldTime | static double fieldTime(Code) | | |
insertTime | static double insertTime(Code) | | |
nrRows | final static int nrRows(Code) | | |
randTime | static double randTime(Code) | | |
rupdTime | static double rupdTime(Code) | | |
seqTime | static double seqTime(Code) | | |
startTime | static long startTime(Code) | | |
theRandTotSal | static double theRandTotSal(Code) | | |
theTotBud | static double theTotBud(Code) | | |
theTotSal | static double theTotSal(Code) | | |
theUpdTotSal | static double theUpdTotSal(Code) | | |
timeTaken | static double timeTaken(Code) | | |
jdbcQuerySequential | static void jdbcQuerySequential() throws Exception(Code) | | |
rawTests | static void rawTests()(Code) | | Rough simulation of key SimpleORM steps.
|
simpleormQueryField | static void simpleormQueryField() throws Exception(Code) | | |
simpleormQueryRandom | static void simpleormQueryRandom() throws Exception(Code) | | |
simpleormQuerySequential | static void simpleormQuerySequential() throws Exception(Code) | | |
simpleormUpdateBulk | static void simpleormUpdateBulk() throws Exception(Code) | | |
simpleormUpdateRandom | static void simpleormUpdateRandom() throws Exception(Code) | | |
testInit | static void testInit() throws Exception(Code) | | Prepare for tests, Delete old data.
|
timeAssert | static void timeAssert(boolean test)(Code) | | Makes timeing assertions, but only for PostgreSQL. Other
databases vary, especially HSQL with its in memory/checkpointing
model.
|
|
|
|