Skip to content

Alternative: dark benchmark diagrams (cold-start, memory, execution density)#1496

Open
NicholasKissel wants to merge 2 commits into
mainfrom
NicholasKissel/agentos-homepage-diagrams-alt
Open

Alternative: dark benchmark diagrams (cold-start, memory, execution density)#1496
NicholasKissel wants to merge 2 commits into
mainfrom
NicholasKissel/agentos-homepage-diagrams-alt

Conversation

@NicholasKissel

Copy link
Copy Markdown
Member

Summary — alternative to #1494

An alternative design for the Agent OS homepage benchmark visuals. Where #1494 keeps the inline benchmark charts and a single light cold-start card, this PR refactors the benchmark section into three reusable dark InkPanel diagram components sharing primitives in benchUI.tsx. Pick one of the two PRs.

New / reworked diagram components

  • ColdStartRace — containers-vs-Agent OS cold start with a p50 / p95 / p99 percentile toggle (defaults to p99, the most dramatic tail). Each container boots on its own (border red→green + mini bar); Agent OS boots once as one shared process. The race replays when the percentile changes.
  • MemoryOverhead — per-instance memory: a full 1 GiB sandbox column beside Agent OS's sliver. The workload toggle (coding agent ~131 MB ⟷ execution ~22 MB) grows/shrinks the fill and re-counts the headline multiplier (8× ⟷ 47×).
  • ExecutionDensity — cost-per-execution-second as a packing story: one server packs N concurrent executions (from bench.ts at 70% utilization) vs a sandbox's one, resolving into the price. Driven by workload + hardware-tier toggles.
  • HarnessArchitecture — retained from Add Agent OS homepage diagrams: harness architecture + cold-start comparison #1494 (cycling agent at the center routing to Tools/Session/Sandbox/Orchestration).

Supporting changes

  • benchUI.tsx — shared dark-surface primitives: BenchToggle (segmented control with a framer-motion layout pill), CountUpStat, BenchInfoTooltip, parseStatNumber.
  • bench.tsCostTier now exposes execs / serverMemMb / workloadMemMb / costPerHour; workload labels trimmed.
  • AgentOSPage.tsx — the old inline BenchColdStartChart / BenchMemoryBar / BenchCostChart are replaced by <ColdStartRace />, <MemoryOverhead />, <ExecutionDensity /> (net −431 in the page).

Also included

Same pre-existing workspace changes bundled in #1494: Navigation, Footer, registry (RegistryPageClient, registry.ts, registry-icons.ts, registry/[slug].astro), pricing page, and favicon.svg.

Verification

  • npm run build passes (81 pages).

🤖 Generated with Claude Code

An alternative take to #1494. The inline BenchmarkSection charts are refactored into three reusable dark InkPanel diagram components, sharing primitives in benchUI.tsx:

- ColdStartRace: containers-vs-Agent OS cold start with a p50/p95/p99 percentile toggle (defaults to p99); the boot replays when the percentile changes.
- MemoryOverhead: per-instance memory — a full 1 GiB sandbox column next to Agent OS's sliver; the workload toggle (coding agent ~131 MB <-> execution ~22 MB) grows/shrinks the fill and re-counts the multiplier.
- ExecutionDensity: cost-per-execution-second as a packing story — one server packs N concurrent executions (from bench.ts at 70% utilization) vs a sandbox's one; resolves into the price, driven by workload + hardware-tier toggles.

benchUI.tsx adds shared dark-surface primitives (BenchToggle segmented control, CountUpStat, BenchInfoTooltip, parseStatNumber). bench.ts exposes execs/serverMemMb/workloadMemMb/costPerHour on CostTier and trims workload labels. The HarnessArchitecture diagram from #1494 is retained.

Also bundles the same pre-existing workspace changes as #1494: Navigation, Footer, registry (RegistryPageClient, registry.ts, registry-icons.ts, registry/[slug].astro), pricing page, and favicon.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@railway-app railway-app Bot temporarily deployed to rivet-frontend / agent-os-pr-1496 June 21, 2026 01:22 Destroyed
@railway-app

railway-app Bot commented Jun 21, 2026

Copy link
Copy Markdown

🚅 Deployed to the agent-os-pr-1496 environment in rivet-frontend

Service Status Web Updated (UTC)
agent-os ✅ Success (View Logs) Web Jun 21, 2026 at 2:45 am

…chUI)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant