Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1029085 // dm_benchAndProfileFor5Seconds

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4266L/28K).

svoid dm_benchAndProfileFor5Seconds(Runnable r) {
  dm_showPoorMansProfile(r { benchFor5Seconds(r) });
}

static <A> A dm_benchAndProfileFor5Seconds(IF0<A> f) {
  ret dm_showPoorMansProfile(() -> benchFor5Seconds(f));
}

Author comment

Began life as a copy of #1018495

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: #1029085
Snippet name: dm_benchAndProfileFor5Seconds
Eternal ID of this version: #1029085/6
Text MD5: d5f1fe4b14dad8d38e4bfa1744be8b60
Transpilation MD5: e9d25d9bd4dc97cd6d68d293db890ecf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-19 02:32:31
Source code size: 225 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 175 / 275
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1029289 - dm_benchAndProfileForNSeconds