Skip to content

bench: add stats, token-count, and safe-div benchmark cases#61

Open
Aditya251610 wants to merge 2 commits into
vercel-labs:mainfrom
Aditya251610:aditya/bench-agent-math-transforms
Open

bench: add stats, token-count, and safe-div benchmark cases#61
Aditya251610 wants to merge 2 commits into
vercel-labs:mainfrom
Aditya251610:aditya/bench-agent-math-transforms

Conversation

@Aditya251610
Copy link
Copy Markdown

Adds three small agent-oriented benchmarks from #8:

  • stats — min/max/sum over a fixed buffer (loops, arrays, comparisons)
  • token-count — delimiter/token scan over a string span (byte scanning)
  • safe-div — typed error path with rescue on division by zero (fallibility)

Each follows the existing benchmark pattern: tight loop, deterministic result, expected
stdout.

Addresses #8

@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

@Aditya251610 is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@Aditya251610
Copy link
Copy Markdown
Author

Now this should close the issue #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant