Jon Haddad <j...@jonhaddad.com> 於 2019年12月12日 週四 上午12:42寫道:

> I'm not sure how you're measuring this - could you share your benchmarking
> code?
>
>> s the details of theri?
>>
>
start = time.time()
for i in range(40960):
    prep = session.prepare(query, (args))
    session.execute(prep) # or session.execute_async(prep)
print('time', time.time()-start)

Just like above code snippet.
I almost cost time by execute_async()   more than normal execute().

Reply via email to