net.java.ao.benchmark
Class Benchmark

java.lang.Object
  extended by net.java.ao.test.ActiveObjectsIntegrationTest
      extended by net.java.ao.benchmark.Benchmark

@Data(value=BenchmarkDatabaseUpdater.class)
@NameConverters(table=net.java.ao.test.converters.UpperCaseTableNameConverter.class,
                field=net.java.ao.test.converters.UpperCaseFieldNameConverter.class)
public final class Benchmark
extends ActiveObjectsIntegrationTest


Field Summary
 
Fields inherited from class net.java.ao.test.ActiveObjectsIntegrationTest
entityManager
 
Constructor Summary
Benchmark()
           
 
Method Summary
 void results()
           
 void runWithoutPreload()
           
 void runWithPreload()
           
 void warmUp()
           
 
Methods inherited from class net.java.ao.test.ActiveObjectsIntegrationTest
checkSqlExecuted, checkSqlExecutedWhenSaving, checkSqlNotExecuted, escapeFieldName, escapeKeyword, escapePolyFieldName, executeStatement, executeUpdate, findField, findField, getFieldName, getPolyFieldName, getTableName, getTableName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Benchmark

public Benchmark()
Method Detail

warmUp

public void warmUp()

runWithoutPreload

@NonTransactional
public void runWithoutPreload()
                       throws Exception
Throws:
Exception

runWithPreload

@NonTransactional
public void runWithPreload()
                    throws Exception
Throws:
Exception

results

public void results()


Copyright © 2007-2011. All Rights Reserved.