public class LoadStorePerfTest extends BasePerfTest
BaseTestCase.MockConnectionConfiguration| Modifier and Type | Field and Description |
|---|---|
private boolean |
largeResults |
private java.lang.String |
tableType
The table type to use (only for MySQL), 'HEAP' by default
|
private boolean |
takeMeasurements |
private boolean |
useColumnNames |
numberFormatterconn, dbClass, dbName, dbUrl, isOpenSSL, mainConnectionUrl, pstmt, rs, serverVersion, stmt, timeZoneFreeDbUrl| Constructor and Description |
|---|
LoadStorePerfTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doOneIteration()
Runs one iteration of the test.
|
void |
setUp() |
void |
tearDown() |
void |
test1000Transactions()
Tests and times 1000 load/store type transactions
|
protected void |
warmUp()
Runs the test 10 times to get JIT going, and GC going
|
addResult, doIterations, getCurrentConfidence, getMarginOfError, getMeanValue, getStandardDeviationP, reportResultsappendRequiredProperties, assertByteArrayEquals, assertConnectionsHistory, assertEqualsFSAware, assertNonSecureConnection, assertResultSetLength, assertResultSetsEqual, assertSecureConnection, assertSecureConnection, assertSessionStatusEquals, assertThrows, assertThrows, assertThrows, assertThrows, cleanupTempFiles, createDatabase, createDatabase, createFunction, createFunction, createProcedure, createProcedure, createSchemaObject, createSchemaObject, createTable, createTable, createTable, createTable, createUser, createUser, createView, createView, currentTimeMillis, dropDatabase, dropDatabase, dropFunction, dropFunction, dropProcedure, dropProcedure, dropSchemaObject, dropSchemaObject, dropTable, dropTable, dropUser, dropUser, dropView, dropView, fillPrimitiveDefaults, getConnectionWithProps, getConnectionWithProps, getConnectionWithProps, getConnectionWithProps, getEncodedHostFromTestsuiteUrl, getEncodedHostPortPairFromTestsuiteUrl, getFailoverConnection, getFailoverConnection, getHostFreePropertiesFromTestsuiteUrl, getHostFreePropertiesFromTestsuiteUrl, getHostFromTestsuiteUrl, getInstanceNumber, getLoadBalancedConnection, getLoadBalancedConnection, getLoadBalancedConnection, getMysqlVariable, getMysqlVariable, getNewConnection, getNoDbUrl, getPort, getPortFreeHostname, getPortFromTestsuiteUrl, getPropertiesFromTestsuiteUrl, getPropertiesFromUrl, getRowCount, getSingleIndexedValueWithQuery, getSingleIndexedValueWithQuery, getSingleValue, getSingleValueWithQuery, getSourceReplicaReplicationConnection, getSourceReplicaReplicationConnection, getSourceReplicaUrl, getSourceReplicaUrl, getUnreliableFailoverConnection, getUnreliableFailoverConnection, getUnreliableLoadBalancedConnection, getUnreliableLoadBalancedConnection, getUnreliableMultiHostConnection, getUnreliableReplicationConnection, getUnreliableReplicationConnection, getUnreliableReplicationConnection, isClassAvailable, isCommunityEdition, isEnterpriseEdition, isMysqlRunningLocally, isRunningOnJRockit, isServerRunningOnWindows, isSysPropDefined, logDebug, newTempBinaryFile, randomString, removeHostRelatedProps, removeSqlMode, runLongTests, setUpBase, supportsLoadLocalInfile, supportsTestCachingSha2PasswordKeys, supportsTestCertificates, supportsTestSha256PasswordKeys, supportsTimeZoneNames, supportsTLSv1_2, tearDownBase, versionMeetsMinimum, versionMeetsMinimumprivate java.lang.String tableType
private boolean takeMeasurements
private boolean useColumnNames
private boolean largeResults
@BeforeEach
public void setUp()
throws java.lang.Exception
java.lang.Exception@AfterEach
public void tearDown()
throws java.lang.Exception
java.lang.Exception@Test
public void test1000Transactions()
throws java.lang.Exception
java.lang.Exception - if an error occursprotected void doOneIteration()
throws java.lang.Exception
doOneIteration in class BasePerfTestjava.lang.ExceptionBasePerfTest.doOneIteration()protected void warmUp()
throws java.lang.Exception
java.lang.Exception - if an error occurs.