I am making a call to a method by passing ipAddress and it will return back the location of ipAddress like Country, City, etc etc. So I was trying to see how much time it is
In such a small cases where difference is less than 0 milliseconds you can get difference in nano seconds as well.
System.nanoTime()