def testRun(): testN3Store('MySQL',configString) testRegex()
def testRun(): testN3Store('MySQL', configString) testRegex()
testRegex.non_standard_dep = True def testRun(): testN3Store('MySQL',configString) testRegex() testRun.non_standard_dep = True def profileTests(): from hotshot import Profile, stats p = Profile('rdflib-mysql.profile') p.runcall(testRun) p.close() s = stats.load('rdflib-mysql.profile') s.strip_dirs() s.sort_stats('time','cumulative','pcalls') #s.sort_stats('time','pcalls') s.print_stats(.1) s.print_callers(.1) s.print_callees(.1) profileTests.non_standard_dep = True if __name__=='__main__': testN3Store('MySQL',configString) testRegex() #profileTests()
def testRun(): testN3Store('MySQL', configString) testRegex() testRun.non_standard_dep = True def profileTests(): from hotshot import Profile, stats p = Profile('rdflib-mysql.profile') p.runcall(testRun) p.close() s = stats.load('rdflib-mysql.profile') s.strip_dirs() s.sort_stats('time', 'cumulative', 'pcalls') #s.sort_stats('time','pcalls') s.print_stats(.1) s.print_callers(.1) s.print_callees(.1) profileTests.non_standard_dep = True if __name__ == '__main__': testN3Store('MySQL', configString) testRegex() #profileTests()