// returns result of function static A benchForSeconds(double n, S desc default str(f), IF0 f) { ret benchForNSeconds(n, desc, f); } sO benchForSeconds(double n, S desc default str(r), Runnable r) { ret benchForNSeconds(n, desc, runnableToIF0(r)); } // returns minimal time needed static long benchForSeconds(S desc default str(r), Runnable r, double n) { ret benchForNSeconds(desc, r, n); }