Spring Framework Example - meature time using StopWatch
|Top Tutorials||New Tutorials||Submit||Login||Register|
Total Hits: 14509
Total Votes: 140 votes
Submitted on: 2012-08-25 08:31:58
Submitted By: Javin Paul
Description:There are two ways to measure execution time of a method or code block in Java. System.nanoTime() and System.currentTimeInMillis() which can be used to calculate difference between two time interval which can than be used to measure execution time of any method or code block. More detail...