Last active
October 25, 2017 18:13
-
-
Save isicju/3736064e7077de9537bb5213bba6b8e5 to your computer and use it in GitHub Desktop.
old-fashioned benchmarking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
long before = System.currentTimeMillis(); | |
doMagic(); | |
long now = System.currentTimeMillis(); | |
System.out.println("Seconds elapsed: " + (now-before)/1000F + " seconds." ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment