ory.Memory.GPU.PeakMemoryUsage')) {
      return tr.v.HistogramBinBoundaries.createLinear(0, 1e6, 100);
    }

    return tr.v.HistogramBinBoundaries.createExponential(1e-3, 1e3, 50);
  }

  function umaMetric(histograms, model) {
    const histogramValues = new Map();
    const nameCounts = new Map();
    for (const process of model.getAllProcesses()) {
      const histogramEvents = new Map();
      for (const event of process.instantEvents) {
        if (event.title !== 'UMAHistogramSamples') continue;
  