def test_cython_0(zz, num_type): time1 = time() a, b, c = test_cython.test_0(zz, num_type) run_time = time() - time1 print("Execution time of Cython on", str(num_type) , " ", run_time, " s") return([a, b, c, run_time])
def test_cython_0(zz): time1 = time() c = test_cython.test_0(zz) time2 = time() print("Execution time of Cython on float64: ", time2 - time1, "s")
def test_cython_0(zz): time1 = time() a, b, c = test_cython.test_0(zz, np.float64) run_time = time() - time1 print("Execution time of Cython on float64: ", run_time, "s") return([a, b, c, run_time])