clj-chrome-devtools.commands.memory

forcibly-purge-java-script-memory

(forcibly-purge-java-script-memory)(forcibly-purge-java-script-memory {:as params, :keys []})(forcibly-purge-java-script-memory connection {:as params, :keys []})

Simulate OomIntervention by purging V8 memory.

get-all-time-sampling-profile

(get-all-time-sampling-profile)(get-all-time-sampling-profile {:as params, :keys []})(get-all-time-sampling-profile connection {:as params, :keys []})

Retrieve native memory allocations profile collected since renderer process startup.

Return map keys:

Key Description
:profile null

get-browser-sampling-profile

(get-browser-sampling-profile)(get-browser-sampling-profile {:as params, :keys []})(get-browser-sampling-profile connection {:as params, :keys []})

Retrieve native memory allocations profile collected since browser process startup.

Return map keys:

Key Description
:profile null

get-dom-counters

(get-dom-counters)(get-dom-counters {:as params, :keys []})(get-dom-counters connection {:as params, :keys []})

Return map keys:

Key Description
:documents null
:nodes null
:js-event-listeners null

get-sampling-profile

(get-sampling-profile)(get-sampling-profile {:as params, :keys []})(get-sampling-profile connection {:as params, :keys []})

Retrieve native memory allocations profile collected since last startSampling call.

Return map keys:

Key Description
:profile null

prepare-for-leak-detection

(prepare-for-leak-detection)(prepare-for-leak-detection {:as params, :keys []})(prepare-for-leak-detection connection {:as params, :keys []})

set-pressure-notifications-suppressed

(set-pressure-notifications-suppressed)(set-pressure-notifications-suppressed {:as params, :keys [suppressed]})(set-pressure-notifications-suppressed connection {:as params, :keys [suppressed]})

Enable/disable suppressing memory pressure notifications in all processes.

Parameters map keys:

Key Description
:suppressed If true, memory pressure notifications will be suppressed.

simulate-pressure-notification

(simulate-pressure-notification)(simulate-pressure-notification {:as params, :keys [level]})(simulate-pressure-notification connection {:as params, :keys [level]})

Simulate a memory pressure notification in all processes.

Parameters map keys:

Key Description
:level Memory pressure level of the notification.

start-sampling

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

Start collecting native memory profile.

Parameters map keys:

Key Description
:sampling-interval Average number of bytes between samples. (optional)
:suppress-randomness Do not randomize intervals between samples. (optional)

stop-sampling

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

Stop collecting native memory profile.