. (, ) , . -, , , , . Java:
long start = System.currentTimeMillis(); //get the start time
runBenchmarkFunction();
System.out.println("Run took " + (System.currentTimeMillis() - start) + " ms");
, . , 0 ( ). , , . , System.currentTimeMillis . , " ", sin ln, .