Last active
March 8, 2016 17:22
-
-
Save sadedv/9e4ee1483ed97b8192e3 to your computer and use it in GitHub Desktop.
Timer таймер
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 start = System.currentTimeMillis(); | |
//write your code here | |
long timeSpent = System.currentTimeMillis() - start; | |
System.out.println(timeSpent + " ms"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment