3 lines
127 B
Java
3 lines
127 B
Java
long start = System.currentTimeMillis();
|
|
/* code you want to time, here */
|
|
long duration = System.currentTimeMillis() - start;
|