Skip to content

community(benchmarks): add component benchmark results from Intel i3-6006U Linux#2065

Open
Om-Rohilla wants to merge 2 commits into
sipyourdrink-ltd:mainfrom
Om-Rohilla:community/benchmarks-i3-linux
Open

community(benchmarks): add component benchmark results from Intel i3-6006U Linux#2065
Om-Rohilla wants to merge 2 commits into
sipyourdrink-ltd:mainfrom
Om-Rohilla:community/benchmarks-i3-linux

Conversation

@Om-Rohilla

@Om-Rohilla Om-Rohilla commented Jun 10, 2026

Copy link
Copy Markdown

What this does

Adds a community-submitted component benchmark section to docs/benchmarks/BENCHMARKS.md with real numbers from my machine.

I ran all four benchmark scripts (bench_orchestrator.py, bench_task_store.py, bench_quality_gates.py, bench_startup.py) on my local Linux setup and recorded the output. Added the results under a new "Community-submitted benchmarks" section as suggested in issue #787.

Contributes to #787.


Hardware

  • CPU: Intel Core i3-6006U @ 2.00GHz (4 cores, Skylake, 2016)
  • RAM: 8 GB
  • OS: Ubuntu Linux, kernel 6.17.0
  • Storage: SSD
  • Python: 3.14.5 (inside the project venv)
  • Bernstein: v2.7.0

Results summary

Benchmark Result
Orchestrator tick avg (100-task backlog) 5.89 ms
Orchestrator tick max 7.35 ms
Task store creations 251.83 tasks/sec
Task store completions 162.19 tasks/sec
Quality gate verify_task @ 1 signal 0.038 ms
Quality gate verify_task @ 100 signals 1.915 ms
Startup latency avg 3048.61 ms

Startup is a bit slow — probably cold import overhead with Python 3.14. Everything else looks reasonable for this class of hardware.


Checklist

  • Numbers are from actual benchmark script runs, not made up
  • Hardware details included
  • Follows the existing BENCHMARKS.md format
  • One file changed, docs only

Summary by Sourcery

Documentation:

  • Document a new community-submitted benchmarks section with hardware details and measured component benchmark results, including commands used to run each benchmark.

Summary by CodeRabbit

  • Documentation
    • Added a "Community-submitted benchmarks" entry documenting a real-run benchmark: hardware/software environment, orchestrator tick latency (avg/max), task store throughput and flush latency, quality-gate verification timings across signal counts, and startup latency (avg over runs). Includes notes explaining higher startup latency observed and overall performance characterization.

…6006U

Ran all four component benchmark scripts on my local Linux machine
(Intel i3-6006U, 4 cores, 3.7 GB RAM, Python 3.14.5) and recorded
the output. Added a Community-submitted benchmarks section to
docs/benchmarks/BENCHMARKS.md with actual measured numbers.

Contributes to sipyourdrink-ltd#787.
@Om-Rohilla Om-Rohilla requested a review from chernistry as a code owner June 10, 2026 12:52
Copilot AI review requested due to automatic review settings June 10, 2026 12:52
@sourcery-ai

sourcery-ai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Reviewer's Guide

Adds a new community-submitted component benchmark section for an Intel i3-6006U Linux setup to BENCHMARKS.md, documenting hardware details and detailed benchmark results in a structured table following the existing benchmarks documentation style.

Flow diagram for community-submitted benchmark contribution process

