Skip to content

Add runtime poll and steal benchmarks#438

Merged
heartwilltell merged 2 commits into
mainfrom
codex/runtime-benchmarks
Apr 26, 2026
Merged

Add runtime poll and steal benchmarks#438
heartwilltell merged 2 commits into
mainfrom
codex/runtime-benchmarks

Conversation

@heartwilltell

Copy link
Copy Markdown
Contributor

Summary

  • add runtime work-steal and poll-delivery benchmark sources
  • collect benchmark results centrally and emit stable JSON to stdout
  • write the same results to bench-results.json by default, with RUN_BENCH_RESULTS available for a custom path

Fixes #412

Test Plan

  • zig fmt build.zig
  • clang-format -i benchmarks/runtime/bench_common.h benchmarks/runtime/bench_main.c benchmarks/runtime/bench_steal.c benchmarks/runtime/bench_poll.c
  • zig build
  • zig build test (passes with expected bad_check.run missing() negative diagnostic)
  • zig build test-runtime
  • zig build bench-runtime
  • jq validation of generated bench-results.json structure

@heartwilltell heartwilltell marked this pull request as ready for review April 26, 2026 21:29
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 26, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
runlang 42f1ce3 Commit Preview URL

Branch Preview URL
Apr 26 2026, 09:30 PM

@heartwilltell heartwilltell merged commit ee8930f into main Apr 26, 2026
14 of 15 checks passed
@heartwilltell heartwilltell deleted the codex/runtime-benchmarks branch April 26, 2026 21:30
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.

Create runtime benchmarks suite

1 participant