docs: update benchmarks table

This commit is contained in:
Johann Schopplich
2025-10-24 17:53:35 +02:00
parent e8dc188214
commit 607926ca61
3 changed files with 9 additions and 9 deletions

View File

@@ -192,13 +192,13 @@ ${encodeToon(example.data)}
.join('\n\n')
const markdown = `
| Example | JSON | TOON | Saved | Reduction |
|---------|------|------|-------|-----------|
| Example | JSON | TOON | Tokens Saved | Reduction |
| ------- | ---- | ---- | ------------ | --------- |
${summaryRows}
| **Total** | **${totalJsonTokens}** | **${totalToonTokens}** | **${totalSavings}** | **${totalSavingsPercent}%** |
<details>
<summary><strong>View detailed examples</strong></summary>
<summary><strong>View detailed results</strong></summary>
${detailedExamples}