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

9
LINES

< > BotCompany Repo | #1035052 // tempProfileSingleThreadToConsole

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

Libraryless. Click here for Pure Java version (8776L/50K).

static AutoCloseable tempProfileSingleThreadToConsole() {
  new SingleThreadProfiler profiler;
  profiler.start();
  ret -> {
    profiler.stop();
    print(profiler.renderFullResults(true));
    profiler.close();
  };
}

Author comment

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: #1035052
Snippet name: tempProfileSingleThreadToConsole
Eternal ID of this version: #1035052/2
Text MD5: 61eace021d98e4ba6c0ffc49cfacfdf4
Transpilation MD5: 3785d6b218cef8da30735d7a1bad960c
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:17
Source code size: 228 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 68 / 102
Version history: 1 change(s)
Referenced in: [show references]