1 | // returns minimal time needed |
2 | static long benchFor5(S desc, Runnable r) { |
3 | ret benchFor5Seconds(desc, r); |
4 | } |
5 | |
6 | |
7 | |
8 | static long benchFor5(Runnable r) { |
9 | ret benchFor5Seconds(r); |
10 | } |
11 | |
12 | |
13 | |
14 | // returns result of function |
15 | static <A> A benchFor5(S desc default str(f), IF0<A> f) { |
16 | ret benchFor5Seconds(desc, f); |
17 | } |
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: | 160 / 210 |
Referenced in: | [show references] |