Download Jar. Libraryless. Click here for Pure Java version (3462L/23K).
1 | !7 |
2 | |
3 | p { |
4 | noRegularGC(); |
5 | print(processID()); |
6 | repeat with sleep 1 { |
7 | System.out.println(formatDouble(miniBench()/1000.0, 3) + " µs"); |
8 | } |
9 | } |
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: | 267 / 984 |
Version history: | 2 change(s) |
Referenced in: | [show references] |