markrmiller edited a comment on pull request #365:
URL: https://github.com/apache/lucene/pull/365#issuecomment-937821168


   ### Built in Profilers
   
   You can see which are available to you and properly configured via ` 
./jmh.sh -lprof`
   
   - Linux perf c2c profiler (shared C2C/HITM analysis. Allows you to track 
down cache-line contentions)
   - DTrace profile provider + PrintAssembly Profiler (OSX)
   - async-profiler profiler provider (flamegraphs, jfr output)
   - Linux perf + PrintAssembly Profiler (perfasm)
   - Simple and naive Java stack profiler
   - Linux perf Statistics
   - Linux perf statistics, normalized by operation count
   - Windows xperf + PrintAssembly Profiler
   - Pauses profiler
   - JIT compiler profiling via standard MBeans
   - Classloader profiling via standard MBeans
   - GC profiling via standard MBeans
   - Safepoints profiler
   - Java Flight Recorder profiler
   
   ### External Custom Profilers can be plugged in.
   See https://github.com/nicoulaj/jmh-utils/tree/master/jmh-profilers for 
examples of:
   - flight-recorder
   - heapaudit
   - honest-profiler
   - jhiccup
   - solaris-studio
   - yourkit
   
   Here you might find the following profiler interesting 
https://github.com/cache2k/cache2k-benchmark/tree/master/jmh-suite/src/main/java/org/cache2k/benchmark/jmh
   - ForcedGcMemoryProfiler
   
   ### I like to sometimes dump heaps and gc logs and hotspot logs from 
benchmarks. If you do too, you might find the following interesting.
   - https://github.com/mgm3746/garbagecat (cmd line gc log 
analysis/reccomendation tool)
   - https://www.eclipse.org/mat/ (optionally cmd line)
   - JOverflow from 
https://www.oracle.com/java/technologies/jdk-mission-control.html (great GUI 
option, and if one digs and pulls into the depths, great hidden cmd line option)
   - https://jxray.com/ (cmd line heap dump / reccomendation tool)
   - https://github.com/AdoptOpenJDK/jitwatch (Log analyser and visualiser for 
the HotSpot JIT compiler.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to