PerfLogger currently make use of System.currentTimeMillis for timing the performance. It would be better to make use of System.nanoTime.
You should always try to use nanoTime to do timing measurement or calculation
This would provide following benefits
- Simpler integration with Metric stats support which makes use of nanoTime
- No possibility of drift i.e. currentTimeMillis going back in time