def evalTimingsForModuleMember(filename, memberName, callResult = False):
    foraModule = FORA.importModule(os.path.join(testPath, filename))
    
    if callResult:
        toCall = getattr(foraModule, memberName)
        evalFun = lambda n: FORA.eval(
            "toCall()",
            locals = { 'toCall' : toCall },
            parsePath = ["LocalPerfTestRunner"]
            )
    else:
        evalFun = lambda n: FORA.eval(
            "foraModule.%s" % memberName,
            locals = { 'foraModule' : foraModule },
            parsePath = ["LocalPerfTestRunner"]
            )

    measureTimingsInLoop(evalFun)
dataset/ETHPy150Open ufora/ufora/ufora/FORA/test/ValidatePerf.py/evalTimingsForModuleMember/original