@@ -808,7 +808,7 @@ performance.mark('test');
808
808
performance .mark (' meow' );
809
809
```
810
810
811
- ## ` perf_hooks.createHistogram([options] ) `
811
+ ## ` perf_hooks.createHistogram() `
812
812
813
813
<!-- YAML
814
814
added:
@@ -817,10 +817,11 @@ added:
817
817
-->
818
818
819
819
* ` options ` {Object}
820
- * ` min ` {number|bigint} The minimum recordable value. Must be an integer
820
+ * ` lowest ` {number|bigint} The lowest discernible value. Must be an integer
821
821
value greater than 0. ** Default:** ` 1 ` .
822
- * ` max ` {number|bigint} The maximum recordable value. Must be an integer
823
- value greater than ` min ` . ** Default:** ` Number.MAX_SAFE_INTEGER ` .
822
+ * ` highest ` {number|bigint} The highest recordable value. Must be an integer
823
+ value that is equal to or greater than two times ` min ` .
824
+ ** Default:** ` Number.MAX_SAFE_INTEGER ` .
824
825
* ` figures ` {number} The number of accuracy digits. Must be a number between
825
826
` 1 ` and ` 5 ` . ** Default:** ` 3 ` .
826
827
* Returns {RecordableHistogram}
@@ -870,6 +871,26 @@ console.log(h.percentile(99));
870
871
added: v11.10.0
871
872
-->
872
873
874
+ ### ` histogram.count `
875
+
876
+ <!-- YAML
877
+ added: REPLACEME
878
+ -->
879
+
880
+ * {number}
881
+
882
+ The number of samples recorded by the histogram.
883
+
884
+ ### ` histogram.countBigInt `
885
+
886
+ <!-- YAML
887
+ added: REPLACEME
888
+ -->
889
+
890
+ * {bigint}
891
+
892
+ The number of samples recorded by the histogram.
893
+
873
894
### ` histogram.exceeds `
874
895
875
896
<!-- YAML
@@ -881,6 +902,17 @@ added: v11.10.0
881
902
The number of times the event loop delay exceeded the maximum 1 hour event
882
903
loop delay threshold.
883
904
905
+ ### ` histogram.exceedsBigInt `
906
+
907
+ <!-- YAML
908
+ added: REPLACEME
909
+ -->
910
+
911
+ * {bigint}
912
+
913
+ The number of times the event loop delay exceeded the maximum 1 hour event
914
+ loop delay threshold.
915
+
884
916
### ` histogram.max `
885
917
886
918
<!-- YAML
@@ -891,6 +923,16 @@ added: v11.10.0
891
923
892
924
The maximum recorded event loop delay.
893
925
926
+ ### ` histogram.maxBigInt `
927
+
928
+ <!-- YAML
929
+ added: REPLACEME
930
+ -->
931
+
932
+ * {bigint}
933
+
934
+ The maximum recorded event loop delay.
935
+
894
936
### ` histogram.mean `
895
937
896
938
<!-- YAML
@@ -911,6 +953,16 @@ added: v11.10.0
911
953
912
954
The minimum recorded event loop delay.
913
955
956
+ ### ` histogram.minBigInt `
957
+
958
+ <!-- YAML
959
+ added: REPLACEME
960
+ -->
961
+
962
+ * {bigint}
963
+
964
+ The minimum recorded event loop delay.
965
+
914
966
### ` histogram.percentile(percentile) `
915
967
916
968
<!-- YAML
@@ -922,6 +974,17 @@ added: v11.10.0
922
974
923
975
Returns the value at the given percentile.
924
976
977
+ ### ` histogram.percentileBigInt(percentile) `
978
+
979
+ <!-- YAML
980
+ added: REPLACEME
981
+ -->
982
+
983
+ * ` percentile ` {number} A percentile value in the range (0, 100] .
984
+ * Returns: {bigint}
985
+
986
+ Returns the value at the given percentile.
987
+
925
988
### ` histogram.percentiles `
926
989
927
990
<!-- YAML
@@ -932,6 +995,16 @@ added: v11.10.0
932
995
933
996
Returns a ` Map ` object detailing the accumulated percentile distribution.
934
997
998
+ ### ` histogram.percentilesBigInt `
999
+
1000
+ <!-- YAML
1001
+ added: v11.10.0
1002
+ -->
1003
+
1004
+ * {Map}
1005
+
1006
+ Returns a ` Map ` object detailing the accumulated percentile distribution.
1007
+
935
1008
### ` histogram.reset() `
936
1009
937
1010
<!-- YAML
@@ -990,6 +1063,16 @@ added:
990
1063
- v14.18.0
991
1064
-->
992
1065
1066
+ ### ` histogram.add(other) `
1067
+
1068
+ <!-- YAML
1069
+ added: REPLACEME
1070
+ -->
1071
+
1072
+ * ` other ` {RecordableHistogram}
1073
+
1074
+ Adds the values from ` other ` to this histogram.
1075
+
993
1076
### ` histogram.record(val) `
994
1077
995
1078
<!-- YAML
0 commit comments