static long returnTimeFor(int n, O f) { long time = sysNow(); for i to n: callF(f); ret ratio(sysNow()-time, n); } static long returnTimeFor(Runnable f) { ret returnTimeFor(1, f); }