Libraryless. Click here for Pure Java version (8791L/50K).
static <A> A profileSingleThreadToConsole(IF0<A> f) { if (f == null) null; temp tempProfileSingleThreadToConsole(); ret f!; } svoid profileSingleThreadToConsole(Runnable r) { if (r == null) ret; temp tempProfileSingleThreadToConsole(); r.run(); }
Began life as a copy of #1017986
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035053 |
Snippet name: | profileSingleThreadToConsole |
Eternal ID of this version: | #1035053/1 |
Text MD5: | 6f133898fc3b21f619b80bb8f8a21f8a |
Transpilation MD5: | ebdf01c38f7d2d2a12e43840d2a917ac |
Author: | stefan |
Category: | javax / profiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-26 02:34:54 |
Source code size: | 269 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 151 / 203 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1035153 - profileFor5 - profile single thread for 5 seconds (repeating the code to be tested) |