Repository navigation
SimBench: odr bench, share card, self-reported intake, runner matrix - #1
Open
ninan-versioning wants to merge 10 commits into
Open
ninan-versioning wants to merge 10 commits into
ninan-versioning wants to merge 10 commits into
Conversation
… runner matrix - odr bench: cold, warm and parallel (iOS) sessions to the fixture's first frame via simctl / emulator + adb directly; Android tap-to-change; fixture built from source and excluded from timings. Writes simbench/v1 JSON and a 1200x630 share card (dependency-free PNG encoder, 5x7 pixel font, opendevicerouter.com palette). - odr bench card | submit | validate. submit opens a public issue only when asked. - bench/schema/simbench.schema.json: closed environment block (no hostname, user, serial, UDID); validator recomputes the summary from samples. - Issue form + simbench-intake workflow: issue -> PR into bench/results/simbench/self-reported/; body parsed as JSON only, never shelled. - bench-simbench-matrix workflow: macos-15, macos-26, macos-15-intel (two newest iOS runtimes each) and ubuntu-24.04 Android, weekly; per-session cost estimate from the published runner rate; publishes to main only from main. - summarize.mjs: separate CI-verified and self-reported SimBench tables. - METHODOLOGY: SimBench definitions, tiers and the parallel stop rule (written before any number is published). ROADMAP: benchmark-only posts allowed after gates 1, 3, 4. - README: tagline no longer claims browsers or $0; SimBench usage. Co-authored-by: Perplexity <noreply@perplexity.ai>
Co-authored-by: Perplexity <noreply@perplexity.ai>
Co-authored-by: Perplexity <noreply@perplexity.ai>
This was referenced Nov 23, 2026
Co-authored-by: Perplexity <noreply@perplexity.ai>
On macos-15 and macos-15-intel, simctl io screenshot kept failing for over 60 s after bootstatus returned, so every cold sample failed. 180 s matches the session SDK default. Co-authored-by: Perplexity <noreply@perplexity.ai>
On macos-26 one N=2 simulator hit the 5 min bootstatus limit and the result only said "Command failed". Errors now read "timed out after 300 s: ..." when execFile killed the child. Co-authored-by: Perplexity <noreply@perplexity.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
odr bench(SimBench): any Mac or Linux box measures nothing-to-first-app-frame for a simulator or emulator, cold and warm, plus a parallel ramp on iOS. It writes asimbench/v1JSON file and a 1200x630 share card. Nothing leaves the machine unless the user runsodr bench submit.What is in this PR
src/bench/: simctl and emulator/adb drivers (no agent-device needed), fixture-frame detection, run logic, PNG encoder and share card, validator.odr bench | bench card | bench submit | bench validate.bench/schema/simbench.schema.json: the environment block is closed, so a file carrying a hostname, username, serial or UDID fails validation. The validator also recomputes the summary from raw samples, so an edited headline number fails..github/ISSUE_TEMPLATE/simbench-result.ymlandsimbench-intake.yml: an issue becomes a PR adding one file underbench/results/simbench/self-reported/. The issue body arrives via env and is only parsed as JSON. It is never interpolated into a shell.bench-simbench-matrix.yml: weekly on macos-15, macos-26 and macos-15-intel (two newest iOS runtimes each), plus ubuntu-24.04 Android. Per-session cost estimate uses the published runner rate. Publishes to main only from main; on PRs it runs as a 1-cold/1-warm smoke test.summarize.mjs: separate CI-verified and self-reported SimBench tables.Non-goals
Acceptance evidence
npm run checkpasses locally (Node 20.20.2; CI uses 22).ci-verifiedclaim was rejected, and an edited summary failedsummarize.mjs.Release gate
No SimBench number appears on opendevicerouter.com or in a post until the weekly matrix has published from main and the numbers are in RESULTS.md.
Created with Perplexity