// returns minimal time needed static long benchFor5(S desc, Runnable r) { ret benchFor5Seconds(desc, r); } static long benchFor5(Runnable r) { ret benchFor5Seconds(r); } // returns result of function static <A> A benchFor5(S desc default str(f), IF0<A> f) { ret benchFor5Seconds(desc, f); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1033647 |
Snippet name: | benchFor5 - synonym of benchFor5Seconds |
Eternal ID of this version: | #1033647/1 |
Text MD5: | 01b6ad01a0b71d293d0d55a5e8e25717 |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-12-25 21:38:13 |
Source code size: | 309 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 159 / 209 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |