def testClearAndGetTaskParallel(self): GafferTest.testLRUCache("taskParallel", numIterations=10000, numValues=1000, maxCost=90, clearFrequency=20)
def testClearAndGetSerial(self): GafferTest.testLRUCache("serial", numIterations=100000, numValues=1000, maxCost=90, clearFrequency=20)
def testClearAndGetTaskParallel( self ) : GafferTest.testLRUCache( "taskParallel", numIterations = 10000, numValues = 1000, maxCost = 90, clearFrequency = 20 )
def testClearAndGetSerial( self ) : GafferTest.testLRUCache( "serial", numIterations = 100000, numValues = 1000, maxCost = 90, clearFrequency = 20 )
def test2PercentOfWorkingSetTaskParallel( self ) : GafferTest.testLRUCache( "taskParallel", numIterations = 10000, numValues = 100, maxCost = 2 )
def test2PercentOfWorkingSetSerial( self ) : GafferTest.testLRUCache( "serial", numIterations = 100000, numValues = 100, maxCost = 2 )
def test90PercentOfWorkingSetParallel( self ) : GafferTest.testLRUCache( "parallel", numIterations = 100000, numValues = 100, maxCost = 90 )
def test2PercentOfWorkingSetTaskParallel(self): GafferTest.testLRUCache("taskParallel", numIterations=10000, numValues=100, maxCost=2)
def test2PercentOfWorkingSetSerial(self): GafferTest.testLRUCache("serial", numIterations=100000, numValues=100, maxCost=2)
def test90PercentOfWorkingSetParallel(self): GafferTest.testLRUCache("parallel", numIterations=100000, numValues=100, maxCost=90)