Skip to content

Instantly share code, notes, and snippets.

@dom96
Created May 31, 2010 17:32
Show Gist options
  • Save dom96/420054 to your computer and use it in GitHub Desktop.
Save dom96/420054 to your computer and use it in GitHub Desktop.
import times
proc longRun(i: int) =
if i < 9999999999:
longRun(i + 1)
var t = getStartmilsecs()
for i in 0 .. 5:
longRun(0)
var t1 = getStartmilsecs()
echo(t1 - t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment