Libraryless. Click here for Pure Java version (4282L/28K).
1 | svoid dm_benchAndProfileForNSeconds(int seconds, Runnable r) { |
2 | dm_showPoorMansProfile(r { benchForNSeconds(r, seconds) }); |
3 | } |
4 | |
5 | static <A> A dm_benchAndProfileForNSeconds(int seconds, IF0<A> f) { |
6 | ret dm_showPoorMansProfile(() -> benchForNSeconds(seconds, f)); |
7 | } |
Began life as a copy of #1029085
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029289 |
Snippet name: | dm_benchAndProfileForNSeconds |
Eternal ID of this version: | #1029289/4 |
Text MD5: | 7dc20d2404e00784a806fed5bed5eeb6 |
Transpilation MD5: | e0d3b069a8182f25c06931c5caab5737 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-30 00:11:19 |
Source code size: | 269 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 203 / 288 |
Version history: | 3 change(s) |
Referenced in: | [show references] |