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

3
LINES

< > BotCompany Repo | #1035153 // profileFor5 - profile single thread for 5 seconds (repeating the code to be tested)

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

Libraryless. Click here for Pure Java version (9074L/51K).

svoid profileFor5(Runnable r) {
  profileSingleThreadToConsole(-> benchFor5(r));
}

Author comment

Began life as a copy of #1035053

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035153
Snippet name: profileFor5 - profile single thread for 5 seconds (repeating the code to be tested)
Eternal ID of this version: #1035153/1
Text MD5: 101a5641cc5a310bebf0e316219c22e0
Transpilation MD5: e5d578378b7645b260651d4d6ffe73c8
Author: stefan
Category: javax / profiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-04-02 16:03:17
Source code size: 84 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 135 / 186
Referenced in: [show references]