diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-02-14 14:37:22 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-02-14 23:55:48 +0100 |
commit | 82ee0ff1b8e4cb5b90f619b6e77c37b6dbd33bc2 (patch) | |
tree | f8064fa580812030991273875b1374e3b998c2b5 /doc/api/perf_hooks.md | |
parent | 2ffd20bb917ee8265efc74696479c1e1f85c42f4 (diff) | |
download | android-node-v8-82ee0ff1b8e4cb5b90f619b6e77c37b6dbd33bc2.tar.gz android-node-v8-82ee0ff1b8e4cb5b90f619b6e77c37b6dbd33bc2.tar.bz2 android-node-v8-82ee0ff1b8e4cb5b90f619b6e77c37b6dbd33bc2.zip |
2018-02-14, Version 11.10.0 (Current)
Notable changes:
deps:
* Updated libuv to 1.26.0.
* Updated npm to 6.7.0.
http, http2:
* `response.writeHead` now returns the response object.
perf_hooks:
* Implemented a histogram based API.
process:
* Exposed `process.features.inspector`.
repl:
* Added `repl.setupHistory` for programmatic repl.
tls:
* Introduced client "session" event.
PR-URL: https://github.com/nodejs/node/pull/26098
Diffstat (limited to 'doc/api/perf_hooks.md')
-rw-r--r-- | doc/api/perf_hooks.md | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/api/perf_hooks.md b/doc/api/perf_hooks.md index dd65c0d0bf..687cdae3aa 100644 --- a/doc/api/perf_hooks.md +++ b/doc/api/perf_hooks.md @@ -400,7 +400,7 @@ is equal to `type`. ## perf_hooks.monitorEventLoopDelay([options]) <!-- YAML -added: REPLACEME +added: v11.10.0 --> * `options` {Object} @@ -434,13 +434,13 @@ console.log(h.percentile(99)); ### Class: Histogram <!-- YAML -added: REPLACEME +added: v11.10.0 --> Tracks the event loop delay at a given sampling rate. #### histogram.disable() <!-- YAML -added: REPLACEME +added: v11.10.0 --> * Returns: {boolean} @@ -450,7 +450,7 @@ stopped, `false` if it was already stopped. #### histogram.enable() <!-- YAML -added: REPLACEME +added: v11.10.0 --> * Returns: {boolean} @@ -460,7 +460,7 @@ started, `false` if it was already started. #### histogram.exceeds <!-- YAML -added: REPLACEME +added: v11.10.0 --> * {number} @@ -470,7 +470,7 @@ loop delay threshold. #### histogram.max <!-- YAML -added: REPLACEME +added: v11.10.0 --> * {number} @@ -479,7 +479,7 @@ The maximum recorded event loop delay. #### histogram.mean <!-- YAML -added: REPLACEME +added: v11.10.0 --> * {number} @@ -488,7 +488,7 @@ The mean of the recorded event loop delays. #### histogram.min <!-- YAML -added: REPLACEME +added: v11.10.0 --> * {number} @@ -497,7 +497,7 @@ The minimum recorded event loop delay. #### histogram.percentile(percentile) <!-- YAML -added: REPLACEME +added: v11.10.0 --> * `percentile` {number} A percentile value between 1 and 100. @@ -507,7 +507,7 @@ Returns the value at the given percentile. #### histogram.percentiles <!-- YAML -added: REPLACEME +added: v11.10.0 --> * {Map} @@ -516,14 +516,14 @@ Returns a `Map` object detailing the accumulated percentile distribution. #### histogram.reset() <!-- YAML -added: REPLACEME +added: v11.10.0 --> Resets the collected histogram data. #### histogram.stddev <!-- YAML -added: REPLACEME +added: v11.10.0 --> * {number} |