Java time to run code in ns
<p>I am trying to find the time taken by the Java code to run, I am creating some huge object and want to track the time to the precision of nano seconds, if I use regular time stamp it says the code compiled in 0 seconds. Thanks</p>