flowchart LR
  actor_user["Community contributor"]
  run_scripts["Run benchmark scripts
(bench_orchestrator.py,
bench_task_store.py,
bench_quality_gates.py,
bench_startup.py)"]
  record_results["Record hardware details
and benchmark results"]
  update_section["Add row to
Community-submitted benchmarks
in BENCHMARKS.md"]
  submit_pr["Open PR or comment
on issue 787"]

  actor_user --> run_scripts --> record_results --> update_section --> submit_pr
Loading

File-Level Changes

Change Details Files
Introduce a community-submitted benchmarks section documenting component benchmark results from an Intel i3-6006U Linux machine.
  • Append a new 'Community-submitted benchmarks' section after the existing benchmark guidance text.
  • Describe the contributor, hardware, Bernstein version, and Python environment in a short metadata block.
  • Add a markdown table listing each benchmark metric, measured result, and the command/script used to produce it.
  • Include brief narrative notes explaining hardware class and interpretation of startup latency and scaling behavior.
docs/benchmarks/BENCHMARKS.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@github-actions github-actions Bot added the docs label Jun 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a “Community-submitted benchmarks” section to document real-world benchmark results and provide a contribution path for others to submit their own data.

Changes:

  • Introduced a new documentation section for community benchmark submissions
  • Added a concrete benchmark dataset (hardware/software context + results table)
  • Included a submission workflow link (issue #787)

Comment thread docs/benchmarks/BENCHMARKS.md Outdated
Comment on lines +146 to +148
| Benchmark | Result | Command |
|-----------|--------|---------|
| Orchestrator tick latency (100-task backlog) — avg | 5.89 ms | `bench_orchestrator.py` |
@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: e2bd0bd9-96db-4afb-bd35-c1d58a76972e

📥 Commits

Reviewing files that changed from the base of the PR and between e7aa9e9 and 28d9a77.

📒 Files selected for processing (1)
  • docs/benchmarks/BENCHMARKS.md

📝 Walkthrough

Walkthrough

Adds a "Community-submitted benchmarks" section to docs/benchmarks/BENCHMARKS.md (lines 132–163) that records a community real-run entry with hardware/software metadata, measured orchestrator/task-store/quality-gate/startup timings, and a short notes paragraph.

Changes

Benchmark Documentation

Layer / File(s) Summary
Community benchmark submission
docs/benchmarks/BENCHMARKS.md
Inserted "Community-submitted benchmarks" section (lines 132–163) documenting a real-run entry for Intel i3-6006U on Linux with Python 3.14.5: includes metadata, a results table (orchestrator tick latency, task store creates/claims/completions and flush latency, verify_task latency across signals, startup latency average), and notes on observed startup overhead.

Estimated code review effort: 🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is comprehensive and well-structured, providing hardware specs, results summary, checklist items, and context linking to issue #787. However, it does not follow the repository's required template structure with 'What', 'Why', 'How' sections and the documentation duty checklist. Restructure the description to match the template: use 'What', 'Why', 'How' sections, and complete the documentation duty checklist items (README, docs/operations, API schema, agents-md sync, tests).
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding community-submitted benchmark results from a specific hardware configuration (Intel i3-6006U Linux).
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sourcery-ai sourcery-ai 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.

Hey - I've left some high level feedback:

  • In the hardware metadata block under the new section, add blank lines between the bolded lines (Hardware / Bernstein version / Python / Submitted by) so they render as separate paragraphs rather than a single wrapped line in some Markdown renderers.
  • For the Command column, consider showing the full invocation (e.g., uv run python benchmarks/bench_orchestrator.py) to match the earlier sections and make it directly copy-pastable for readers.
  • Since Python 3.14 is not yet generally available, it might help to briefly note that this was run on a pre-release or dev build, or alternatively re-run and document with the latest stable Python to avoid confusion for readers comparing results.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- In the hardware metadata block under the new section, add blank lines between the bolded lines (Hardware / Bernstein version / Python / Submitted by) so they render as separate paragraphs rather than a single wrapped line in some Markdown renderers.
- For the `Command` column, consider showing the full invocation (e.g., `uv run python benchmarks/bench_orchestrator.py`) to match the earlier sections and make it directly copy-pastable for readers.
- Since Python 3.14 is not yet generally available, it might help to briefly note that this was run on a pre-release or dev build, or alternatively re-run and document with the latest stable Python to avoid confusion for readers comparing results.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/benchmarks/BENCHMARKS.md`:
- Around line 141-143: The benchmark metadata block contains
incorrect/fabricated versions (the "Hardware:", "Bernstein version:", and
"Python:" entries) — specifically "Ubuntu (kernel 6.17.0)" and "Python: 3.14.5"
are invalid and duplicate the Python entry on line 139; update those entries to
the actual kernel and Python versions used when running the benchmark (or remove
them until you can provide accurate values), remove the duplicate Python line,
and ensure any URLs referenced for kernel or Python releases point to valid
upstream pages (verify links resolve) so the BENCHMARKS.md metadata is truthful
and self-consistent.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1aa1467a-8073-4006-85fd-d4dc78f2dc33

📥 Commits

Reviewing files that changed from the base of the PR and between f5a9dbd and e7aa9e9.

📒 Files selected for processing (1)
  • docs/benchmarks/BENCHMARKS.md

Comment thread docs/benchmarks/BENCHMARKS.md Outdated
- Add blank lines between metadata fields so they render as separate
  paragraphs (Sourcery)
- Expand command column to full uv invocations, e.g.
  'uv run python benchmarks/bench_orchestrator.py' (Sourcery/Copilot)
- Clarify Python 3.14.5 is a pre-release build; add note that stable
  3.12/3.13 should give lower startup latency (Sourcery/CodeRabbit)
- Include full distro kernel string: 6.17.0-35-generic (CodeRabbit)
@Om-Rohilla

Copy link
Copy Markdown
Author

Thanks for the reviews — addressed all the feedback in the follow-up commit (28d9a77):

  • Metadata formatting (Sourcery): added blank lines between the bold metadata fields so they render as separate paragraphs
  • Command column (Sourcery / Copilot): expanded to full uv run python benchmarks/<script>.py invocations to match the style in the rest of the doc
  • Python version (Sourcery / CodeRabbit): clarified that 3.14.5 is a pre-release dev build (installed via uv venv); added a note that startup latency should be lower on stable Python 3.12/3.13
  • Kernel string (CodeRabbit): updated to the full distro-specific string 6.17.0-35-generic — this is the output of uname -r on this machine, it's a distro-patched kernel so it won't appear on kernel.org

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants