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

9
LINES

< > BotCompany Repo | #1025488 // Run miniBench a lot (e.g. as an isolated CPU test)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (3462L/23K).

!7

p {
  noRegularGC();
  print(processID());
  repeat with sleep 1 {
    System.out.println(formatDouble(miniBench()/1000.0, 3) + " µs");
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, omdjrrnzbjjv, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025488
Snippet name: Run miniBench a lot (e.g. as an isolated CPU test)
Eternal ID of this version: #1025488/3
Text MD5: 5f168822c47d3d49f552b321e155b667
Transpilation MD5: e5d67e691d6db65b08676b1a58623297
Author: stefan
Category: javax / benchmarking
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-30 23:57:05
Source code size: 154 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 596
Version history: 2 change(s)
Referenced in: [show references]