Skip to content

Benchmarks: against OpenCode 2.0 - #23

Merged
Kushalkhemka merged 1 commit into
pi-boltfrom
docs/opencode-2
Oct 12, 2026
Merged

Kushalkhemka merged 1 commit into
pi-boltfrom
docs/opencode-2

Conversation

@Kushalkhemka

Copy link
Copy Markdown
Member

Adds OpenCode 2.0.27 to the README tables, BENCHMARKS.md and the site's Benchmarks page, measured next to Pi-Bolt 0.8.5 on the same Linux and macOS machines with the same tools. bench/opencode.sh runs OpenCode from the tools' Pi arguments (--standalone, so its server's CPU is counted; compaction off, so a long session sends the whole conversation); the harness waits for OpenCode's command menu before the Enter of /quit. OpenCode's memory figures leave out its server process, and it has no tmux figures (it did not finish its answers there); both are noted in the tables.

OpenCode 2.0.27 against Pi-Bolt 0.8.5 on Linux and macOS with the README's tools: bench/opencode.sh runs it from Pi's arguments against the local model (--standalone, compaction off), and the harness waits for OpenCode's command menu before the Enter of /quit. Raw data in bench/results/2026-10-12-*-opencode-2.0.
Copilot AI balanced review requested due to automatic review settings October 12, 2026 20:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T20:52:54.369503Z 02636aa PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 02636aa56b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/BENCHMARKS.md
Pi-Bolt 0.8.5 in a run of its own on the same machines, with the same tools and the same local model. `bench/opencode.sh` turns
the tools' Pi arguments into OpenCode's and writes its configuration: an OpenAI-compatible provider pointing at the local model,
and automatic compaction off, so that a long session sends the whole conversation as the others do. OpenCode runs with
`--standalone`, a server of its own started by the process, so that the server's CPU is counted (`wait4` includes it) and each run

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Include the standalone server in live CPU samples

The wait4 claim does not hold for the published long-answer and long-session CPU figures. long_answer.py and long_session.py calculate deltas with cpu_ms(tty.pid) while OpenCode is running, and that function reads only the main PID's threads; the server subprocess is therefore omitted. Although Tty.quit() later returns wait4 usage, neither script uses it for these per-answer or per-prompt metrics. The OpenCode values in rows 255, 257, and 260 are consequently understated; sample the entire process tree for these live deltas before publishing them.

Useful? React with 👍 / 👎.



<h2>Against PiG and oh-my-pi</h2>
<h2>Against PiG, oh-my-pi and OpenCode</h2>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve the existing benchmark section anchor

Renaming this heading changes the generated site anchor from #against-pig-and-oh-my-pi to #against-pig-oh-my-pi-and-opencode, but docs-site/pages/faq.html and the generated FAQ still link to the old anchor. Those FAQ links now open the benchmarks page without navigating to the comparison section. Preserve the old explicit ID or update all inbound links.

Useful? React with 👍 / 👎.

@Kushalkhemka
Kushalkhemka merged commit 9560908 into pi-bolt Oct 12, 2026
10 checks passed
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.

3 participants