PerformanceUnitTest provides a simple interface for running unit tests
against PerformanceTest. Useful for integrating performance tests into a TDD
workflow.
public function PerformanceUnitTest()
PerformanceCheck should not be instantiated.
public static function checkMethodTestMemory(methodTest:MethodTest, targetMemory:uint):Boolean
Returns true if the specified method test runs without errors and has a memory value less than or equal to
the target memory specified. See MethodTest.memory for additional information.
Parameters
Returns
public static function checkMethodTestRetainedMemory(methodTest:MethodTest, targetMemory:uint):Boolean
Returns true if the specified method test runs without errors and has a retainedMemory value less than or equal to
the target memory specified. See MethodTestretainedMemory for additional information.
Parameters
Returns
public static function checkTestSuiteTime(testSuite:TestSuite, targetTime:uint):Boolean
Returns true if the specified test suite runs without errors within the target time specified in ms.
Parameters
Returns
public static function checkTestTime(test:AbstractTest, targetTime:uint):Boolean
Returns true if the specified test runs without errors within the target time specified in ms.
Parameters
Returns