Example #1
0
    def testClearAndGetTaskParallel(self):

        GafferTest.testLRUCache("taskParallel",
                                numIterations=10000,
                                numValues=1000,
                                maxCost=90,
                                clearFrequency=20)
Example #2
0
    def testClearAndGetSerial(self):

        GafferTest.testLRUCache("serial",
                                numIterations=100000,
                                numValues=1000,
                                maxCost=90,
                                clearFrequency=20)
Example #3
0
	def testClearAndGetTaskParallel( self ) :

		GafferTest.testLRUCache( "taskParallel", numIterations = 10000, numValues = 1000, maxCost = 90, clearFrequency = 20 )
Example #4
0
	def testClearAndGetSerial( self ) :

		GafferTest.testLRUCache( "serial", numIterations = 100000, numValues = 1000, maxCost = 90, clearFrequency = 20 )
Example #5
0
	def test2PercentOfWorkingSetTaskParallel( self ) :

		GafferTest.testLRUCache( "taskParallel", numIterations = 10000, numValues = 100, maxCost = 2 )
Example #6
0
	def test2PercentOfWorkingSetSerial( self ) :

		GafferTest.testLRUCache( "serial", numIterations = 100000, numValues = 100, maxCost = 2 )
Example #7
0
	def test90PercentOfWorkingSetParallel( self ) :

		GafferTest.testLRUCache( "parallel", numIterations = 100000, numValues = 100, maxCost = 90 )
Example #8
0
    def test2PercentOfWorkingSetTaskParallel(self):

        GafferTest.testLRUCache("taskParallel",
                                numIterations=10000,
                                numValues=100,
                                maxCost=2)
Example #9
0
    def test2PercentOfWorkingSetSerial(self):

        GafferTest.testLRUCache("serial",
                                numIterations=100000,
                                numValues=100,
                                maxCost=2)
Example #10
0
    def test90PercentOfWorkingSetParallel(self):

        GafferTest.testLRUCache("parallel",
                                numIterations=100000,
                                numValues=100,
                                maxCost=90)