Cheetah.Tests.Performance module¶
-
class
Cheetah.Tests.Performance.BunchOfWriteCalls(methodName='runTest')¶ Bases:
Cheetah.Tests.Performance.PerformanceTest-
iterations= 1000¶
-
performanceSample()¶
-
-
exception
Cheetah.Tests.Performance.DurationError¶ Bases:
exceptions.AssertionError
-
class
Cheetah.Tests.Performance.DynamicMethodCompilationTest(methodName='runTest')¶ Bases:
Cheetah.Tests.Performance.PerformanceTest-
performanceSample()¶
-
-
class
Cheetah.Tests.Performance.DynamicSimpleCompilationTest(methodName='runTest')¶ Bases:
Cheetah.Tests.Performance.PerformanceTest-
performanceSample()¶
-
-
class
Cheetah.Tests.Performance.DynamicTemplatePerformanceTest(methodName='runTest')¶ Bases:
unittest.case.TestCase-
loops= 10¶
-
test_BasicDynamic(*args, **kw)¶
-
-
class
Cheetah.Tests.Performance.FilterTest(methodName='runTest')¶ Bases:
Cheetah.Tests.Performance.PerformanceTest-
performanceSample()¶
-
setUp()¶
-
template= None¶
-
-
class
Cheetah.Tests.Performance.LongCompileAndRun(methodName='runTest')¶ Bases:
Cheetah.Tests.Performance.LongCompileTest-
performanceSample()¶
-
-
class
Cheetah.Tests.Performance.LongCompileTest(methodName='runTest')¶ Bases:
Cheetah.Tests.Performance.PerformanceTestTest the compilation on a sufficiently large template
-
compile(template)¶
-
performanceSample()¶
-
-
class
Cheetah.Tests.Performance.LongCompile_CompilerSettingsTest(methodName='runTest')¶ Bases:
Cheetah.Tests.Performance.LongCompileTest-
compile(template)¶
-
-
class
Cheetah.Tests.Performance.PerformanceTest(methodName='runTest')¶ Bases:
unittest.case.TestCase-
display= False¶
-
iterations= 100000¶
-
runTest()¶
-
save= False¶
-
-
Cheetah.Tests.Performance.perftest(max_num_pystones, current_pystone=None)¶ Performance test decorator based off the ‘timedtest’ decorator found in this Active State recipe: