Created
September 17, 2012 19:43
-
-
Save dadoonet/3739341 to your computer and use it in GitHub Desktop.
ParisJUG_2012_09_11
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
public class Client { | |
public static void main(String[] args) { | |
int NBTEST = 100; | |
long all = 0; | |
for (int i=0; i < NBTEST; i++) { | |
long start = System.nanoTime(); | |
c1(); | |
all += System.nanoTime() - start; | |
} | |
System.out.println("Mean: " + all / NBTEST); | |
} | |
public static void c1() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment