Download Jar. Libraryless. Click here for Pure Java version (17776L/125K).
!7 p-tt { centerHigherConsole(); poorMansProfiling(100); // sample threads every 100 ms time "Do the work" { allIndexedWebs(); // loads a whole lot of stuff } MultiSet<S> samples = poorMansProfiling_stopAndSaveResults(); print("Have " + samples.uniqueSize() + " unique stack traces, " + samples.size() + " total samples"); poorMansProfiling_printInnermostFunctions(); }
Began life as a copy of #1011571
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011717 |
Snippet name: | "Poor Man's Profiling" Demo (not very poor at all!) |
Eternal ID of this version: | #1011717/7 |
Text MD5: | 2251df44cc1a10408dd6baeeae72c27e |
Transpilation MD5: | 93316db4266514f38dbf13c7ccc925aa |
Author: | stefan |
Category: | javax / profiling |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-22 17:38:36 |
Source code size: | 409 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 699 / 1488 |
Version history: | 6 change(s) |
Referenced in: | #1011723 - Test websMadeByProgram_parallel |