Favor System.nanoTime rather than System.currentTimeMillis for time interval measurements

Description

System.nanoTime is unable to provide an accurate "wall clock" (time of day) but is excellent and more efficient when the goal is to measure time intervals.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major