from timeit import default_timer as timer from ctypes import * proot = CDLL("./fastproot/target/debug/fastproot.dll") start = timer() proot.test() end = timer() print(end - start)