def matmul_numpy(x, y): return np.dot(x, y) # Warmup _ = matmul_numpy(x_np, y_np) # Timed run start = time.perf_counter() result_np = matmul_numpy(x_np, y_np) numpy_time = time.perf_counter() - start print(f"NumPy time: {numpy_time:.4f} seconds") __ __