Libraryless. Click here for Pure Java version (4143L/24K).
// returns result of function static <A> A benchForSeconds(double n, S desc default str(f), IF0<A> 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); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033241 |
Snippet name: | benchForSeconds - synonym of benchForNSeconds |
Eternal ID of this version: | #1033241/4 |
Text MD5: | e87fab2142028cc7f258bfc6bd1597ab |
Transpilation MD5: | 247981a7523ea354a1f6dcc554912743 |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-16 08:28:15 |
Source code size: | 418 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 162 / 234 |
Version history: | 3 change(s) |
Referenced in: | [show references] |