public class MicroPerformanceRegressionTest extends BaseTestCase
BaseTestCase.MockConnectionConfiguration| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.String,java.lang.Double> |
BASELINE_TIMES |
private static double |
LEEWAY |
private static double |
ORIGINAL_LOOP_TIME_MS |
private static double |
scaleFactor |
private static double[] |
scaleFactorSamples |
conn, dbClass, dbName, dbUrl, isOpenSSL, mainConnectionUrl, pstmt, rs, serverVersion, stmt, timeZoneFreeDbUrl| Constructor and Description |
|---|
MicroPerformanceRegressionTest() |
| Modifier and Type | Method and Description |
|---|---|
private static double |
adjustScaleFactor() |
private static double |
calculateScaleFactor() |
private void |
checkTime(java.lang.String testType,
double avgExecTimeMs) |
void |
setUp() |
void |
testBug6359() |
void |
testPreparedStatementTimes() |
void |
testResultSetAccessors()
Tests result set accessors performance.
|
appendRequiredProperties, 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 static double[] scaleFactorSamples
private static double scaleFactor
private static final double ORIGINAL_LOOP_TIME_MS
private static final double LEEWAY
private static final java.util.Map<java.lang.String,java.lang.Double> BASELINE_TIMES
@BeforeEach
public void setUp()
throws java.lang.Exception
java.lang.Exceptionprivate static final double adjustScaleFactor()
private static final double calculateScaleFactor()
private void checkTime(java.lang.String testType,
double avgExecTimeMs)
throws java.lang.Exception
java.lang.Exception@Test
public void testResultSetAccessors()
throws java.lang.Exception
java.lang.Exception@Test
public void testPreparedStatementTimes()
throws java.lang.Exception
java.lang.Exception@Test
public void testBug6359()
throws java.lang.Exception
java.lang.Exception