
      benchmarkReocrd?.value?.modelInfo?.model !== 'codeSnippet'?
          'Model' : 'Code Snippet';
    return `${benchmarkCategory} (${benchmarkReocrd?.value?.modelInfo?.backend})`;
  }

  /**
   * Returns the combination between device os and device name.
   *
   * Example: 'OS X(Monterey) safari15.3', 'android(12.0) Google Pixel 5'.
   */
  function getDeviceName(benchmarkReocrd) {
    let deviceInfo = benchmarkReocrd?.value?.deviceInfo || {};
    return `${deviceInfo.os}(${deviceInfo.os_version})  ${