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

9
LINES

< > BotCompany Repo | #1025487 // miniBench

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

Libraryless. Click here for Pure Java version (44L/1K).

static int miniBench_uselessValue;
static long miniBench_nanoseconds;

// returns nanoseconds taken
static long miniBench() {
  long time = nanoTime();
  miniBench_uselessValue = aUselessCalculationForBenchmarking();
  ret miniBench_nanoseconds = nanoTime()-time;
}

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: 187 / 260
Version history: 1 change(s)
Referenced in: [show references]