tTo('tr.ui.analysis', function() {
  const EVENT_FIELD = [
    {key: 'start', label: 'Start'},
    {key: 'cpuDuration', label: 'CPU Duration'},
    {key: 'duration', label: 'Duration'},
    {key: 'cpuSelfTime', label: 'CPU Self Time'},
    {key: 'selfTime', label: 'Self Time'}
  ];

  function buildDiagnostics_(slice) {
    const diagnostics = {};
    for (const item of EVENT_FIELD) {
      const fieldName = item.key;
      if (slice[fieldName] === undefined) continue;
      diagnostics[fieldName] = new tr.