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

14
LINES

< > BotCompany Repo | #1013044 // text_tenSecondProfile

JavaX fragment (include)

static S text_tenSecondProfile() {
  {
    lock poorMansProfiling_lock;
    if (poorMansProfiling_isOn()) ret "Already profiling";
    poorMansProfiling();
  }
  try {
    sleep(10*1000 + poorMansProfiling_defaultInterval());
    ret "10 Second Profile [" + localTime_24() + "]\n\n"
      + poorMansProfiling_stopAndRenderResults();
  } finally {
    poorMansProfiling_stop();
  }
}

Author comment

Began life as a copy of #1012819

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1013044
Snippet name: text_tenSecondProfile
Eternal ID of this version: #1013044/6
Text MD5: 16c9d3e6a9e7fb7505c03bf7f9d4ac04
Author: stefan
Category: javax / profiling / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-25 05:18:36
Source code size: 395 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 403 / 452
Version history: 5 change(s)
Referenced in: [show references]