Libraryless. Click here for Pure Java version (44L/1K).
1 | static int miniBench_uselessValue; |
2 | static long miniBench_nanoseconds; |
3 | |
4 | // returns nanoseconds taken |
5 | static long miniBench() { |
6 | long time = nanoTime(); |
7 | miniBench_uselessValue = aUselessCalculationForBenchmarking(); |
8 | ret miniBench_nanoseconds = nanoTime()-time; |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025487 |
Snippet name: | miniBench |
Eternal ID of this version: | #1025487/2 |
Text MD5: | 34baadec4f5405cbff2936f6a7264d8d |
Transpilation MD5: | cb7169c89f3a08a41900447860d36559 |
Author: | stefan |
Category: | javax / image analysis |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-09-30 23:48:02 |
Source code size: | 273 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 188 / 262 |
Version history: | 1 change(s) |
Referenced in: | [show references] |