Skip to content

bench: add gcd benchmark case#43

Open
Sharjeelbaig wants to merge 1 commit into
vercel-labs:mainfrom
Sharjeelbaig:sharjeel/gcd-benchmark
Open

bench: add gcd benchmark case#43
Sharjeelbaig wants to merge 1 commit into
vercel-labs:mainfrom
Sharjeelbaig:sharjeel/gcd-benchmark

Conversation

@Sharjeelbaig
Copy link
Copy Markdown

@Sharjeelbaig Sharjeelbaig commented May 17, 2026

Summary

  • add a small gcd Zero benchmark case
  • register the case in the benchmark harness
  • document the new benchmark in the public benchmark docs

Closes #8

Validation

  • make -C native/zero-c
  • bin/zero check --json benchmarks/zero/gcd.0
  • npm run docs:test
  • bin/zero build --json --emit exe --target linux-musl-x64 benchmarks/zero/gcd.0 --out .zero/bench/zero-gcd-linux

ZERO_BENCH_RUNS=1 npm run bench was attempted locally on macOS arm64 but does not complete there: existing executable cases hit the Darwin dyld: missing LC_UUID load command issue tracked in #28. The new gcd case was also checked against the Linux direct executable backend, where it builds successfully.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

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

A member of the Team first needs to authorize it.

@Sharjeelbaig Sharjeelbaig force-pushed the sharjeel/gcd-benchmark branch 3 times, most recently from 26cd757 to f1a5cc9 Compare May 17, 2026 14:15
@Sharjeelbaig Sharjeelbaig force-pushed the sharjeel/gcd-benchmark branch from 068ea82 to 3f4ff18 Compare May 17, 2026 14:16
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.

Add small agent-oriented math and transform benchmark cases

1 participant