generate-*
functions.width
and height
options.:transform <fn>
capability to specify a custom transform function to
post-process the collected stacks.:threads true
option to generate stacks for each thread separately.:pid <PID>
argument to any profiling function.:event :wall
to the profiling command.profile
generating flamegraph twice.pid
argument.
Instead, they now retrieve :pid
value from the option map. If the value is
not present, use the current process as profiler target.options
map for each user-facing function.profile
macro which runs the profiler exactly for the duration of
body
.profile-for
no longer returns a future, instead it blocks the
current thread for the specified duration. You can still wrap this call in
(future ...)
manually if needed.New options for stop
and profile-for
:
:min-width
- a number in pixels to limit the minimal width of a stackframe.
Use this if the resulting flamegraph is too big and hangs your browser.
Recommended value is from 1 to 5.:reverse?
- if true, generate the reverse flamegraph which grows from
callees up to callers.:icicle?
- if true, invert the flamegraph upside down.The initial release of clj-async-profiler. Includes the ability to start and stop the profiler manually, profile for a period of time, and generate flamegraphs from the profiled data.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close