Libraryless. Click here for Pure Java version (4932L/27K).
1 | // returns minimal time needed |
2 | static long benchFor1(S desc, Runnable r) { |
3 | ret benchFor1Second(desc, r); |
4 | } |
5 | |
6 | |
7 | |
8 | static long lambda0Like benchFor1(Runnable r) { |
9 | ret benchFor1Second(r); |
10 | } |
11 | |
12 | |
13 | |
14 | // returns result of function |
15 | static <A> A benchFor1(S desc default str(f), IF0<A> f) { |
16 | ret benchFor1Second(desc, f); |
17 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033648 |
Snippet name: | benchFor1 - synonym of benchFor1Second |
Eternal ID of this version: | #1033648/3 |
Text MD5: | bc5b7a0b5933d71407f9bf6d09501e57 |
Transpilation MD5: | 7c70ec2fed031440c834c8459f9d28dd |
Author: | someone |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-12-29 15:46:54 |
Source code size: | 328 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 174 / 241 |
Version history: | 2 change(s) |
Referenced in: | [show references] |