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

11
LINES

< > BotCompany Repo | #1011702 // Benchmark nowUnlessLoading()

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

Download Jar. Libraryless. Click here for Pure Java version (925L/7K).

1  
!7
2  
3  
p {
4  
  long x;
5  
  twice { time {
6  
    repeat 1000000 {
7  
      x = dynamicObjectIsLoading() ? 0 : now();
8  
    }
9  
  }}
10  
  printBenchResult(1000000);
11  
}

Author comment

Began life as a copy of #1011701

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1011702
Snippet name: Benchmark nowUnlessLoading()
Eternal ID of this version: #1011702/3
Text MD5: 1118f252be529df701ab53091a365b8c
Transpilation MD5: 31814926e7c4bfada28516aacfcea764
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-02 08:06:45
Source code size: 155 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 405 / 713
Version history: 2 change(s)
Referenced in: [show references]