PERF: inline `Ratio(Duration, Duration)`

10 jobs for !934 with OptiTransformation in 12 minutes and 50 seconds (queued for 8 seconds)
latest merge request