I made an assumption that there would be a
Duration.now() or similar, but didn’t find one, so my code has
System.nanoTime().nanoseconds in various places.
Request: a standard way to get the current duration for all sorts of relative duration measurements at whatever is the best granularity the system can provide. My current method feels very java-specific.