Skip to content

Instantly share code, notes, and snippets.

@Bennyelg
Created September 15, 2018 09:48
Show Gist options
  • Save Bennyelg/ddaef14d2757ac41b87f71f957b16061 to your computer and use it in GitHub Desktop.
Save Bennyelg/ddaef14d2757ac41b87f71f957b16061 to your computer and use it in GitHub Desktop.
import singleton
import times
import strformat
for _ in countup(1, 3):
var start = now()
echo("Starting test..")
echo(singletonInstance.value)
echo(fmt"took: {(now() - start).milliseconds}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment