Skip to content

Commit 54433de

Browse files
chore: split token efficiency benchmark into mixed/flat tracks
1 parent e228843 commit 54433de

File tree

13 files changed

+573
-1836
lines changed

13 files changed

+573
-1836
lines changed

README.md

Lines changed: 275 additions & 181 deletions
Large diffs are not rendered by default.

benchmarks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Benchmarks measuring TOON's **token efficiency** and **retrieval accuracy** comp
99

1010
```bash
1111
# Run token efficiency benchmark
12-
pnpm benchmark:token-efficiency
12+
pnpm benchmark:tokens
1313

1414
# Run retrieval accuracy benchmark (requires API keys)
1515
pnpm benchmark:accuracy
@@ -25,7 +25,7 @@ Measures token count reduction across JSON, XML, YAML, CSV, and TOON:
2525
4. Calculate savings and generate report
2626

2727
```bash
28-
pnpm benchmark:token-efficiency
28+
pnpm benchmark:tokens
2929
```
3030

3131
Results are saved to `results/token-efficiency.md`.

benchmarks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"private": true,
55
"scripts": {
6-
"benchmark:token-efficiency": "tsx scripts/token-efficiency-benchmark.ts",
6+
"benchmark:tokens": "tsx scripts/token-efficiency-benchmark.ts",
77
"benchmark:accuracy": "tsx --env-file=.env scripts/accuracy-benchmark.ts",
88
"fetch:github-repos": "tsx scripts/fetch-github-repos.ts"
99
},

0 commit comments

Comments
 (0)