Skip to content

Commit af0f0a0

Browse files
RaisinTenruyadorno
authored andcommitted
doc: fix percentile range in perf_hooks.md
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>
1 parent c7dd9c8 commit af0f0a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/perf_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ The minimum recorded event loop delay.
760760
added: v11.10.0
761761
-->
762762

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

766766
Returns the value at the given percentile.

0 commit comments

Comments
 (0)