Liking cljdoc? Tell your friends :D

clj-chrome-devtools.commands.profiler


disableclj

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

enableclj

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

get-best-effort-coverageclj

(get-best-effort-coverage)
(get-best-effort-coverage {:as params :keys []})
(get-best-effort-coverage connection {:as params :keys []})

Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.

Return map keys:

KeyDescription
:resultCoverage data for the current isolate.
Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.

Return map keys:


  Key     | Description 
  --------|------------ 
  :result | Coverage data for the current isolate.
raw docstring

set-sampling-intervalclj

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

Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.

Parameters map keys:

KeyDescription
:intervalNew sampling interval in microseconds.
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.

Parameters map keys:


  Key       | Description 
  ----------|------------ 
  :interval | New sampling interval in microseconds.
raw docstring

startclj

(start)
(start {:as params :keys []})
(start connection {:as params :keys []})
raw docstring

start-precise-coverageclj

(start-precise-coverage)
(start-precise-coverage {:as params :keys [call-count]})
(start-precise-coverage connection {:as params :keys [call-count]})

Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.

Parameters map keys:

KeyDescription
:call-countCollect accurate call counts beyond simple 'covered' or 'not covered'. (optional)
Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.

Parameters map keys:


  Key         | Description 
  ------------|------------ 
  :call-count | Collect accurate call counts beyond simple 'covered' or 'not covered'. (optional)
raw docstring

stopclj

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

Return map keys:

KeyDescription
:profileRecorded profile.

Return map keys:


  Key      | Description 
  ---------|------------ 
  :profile | Recorded profile.
raw docstring

stop-precise-coverageclj

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

Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.

Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
raw docstring

take-precise-coverageclj

(take-precise-coverage)
(take-precise-coverage {:as params :keys []})
(take-precise-coverage connection {:as params :keys []})

Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.

Return map keys:

KeyDescription
:resultCoverage data for the current isolate.
Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.

Return map keys:


  Key     | Description 
  --------|------------ 
  :result | Coverage data for the current isolate.
raw docstring

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

× close