histogram.percentilesAt(percentiles)


  • percentiles <number[]> 一个位于 (0, 100] 范围内的百分位值数组。
  • 返回:<Map> 百分位值对应直方图值的地图。

返回指定百分位的值,通过对直方图数据进行一次高效遍历计算出来的。比多次调用 histogram.percentile() 更高效。

🌐 Returns the values at the specified percentiles, computed in a single efficient pass over the histogram data. More efficient than calling histogram.percentile() multiple times.