Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

The code below returns the execution time in seconds.

import time

start = time.time()
for i in range(1000):
    x = i * i
end = time.time()
print(end - start)
0.0002493858337402344