Async profiler helper script
Async profiler helper script

Pass in the profiler type and the time to run the profiling and it will generate a timestamped and type named html file in tmp (or different file format if specified).

usage: `asyncProfilerLauncher.sh cpu 60` or `asyncProfilerLauncher.sh alloc 120 svg`
Profiling type/event is required, see https://github.com/jvm-profiling-tools/async-profiler#profiler-options
Seconds to profile is required
Format to use defaults to html but can set it to svg
rmarsch/shell-scripts