deviceInfo.device || deviceInfo.browser + deviceInfo.browser_version} `;
  }

  /**
   * Returns the codeSnippet or model name.
   *
   * Example: 'MobileNetV2'.
   */
  function getBenchmarkTargetName(benchmarkReocrd) {
    let benchmarkTargetName =
      benchmarkReocrd?.value?.modelInfo?.model;
      if (benchmarkTargetName === 'codeSnippet') {
        benchmarkTargetName = benchmarkReocrd?.value?.codeSnippet || 'NA'
      }
    return `${benchmarkTargetName.replaceAll('\n', '').replaceAll('\t', '')}`;
 