Skip to content

Commit

Permalink
doc: fix percentile range in perf_hooks.md
Browse files Browse the repository at this point in the history
The value accepted by histogram.percentile may be below 1 too.

PR-URL: #36938
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
RaisinTen authored and targos committed May 1, 2021
1 parent 2cbd72e commit d43492e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/perf_hooks.md
Expand Up @@ -758,7 +758,7 @@ The minimum recorded event loop delay.
added: v11.10.0
-->

* `percentile` {number} A percentile value between 1 and 100.
* `percentile` {number} A percentile value in the range (0, 100].
* Returns: {number}

Returns the value at the given percentile.
Expand Down

0 comments on commit d43492e

Please sign in to comment.