(disable)
(disable {:as params :keys []})
(disable connection {:as params :keys []})
(enable)
(enable {:as params :keys []})
(enable connection {:as params :keys []})
(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:
Key | Description |
---|---|
:result | Coverage 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.
(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:
Key | Description |
---|---|
:interval | New 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.
(start)
(start {:as params :keys []})
(start connection {:as params :keys []})
(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:
Key | Description |
---|---|
:call-count | Collect 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)
(stop)
(stop {:as params :keys []})
(stop connection {:as params :keys []})
Return map keys:
Key | Description |
---|---|
:profile | Recorded profile. |
Return map keys: Key | Description ---------|------------ :profile | Recorded profile.
(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.
(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:
Key | Description |
---|---|
:result | Coverage 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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close