Liking cljdoc? Tell your friends :D

clj-chrome-devtools.commands.heap-profiler


add-inspected-heap-objectclj

(add-inspected-heap-object)
(add-inspected-heap-object {:as params :keys [heap-object-id]})
(add-inspected-heap-object connection {:as params :keys [heap-object-id]})

Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).

Parameters map keys:

KeyDescription
:heap-object-idHeap snapshot object id to be accessible by means of $x command line API.
Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).

Parameters map keys:


  Key             | Description 
  ----------------|------------ 
  :heap-object-id | Heap snapshot object id to be accessible by means of $x command line API.
sourceraw docstring

collect-garbageclj

(collect-garbage)
(collect-garbage {:as params :keys []})
(collect-garbage connection {:as params :keys []})
sourceraw docstring

disableclj

(disable)
(disable {:as params :keys []})
(disable connection {:as params :keys []})
sourceraw docstring

enableclj

(enable)
(enable {:as params :keys []})
(enable connection {:as params :keys []})
sourceraw docstring

get-heap-object-idclj

(get-heap-object-id)
(get-heap-object-id {:as params :keys [object-id]})
(get-heap-object-id connection {:as params :keys [object-id]})

Parameters map keys:

KeyDescription
:object-idIdentifier of the object to get heap object id for.

Return map keys:

KeyDescription
:heap-snapshot-object-idId of the heap snapshot object corresponding to the passed remote object id.

Parameters map keys:


  Key        | Description 
  -----------|------------ 
  :object-id | Identifier of the object to get heap object id for.

Return map keys:


  Key                      | Description 
  -------------------------|------------ 
  :heap-snapshot-object-id | Id of the heap snapshot object corresponding to the passed remote object id.
sourceraw docstring

get-object-by-heap-object-idclj

(get-object-by-heap-object-id)
(get-object-by-heap-object-id {:as params :keys [object-id object-group]})
(get-object-by-heap-object-id connection
                              {:as params :keys [object-id object-group]})

Parameters map keys:

KeyDescription
:object-idnull
:object-groupSymbolic group name that can be used to release multiple objects. (optional)

Return map keys:

KeyDescription
:resultEvaluation result.

Parameters map keys:


  Key           | Description 
  --------------|------------ 
  :object-id    | null
  :object-group | Symbolic group name that can be used to release multiple objects. (optional)

Return map keys:


  Key     | Description 
  --------|------------ 
  :result | Evaluation result.
sourceraw docstring

start-samplingclj

(start-sampling)
(start-sampling {:as params :keys [sampling-interval]})
(start-sampling connection {:as params :keys [sampling-interval]})

Parameters map keys:

KeyDescription
:sampling-intervalAverage sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes. (optional)

Parameters map keys:


  Key                | Description 
  -------------------|------------ 
  :sampling-interval | Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes. (optional)
sourceraw docstring

start-tracking-heap-objectsclj

(start-tracking-heap-objects)
(start-tracking-heap-objects {:as params :keys [track-allocations]})
(start-tracking-heap-objects connection {:as params :keys [track-allocations]})

Parameters map keys:

KeyDescription
:track-allocationsnull (optional)

Parameters map keys:


  Key                | Description 
  -------------------|------------ 
  :track-allocations | null (optional)
sourceraw docstring

stop-samplingclj

(stop-sampling)
(stop-sampling {:as params :keys []})
(stop-sampling connection {:as params :keys []})

Return map keys:

KeyDescription
:profileRecorded sampling heap profile.

Return map keys:


  Key      | Description 
  ---------|------------ 
  :profile | Recorded sampling heap profile.
sourceraw docstring

stop-tracking-heap-objectsclj

(stop-tracking-heap-objects)
(stop-tracking-heap-objects {:as params :keys [report-progress]})
(stop-tracking-heap-objects connection {:as params :keys [report-progress]})

Parameters map keys:

KeyDescription
:report-progressIf true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped. (optional)

Parameters map keys:


  Key              | Description 
  -----------------|------------ 
  :report-progress | If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped. (optional)
sourceraw docstring

take-heap-snapshotclj

(take-heap-snapshot)
(take-heap-snapshot {:as params :keys [report-progress]})
(take-heap-snapshot connection {:as params :keys [report-progress]})

Parameters map keys:

KeyDescription
:report-progressIf true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. (optional)

Parameters map keys:


  Key              | Description 
  -----------------|------------ 
  :report-progress | If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. (optional)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close