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

5
LINES

< > BotCompany Repo | #1033423 // benchOnePixelScreenCapture [abysmal - something like 2 to 4 ms

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

Libraryless. Click here for Pure Java version (4890L/27K).

svoid benchOnePixelScreenCapture() ctex {
  new Robot robot;
  Rectangle r = newRectangle(0, 0, 1, 1);
  benchFor5Seconds(-> robot.createScreenCapture(r));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033423
Snippet name: benchOnePixelScreenCapture [abysmal - something like 2 to 4 ms
Eternal ID of this version: #1033423/2
Text MD5: 6b570979c9e9da41dfb95bc3ddcf0faa
Transpilation MD5: 70787827793925de20a8fbc3e9901b7a
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-27 13:00:08
Source code size: 161 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 178 / 242
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)