Download Jar. Libraryless. Click here for Pure Java version (1385L/9K).
!7 sclass dummy {} static dummy bla; p { int n = 100000000; twice { time { repeat n { bla = new dummy; } }} printBenchResult(n); twice { time { repeat n { bla = nuEmptyObject(dummy); } }} printBenchResult(n); }
Began life as a copy of #1018501
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018548 |
Snippet name: | Benchmark nuEmptyObject |
Eternal ID of this version: | #1018548/4 |
Text MD5: | cd980218ab82b5e32cda0a0c40c6e124 |
Transpilation MD5: | 50c0801f574925b174b992c7e99e612e |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-05 13:30:38 |
Source code size: | 279 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 357 / 905 |
Version history: | 3 change(s) |
Referenced in: | -