  .addExponentialBins(20e3, 20);

  const SUMMARY_OPTIONS = {
    avg: true,
    count: false,
    max: false,
    min: false,
    std: false,
    sum: false,
  };

  function addSamplesToHistogram(pairInfo, breakdownTree, histogram, histograms,
      diagnostics) {
    histogram.addSample(pairInfo.end - pairInfo.start, diagnostics);
    if (!breakdownTree) {
      return;
    }
    for (const [category, breakdown] of Object.entries(breakdownTree)) {
      const relatedName = `${histogram.name}:${category}`