minus-squareM4mb0@fediverser.communick.devBtoPython@fediverser.communick.dev•TIL that datetime.utcnow() is faster than datetime.now()linkfedilinkEnglisharrow-up1·1 year agoTry this one: results["now()"] = timeit.timeit( setup="import datetime; now=datetime.datetime.now", stmt="now()", number=number ) linkfedilink
Try this one: