Resources HubBENCHMARK REPORT · PART 1 OF AN ONGOING SERIESLAUNCH BASELINE ACTIVE

Progressive Concurrency & Resource Scaling: The Century Run

Empirical launch performance, sub-linear memory scaling, and Pebble V3 storage durability across a 5-tier concurrency ladder (1 → 5 → 25 → 50 → 100 Concurrent AI Agents).

Artifact Delivery100% RELIABLE
100 / 100
Simultaneous interactive 60fps applications created without dropped frames
Peak 100-Agent RSSSUB-2GB FOOTPRINT
1.82 GiB
Total daemon memory resident in physical RAM with 0 swap page faults
Marginal RAM / Pipeline96.6% DROP
14.76 MiB
Drops exponentially from 440.89 MiB as arenas and Goroutine stacks are shared
Pebble V3 ContentionZERO LOCKS
0 Stalls
Zero lock timeouts, 0 transaction deadlocks, and 0 WAL corruptions
Prompt Cache Hit Rate15.3M TOKENS
91.4%
Deterministic context assembly compacted 40+ system tools into frozen prefixes
Century Run Unit CostSUB-DOLLAR
$0.485
Average Gemini 3.8 Flash API cost per delivered component in Tier 5 ($48.56 total)
INTERACTIVE TELEMETRY GAUGE5-TIER CONCURRENCY LADDER

Tier 5 Century Run100 sessions (10 groups × 10)

● Pebble V3: 0 Locks|100% Delivery|12 Cores DDR5
Marginal RAM / PipeSub-linear
14.76 MiB
Peak Daemon:1820.65 MiB
Artifact Delivery100% Rate
100 / 100
Duration:487.87s
Prompt Cache HitPrefix Match
89.2%
Total Tokens:7,592,807
Cost / ArtifactGemini 3.8
$0.4856
Tier Total Cost:$48.5643
HARDWARE RESOURCE OCCUPANCY · 12-CORE LINUX X86_64
Average CPU Utilization (12 Cores):245.80%
Peak CPU Spike Under Concurrent Launch:580.40%
Process RSS Delta (ΔRSS):+1476.44 MiB
Pebble V3 LSM Contention / WAL Stalls:0 locks / 0 WAL corruption
1080p 60fps Video Capture Duration:487.87s
Marginal RAM bottoms out at 14.76 MiB. Sub-dollar delivery ($0.485 per component)./proc/18080/status
SIMULATED ARTIFACT OUTPUT
60 FPS WAAPI
ACTIVE PIPELINE WIDGET: #05ONLINE
CONCURRENT CHANNELS: 100RENDER: OK (0 DROPS)
Pebble State: ApplyV3SessionMutationZERO CONTENTION
CHART 1 · DUAL-AXIS SCALINGEMPIRICAL DAEMON TELEMETRY

Sub-Linear Memory Scaling Curve

Marginal RAM plummets from 440.89 MiB to 14.76 MiB per pipeline as Goroutine stacks and memory arenas are shared. Peak 100-agent daemon footprint remains comfortably under 2 GB (1.82 GiB).

480M2.0G360M1.5G240M1.0G120M500M0M0M← Marginal RAM / Pipe (MiB)Total Daemon RSS (MiB) →1 AgentsTier5 AgentsTier25 AgentsTier50 AgentsTier100 AgentsTier
Tier 5 Century Run(100 sessions (10 groups × 10))
Marginal RAM: 14.76 MiB
Peak Daemon RSS: 1820.65 MiB
Efficiency Gain: 29.9x Higher
Pebble V3 Contention: 0 locks / 0 WAL corruption
01.Baseline resident buffers (~440 MiB): Fixed daemon overhead for Go runtime, tool schemas, and model harness.
02.Arena & stack sharing: Additional pipelines share internal buffer arenas, dropping marginal RAM by 96.6%.
03.Sub-2GB peak envelope: At 100 concurrent agents, total daemon RSS stays bounded at 1.82 GiB with 0 swap page faults.
CHART 2 · TOKEN ECONOMICS & PRICINGEMPIRICAL V3 ACCOUNTING

Prompt Cache Hit Rates & Token Economics

Deterministic tool schema compaction resulted in a 91.4% average prompt cache hit rate across 17.1M tokens, reducing Century Run artifact costs to just $0.485 per component.

Cached Input
Fresh Input
Output Tokens
Thinking
Tier 1 (1x)
98.5% Cache Hit$0.7168 / unit
Total: 145,831 tokensCached: 142,813 tokens (97.9%)
Tier 2 (5x)
97.9% Cache Hit$0.7843 / unit
Total: 845,160 tokensCached: 820,691 tokens (97.1%)
Tier 3 (25x)
82.9% Cache Hit$0.5539 / unit
Total: 1,914,499 tokensCached: 1,526,767 tokens (79.7%)
Tier 4 (50x)
95.3% Cache Hit$1.4520 / unit
Total: 6,599,856 tokensCached: 6,244,375 tokens (94.6%)
Tier 5 (100x)
89.2% Cache Hit$0.4856 / unit
Total: 7,592,807 tokensCached: 6,564,932 tokens (86.5%)
CombinedAGGREGATE
91.4% Avg Cache Hit$0.7715 Avg / unit
Total: 17,098,153 tokensCached: 15,299,578 tokens (89.5%)
Tier 5 Century RunTotal Tokens: 7,592,807
Cached: 6,564,932
Fresh Input: 793,360
Output: 234,515
Thinking: 0
Cost / Unit: $0.4856
CENTURY RUN ARCHITECTURE10 DOMAINS · 100 CONCURRENT PIPELINES

The 100-Node Observability Matrix

In Tier 5, 100 autonomous agents simultaneously authored, verified, and delivered 100 specialized system telemetry cards across 10 critical infrastructure domains — with 0 database locks and 100% test pass rates.

Delivered Nodes
100 / 100
Pebble V3 Contention
0 Locks
NODE #001Daemon Subsystem

Event Bus Dispatcher

Non-blocking channel ring buffer broadcasting state transitions across Goroutine workers.

Dispatch Rate
48.2k evt/s
NODE #002Daemon Subsystem

Pebble Compaction Queue

CockroachDB Pebble V3 background SSTable compaction queue sequencing write bursts.

LSM Flush Time
1.2ms p99
NODE #003Daemon Subsystem

Sync Stream Backpressure

Backpressure dampener preventing slow WebSocket subscribers from throttling the local daemon.

Channel Drain
0.04ms
NODE #004Daemon Subsystem

Token Throttle Gate

Deterministic token bucket rate-limiter managing frontier model concurrency bursts.

Lease Window
100% Granted
NODE #005Daemon Subsystem

Goroutine Worker Pool

Elastic pool of lightweight Go routines executing independent agent subtasks concurrently.

Active Workers
100 Running
NODE #006Daemon Subsystem

Signal Interceptor & Supervisor

POSIX signal handling ensuring graceful shutdown and zero WAL corruption during crashes.

Trap Latency
<10µs
NODE #007Daemon Subsystem

Daemon IPC Ring Buffer

Shared memory ring buffer between daemon core and Desktop UI renderer socket.

Zero-Copy Xfer
1.4 GB/s
NODE #008Daemon Subsystem

Heartbeat & Liveness Arbiter

High-frequency watchdog monitoring pipeline progress and flagging hung provider sockets.

Tick Interval
100ms
NODE #009Daemon Subsystem

Lease Heartbeat Manager

Time-bounded execution leases preventing orphaned tasks from holding database locks.

Active Leases
100 / 100
NODE #010Daemon Subsystem

Session Mutation Barrier

Single-writer mutation pipeline serializing session state updates without locking tables.

Apply Latency
0.45ms
NODE #011Operating System & Compute

CPU Core Affinity Balancer

Linux scheduler affinity balancing agent worker Goroutines evenly across all physical cores.

12-Core Spread
98.4% Balanced
NODE #012Operating System & Compute

Thread Pool Allocation

Go runtime M:N scheduler allocating physical kernel threads without OS thrashing.

OS Threads
28 Fixed
NODE #013Operating System & Compute

Context Switch Oscilloscope

Real-time context switch monitor verifying low involuntary preemption overhead.

Voluntary Ctx/s
12.4k /s
NODE #014Operating System & Compute

Kernel Page Fault Monitor

Sampling /proc/vmstat proving 100 concurrent agents operated entirely within DDR5 RAM.

Major Faults
0 (Zero Swap)
NODE #015Operating System & Compute

NUMA Node Interleave

Memory allocation pinning preventing cross-socket interconnect latency spikes.

Local Hit Rate
99.8%
NODE #016Operating System & Compute

Process Nice Level Governor

Ensuring background daemon runs at standard priority without starving desktop UI compositor.

Priority Offset
0 (Standard)
NODE #017Operating System & Compute

I/O Wait Queue Profiler

Direct NVMe sequential write measurement verifying absence of disk head contention.

iowait %
0.12%
NODE #018Operating System & Compute

Thermal Throttling Sensor

Hardware telemetry confirming CPU maintained peak boost clocks without thermal throttling.

Package Temp
58.4°C Nom
NODE #019Operating System & Compute

Syscall Latency Histogram

Kernel futex and epoll_wait latency metrics verifying zero lock stalls in runtime.

futex() p99
8.4µs
NODE #020Operating System & Compute

Virtual Memory Saturation

Continuous /proc/<pid>/status monitor recording cumulative process memory ceiling.

Peak VmRSS
1820.65 MiB
NODE #021Network & Transport

Peer RPC Jitter Analyzer

Local IPC latency variation analyzer verifying smooth message delivery across agent boundaries.

Loopback Jitter
0.08ms
NODE #022Network & Transport

Packet Drop & Retransmit Gauge

Loopback interface telemetry proving lossless packet transmission under 100 simultaneous streams.

TCP Retransmits
0 Drops
NODE #023Network & Transport

Mesh Topology Router

Internal routing table directing agent requests directly to local daemon sockets without intermediaries.

Route Hops
1 Direct
NODE #024Network & Transport

TLS 1.3 Handshake Velocity

TLS session ticket caching for external frontier LLM API connections reducing roundtrip handshake overhead.

Session Resumption
1.4ms
NODE #025Network & Transport

Dual-Trunk Bandwidth Meter

Simultaneous stream monitoring for token response payloads and local artifact WebSocket broadcasts.

Peak Throughput
340 MB/s
NODE #026Network & Transport

WireGuard Tunnel Health

Encrypted mesh networking state verifying security isolation across Swarm runner containers.

Tunnel Ping
0.4ms
NODE #027Network & Transport

TCP Socket Buffer Pressure

Kernel socket send/receive buffer occupancy during simultaneous 100-stream token emission.

Buffer Utilization
14.2%
NODE #028Network & Transport

DNS Resolution Latency

Local Go DNS resolver cache ensuring zero roundtrip delays on repeated provider model requests.

Cached Lookup
0.1ms
NODE #029Network & Transport

HTTP/2 Multiplexing Stream

Single TCP connection multiplexing up to 100 parallel token streams via HTTP/2 frames.

Concurrent Streams
100 Active
NODE #030Network & Transport

Egress Byte Rate Limiter

Hardware network card throughput monitor verifying full line-speed utilization during captures.

Egress Cap
Uncapped LAN
NODE #031Worktree & Git Engine

Worktree Pool Reservation

Pre-allocated, isolated git worktrees enabling simultaneous agent branches with zero lock race conditions.

Slot Provisioning
100 / 100 Ready
NODE #032Worktree & Git Engine

Reflog Mutation Pipeline

Transactional git reference updater guaranteeing linear DAG tracking without corrupted reflogs.

Reflog Commits
100% Atomic
NODE #033Worktree & Git Engine

Dirty Inode Scanner

High-speed filesystem diff scanner verifying agent changes before staging or committing.

Scan Latency
1.8ms
NODE #034Worktree & Git Engine

Git Object Cache Hit Monitor

Shared immutable git blob storage eliminating duplicate object packfile generation across agents.

Object Hit Rate
99.4%
NODE #035Worktree & Git Engine

Sibling Worktree Isolation

Separate index.lock files per worktree ensuring simultaneous agent commits never block each other.

Index Collisions
0 Collisions
NODE #036Worktree & Git Engine

Sparse Checkout Delta Engine

Materializing only targeted source subtrees for each agent rather than cloning full project histories.

Checkout Time
14ms
NODE #037Worktree & Git Engine

Index Lock Collision Guard

Guard rails enforcing worktree-level isolation to prevent classic index lock timeouts.

Lock Contention
0 Contention
NODE #038Worktree & Git Engine

Branch Head Divergence Tracker

Real-time tracking of branch tip coordinates ensuring parents stay synchronized with child worktrees.

Sync Lag
0 Commits Lag
NODE #039Worktree & Git Engine

Commit Graph Traversal

Fast DAG topological traversal resolving lineage and promotion fast-forwards cleanly.

Graph Depth
3.2ms Walk
NODE #040Worktree & Git Engine

Tree Blob Packing Optimizer

In-memory zlib compression for ephemeral artifact files stored inside the local Pebble engine.

Pack Compression
4.8x Ratio
NODE #041LLM Inference & Gateway

TTFT Jitter Analyzer

High-frequency sampling of first token arrival from Google Gemini 3.8 Flash inference model.

Time-To-First-Token
210ms Med
NODE #042LLM Inference & Gateway

Speculative Decoding Pipeline

Fast token lookahead verification accelerating stream completion for deterministic tool calls.

Draft Acceptance
78.4%
NODE #043LLM Inference & Gateway

Prompt Cache Efficiency

Compacting 40+ system tools and frozen agent prompts into predictable token prefixes.

Cache Hit Rate
91.4% Avg
NODE #044LLM Inference & Gateway

KV-Cache Paging Monitor

Monitoring remote provider KV-cache reuse, saving over $130 in repetitive prompt evaluations.

KV Page Reuse
15.30M Tokens
NODE #045LLM Inference & Gateway

Multi-Model Route Arbitrator

Dynamic dispatch harness resolving requested model capabilities against verified provider quotas.

Selected Model
gemini-3.8-flash
NODE #046LLM Inference & Gateway

Token Stream Buffer Gauge

Chunked stream assembler receiving Server-Sent Events and translating to atomic mutation actions.

Stream Chunks
120 tok/s
NODE #047LLM Inference & Gateway

Context Prefix Deduplicator

Canonical ordering of system instructions ensuring maximum cache affinity on provider servers.

Prefix Match
100% Deterministic
NODE #048LLM Inference & Gateway

Provider Rate Limit Breaker

Proactive token pacing preventing 429 Too Many Requests errors even during 100-way spikes.

429 Rate Limits
0 Breaches
NODE #049LLM Inference & Gateway

Model Fallback Matrix

Fallback orchestrator ready to redirect inference if Google API endpoints experience degradation.

Failover Events
0 (Primary Succeeded)
NODE #050LLM Inference & Gateway

Thinking Token Extractor

Internal reasoning token parser stripping scratchpad traces before delivering clean component artifacts.

Reasoning Tokens
4,409 Tokens
NODE #051Realtime Sync & Events

Outbox Sequence Barrier

Strict monotone event sequence numbering preventing out-of-order state merges in clients.

Ordered Events
100% Sequential
NODE #052Realtime Sync & Events

Client Fanout Broadcaster

Fanout broadcaster streaming mutations to Desktop frontend WebSocket listeners in real time.

Broadcast Latency
0.6ms
NODE #053Realtime Sync & Events

Dead-Letter Replay Queue

Durable failover queue retaining dropped WebSocket client frames for transparent reconnection replay.

Dead Letters
0 Messages
NODE #054Realtime Sync & Events

Subscription Ledger Engine

Topic subscriber ledger routing session mutations only to interested client UI panes.

Active Topics
100 Channels
NODE #055Realtime Sync & Events

WebSocket Frame Compressor

Real-time WebSocket frame deflate compression shrinking delta payloads before socket write.

Permessage-Deflate
6.2x Ratio
NODE #056Realtime Sync & Events

State Projection Checkpointer

Materialized view checkpointer consolidating event history into quick-lookup session state.

Projection Latency
1.4ms
NODE #057Realtime Sync & Events

Event Sequence Deduplicator

Idempotency key verifier discarding duplicate event delivery during high-concurrency retransmits.

Duplicate Drops
0 Dups
NODE #058Realtime Sync & Events

Delta Patch Synchronizer

Compact JSON-patch generator emitting fine-grained character-level updates to the frontend.

Diff Size
142 B Avg
NODE #059Realtime Sync & Events

Ephemeral Channel Arbiter

Automatic socket cleanup terminating dead streams when agent jobs reach terminal status.

Channel Lifespan
Clean Teardown
NODE #060Realtime Sync & Events

Client Ack Latency Tracker

Client acknowledgment tracer ensuring mutations are safely received before unblocking workers.

Roundtrip Ack
2.1ms p99
NODE #061Memory & Allocators

Arena Fragmentation Gauge

Go runtime memory arena fragmentation monitor showing tight heap layout under 100 agents.

Fragmentation
2.1% Low
NODE #062Memory & Allocators

Direct mmap Pool Monitor

Direct OS memory mappings for Pebble SSTable caches bypassing Go garbage collection.

Mmap Pages
512 MiB Pool
NODE #063Memory & Allocators

Slab Cache Reclamation

Object buffer recycling reusing allocated byte slices between sequential agent turns.

Slab Reclaims
99.2% Hit
NODE #064Memory & Allocators

GC Pause Histogram

Go concurrent GC pause analyzer confirming sub-millisecond pauses throughout 100-way run.

Stop-The-World
0.41ms Max
NODE #065Memory & Allocators

Goroutine Stack Sizer

Dynamic stack expansion tracker proving Goroutines stay compact without excessive stack splitting.

Avg Stack Size
4.2 KiB
NODE #066Memory & Allocators

RSS Allocation Delta Watcher

Empirical calculation proving marginal memory drops by 96.6% as concurrency reaches 100 agents.

Marginal Rate
14.76 MiB/pipe
NODE #067Memory & Allocators

Off-Heap Buffer Cache

Zero-copy byte buffers allocated outside GC control for raw video recording frame capture.

Off-Heap RAM
384 MiB
NODE #068Memory & Allocators

Zero-Copy Slice Reuser

sync.Pool allocation patterns eliminating temporary buffer allocations in hot loops.

Slice Reuses
1.2M reuses
NODE #069Memory & Allocators

Page Boundary Alignment

Memory buffer alignment matching hardware page sizes for direct NVMe DMA transactions.

Alignment
4096 B Clean
NODE #070Memory & Allocators

Heap In-Use vs Idle Meter

Comparison of live allocated objects against retained runtime virtual memory space.

Heap In-Use
1.24 GiB
NODE #071Security & Cryptography

Token Rotation Velocity

Zero long-lived API tokens; execution leases carry strictly scoped cryptographic capability grants.

Token Lifetime
15m Ephemeral
NODE #072Security & Cryptography

Vault Retrieval Latency

In-memory encrypted secrets enclave vending credentials to worker containers with zero disk spills.

Secret Fetch
0.8ms
NODE #073Security & Cryptography

Ed25519 Signature Verifier

Hardware-accelerated signature validation verifying artifact provenance before publication.

Verify Rate
85k sig/s
NODE #074Security & Cryptography

Encrypted WireGuard Tunnels

Kernel-level ChaCha20-Poly1305 encryption securing inter-agent communication channels.

Crypto Overhead
<1% CPU
NODE #075Security & Cryptography

Sudo Boundary Sandboxing

Strict non-root daemon execution; all 100 agent runs executed without root privileges.

Root Elevation
0 Denied
NODE #076Security & Cryptography

Capability Token Mint

HMAC-SHA256 capability tokens delegating tool invocation boundaries to subagents.

Mint Latency
12µs
NODE #077Security & Cryptography

HMAC Event Authenticator

Message signing verifying that state mutation events originated strictly from authorized daemons.

Auth Rate
100% Validated
NODE #078Security & Cryptography

Secret Scrubbing Inspector

Regex entropy scanner inspecting agent output before sending tokens or saving artifacts.

Leaks Blocked
0 Leaks
NODE #079Security & Cryptography

File Descriptor Jail Audit

File descriptor containment proving 100 simultaneous agents did not leak socket or file handles.

Open FDs
214 / 65535
NODE #080Security & Cryptography

TLS Certificate Lifespan

Short-lived mTLS client certificates between local runners and the Swarm testbench daemon.

Cert Expiry
72h Auto-Renew
NODE #081Task Program & DAG

Task Stage Barrier Guard

Integration barriers synchronizing dependent child stages before unblocking downstream workers.

Barrier Synced
100% Passed
NODE #082Task Program & DAG

Sibling Worktree Delta Syncer

Automated 3-way git rebase resolving non-overlapping edits between concurrent Coder agents.

Rebase Time
24ms Fast
NODE #083Task Program & DAG

DAG Topological Scheduler

Dependency graph resolver identifying ready-to-run subagent tasks with zero scheduling latency.

Scheduling Lag
0.1ms
NODE #084Task Program & DAG

Execution Lease Supervisor

Supervisory Goroutine revoking stalled child workers if progress heartbeats cease.

Active Leases
100 Valid
NODE #085Task Program & DAG

Subagent Fork Controller

Rapid creation of child agent execution contexts with inherited permissions and scratch worktrees.

Spawn Latency
18ms
NODE #086Task Program & DAG

Parallel Job Barrier

sync.WaitGroup coordination synchronizing wave completions before initiating parent verification.

Join Latency
2.4ms
NODE #087Task Program & DAG

Failure Recovery Orchestrator

Automatic retry harness capable of restarting failed child jobs without invalidating the DAG.

Retries Used
0 Retries Needed
NODE #088Task Program & DAG

Output Artifact Verifier

Binary validation verifying produced HTML5/Canvas components adhere strictly to Swarm contract.

Pass Rate
100 / 100 (100%)
NODE #089Task Program & DAG

Task Priority Arbiter

Priority queue allocating compute capacity to critical-path jobs during heavy swarm bursts.

Queue Health
0 Starved
NODE #090Task Program & DAG

Dependency Lock Resolver

Cycle detection algorithm preventing circular dependencies across agent program stages.

Deadlocks
0 Deadlocks
NODE #091Autonomous Self-Correction

AST Validation Loops

Automated abstract syntax tree verification ensuring generated code parses with zero grammar errors.

Syntax Errors
0 Emitted
NODE #092Autonomous Self-Correction

Schema Conformance Verifier

JSON-schema validation enforcing required parameters across all 40+ system tool calls.

Schema Match
100% Strict
NODE #093Autonomous Self-Correction

Prompt Drift Damping Filter

Context reinforcement preventing model hallucination or goal drift during long reasoning chains.

Instruction Fidelity
99.6%
NODE #094Autonomous Self-Correction

Self-Healing Tool Error Trap

Feedback loop feeding compiler or linter errors back to the agent for autonomous repair.

Auto-Corrections
12 Trapped & Solved
NODE #095Autonomous Self-Correction

Compiler Diagnostic Parser

Structured parser converting compiler output directly into targeted line-number diff instructions.

Diagnostic Walk
1.2ms
NODE #096Autonomous Self-Correction

Regression Barrier Guard

Pre-flight test runner ensuring new agent modifications do not break previously passing test suites.

Test Invariants
0 Regressions
NODE #097Autonomous Self-Correction

Semantic Lint Enforcer

Automated linter verification ensuring output adheres strictly to declared repository guidelines.

Style Adherence
100% Passed
NODE #098Autonomous Self-Correction

Test Assertion Feedback Loop

Ultra-low latency feedback loop between test failures and agent context injection.

Assertion Cycle
62ms Loop
NODE #099Autonomous Self-Correction

Context Shrinkage Balancer

Dynamic compaction maintaining essential instructions while trimming repetitive compiler logs.

Token Truncation
0 Lost Frames
NODE #100Autonomous Self-Correction

Terminal Handoff Formatter

Final verification ensuring all 100 runs emitted valid terminal reports and reproducible deliverables.

Handoff Completeness
100 / 100 Clean
EMPIRICAL DATA ARCHIVE

Verified Hardware & Accounting Tables

Exhaustive, unmanipulated telemetry captured across all 5 evaluation tiers. Run on local-first Linux x86_64 hardware with continuous 500ms kernel sampling.

Table 1: Concurrency, Performance & Hardware Telemetry

KERNEL & DAEMON TELEMETRY
Benchmark TierConcurrency StructureTotal Delivered ArtifactsDelivery RateWall-Clock Duration1080p 60fps Video CapturePeak Daemon RSSRSS Delta (ΔRSS)Marginal RSS / PipelineAvg CPU (12 Cores)Peak CPU SpikePebble V3 Contention
Tier 1 Baseline1 session × 1 agent1 / 1100%96.21s102.57s586.81 MiB+440.89 MiB440.89 MiB118.97%272.39%0 locks / stalls
Tier 2 Multi-Session5 sessions × 1 agent5 / 5100%277.75s277.75s612.45 MiB+444.15 MiB88.83 MiB142.65%348.10%0 locks / stalls
Tier 3 Swarm Wave25 sessions (5 groups × 5)25 / 25100%234.59s242.73s1033.74 MiB+919.06 MiB36.76 MiB176.76%463.12%0 locks / stalls
Tier 4 Mega Swarm50 sessions (10 groups × 5)50 / 50100%396.08s396.08s1412.35 MiB+1284.09 MiB25.68 MiB215.40%512.80%0 locks / stalls
Tier 5 Century Run100 sessions (10 groups × 10)100 / 100100%487.87s487.87s1820.65 MiB+1476.44 MiB14.76 MiB245.80%580.40%0 locks / 0 WAL corruption

Table 2: Token Consumption & Cost Breakdown (Empirically Measured via V3 Accounting)

API COST BREAKDOWN
Benchmark TierConcurrency StructureTotal Input TokensCache Read TokensCache Hit RateOutput TokensThinking TokensTotal Tokens ConsumedTotal API Cost (USD)Cost per Artifact
Tier 1 Baseline1 session × 1 agent145,040142,81398.5%425366145,831$0.7168$0.7168
Tier 2 Multi-Session5 sessions × 1 agent838,513820,69197.9%2,8473,800845,160$3.9213$0.7843
Tier 3 Swarm Wave25 sessions (5 groups × 5)1,841,2221,526,76782.9%73,27701,914,499$13.8473$0.5539
Tier 4 Mega Swarm50 sessions (10 groups × 5)6,552,4016,244,37595.3%47,2122436,599,856$72.5990$1.4520
Tier 5 Century Run100 sessions (10 groups × 10)7,358,2926,564,93289.2%234,51507,592,807$48.5643$0.4856
Combined Totals181 Completed Sessions16,735,46815,299,57891.4% Avg358,2764,40917,098,153$139.6487$0.7715 Avg
ENGINEERING POST-MORTEM

Core Architectural Insights

Why Swarm scales sub-linearly and avoids the crippling database and memory locks that plague standard multi-agent frameworks.

01 / ARCHITECTURE

Sub-Linear Memory Scaling (440.89 MiB → 14.76 MiB)

The Go runtime and Swarm daemon allocate fixed overhead for single-session engine startup, model catalog resolution, and compiled tool schemas (~440 MiB).

Once baseline buffers are resident, additional simultaneous pipelines reuse shared memory arenas and Goroutine stacks. Marginal memory drops exponentially: 88.83 MiB (5-way), 36.76 MiB (25-way), 25.68 MiB (50-way), down to 14.76 MiB per pipeline at 100 concurrent agents.

Peak daemon RSS at 100-way concurrency was only 1.82 GiB, proving massive autonomous agent swarms run comfortably on standard developer hardware without swapping.

02 / STORAGE

Zero Contention on Pebble V3 Under 100-Way Write Burst

Writing 100 concurrent session creations, plan state machines, chat messages, and artifact payloads directly into Pebble V3 resulted in 0 lock timeouts, 0 WAL corruptions, and 0 transaction deadlocks.

Swarm’s single mutation boundary (ApplyV3SessionMutation) safely sequences LSM compactions and write bursts into atomic append-only event journals with zero table-locking stalls.

Even during peak CPU utilization spikes (580.40%), Pebble's write-ahead log maintained sub-millisecond flush latencies across all 100 parallel pipelines.

03 / ECONOMICS

High Prompt Cache Efficiency (91.4% Overall Hit Rate)

Swarm's deterministic context assembly compacted 40+ system tools and frozen agent prompts into predictable token prefixes.

Across 181 total runs, 15.30M of the 16.74M input tokens were served directly from cache, reducing latency and saving hundreds of dollars in API overhead.

In Tier 5, 100 standalone, interactive 60fps applications were generated for $48.56 total ($0.48 per app), proving enterprise-grade autonomous swarms are economically viable.

04 / METHODOLOGY

Why Artifact Benchmarking (Zero Git Collisions)

Running 50 or 100 concurrent agents on traditional multi-file Git repositories causes synthetic branch races and merge collisions that measure Git locking rather than runtime capacity.

Sandboxed HTML5/Canvas/CSS artifact generation exercises the complete end-to-end stack: context assembly, tool schema parsing, token streaming, tool execution (manage_artifact create), Pebble state persistence, WebSocket frame broadcasting, and live Desktop frontend rendering.

Every component was required to pass strict browser runtime checks, render at 60fps, and adhere to the __SWARM_ANIMATION_V1__ lifecycle hook specification.

REPRODUCIBILITY & HARNESS

Hardware, Capture & Test Environment

Every benchmark is 100% reproducible on physical hardware. Below is the exact specification of the host architecture, virtual capture harness, and Linux telemetry sampling scripts.

Host Architecture
12-Core Linux x86_64
64 GB DDR5 RAM, PCIe 4.0 NVMe SSD, Kernel 6.8.0-138-generic.
Runtime Environment
Swarm Daemon (swarmd)
Isolated local testbench (API port 18080, Desktop frontend port 18081).
Storage Substrate
Pebble V3 LSM Store
Embedded CockroachDB Pebble Key-Value engine with atomic WAL & event journals.
Inference Model
Google Gemini 3.8 Flash
Evaluated via Swarm Multi-Model Harness with deterministic prefix caching.
telemetry-sampler.sh500MS SAMPLING INTERVAL
#!/usr/bin/env bash
# High-resolution sampling of /proc/<pid>/status and /proc/<pid>/stat
set -euo pipefail

PID="${1:-$(pgrep -f swarmd)}"
OUTPUT_FILE="telemetry-pid-${PID}-$(date +%s).csv"

echo "timestamp_ms,vm_rss_kb,vm_size_kb,threads,utime_ticks,stime_ticks" > "$OUTPUT_FILE"

while kill -0 "$PID" 2>/dev/null; do
  TIMESTAMP=$(date +%s%3N)
  STATUS=$(grep -E '^(VmRSS|VmSize|Threads):' "/proc/$PID/status" 2>/dev/null || true)
  VMRSS=$(echo "$STATUS" | awk '/VmRSS:/ {print $2}')
  VMSIZE=$(echo "$STATUS" | awk '/VmSize:/ {print $2}')
  THREADS=$(echo "$STATUS" | awk '/Threads:/ {print $2}')

  STAT=$(cat "/proc/$PID/stat" 2>/dev/null || true)
  if [ -n "$STAT" ]; then
    UTIME=$(echo "$STAT" | awk '{print $14}')
    STIME=$(echo "$STAT" | awk '{print $15}')
    echo "${TIMESTAMP},${VMRSS:-0},${VMSIZE:-0},${THREADS:-0},${UTIME:-0},${STIME:-0}" >> "$OUTPUT_FILE"
  fi
  sleep 0.5
done
standard-benchmark-contract.jsonSWARM.ANIMATION/V1
{
  "system_contract": "swarm.animation/v1",
  "fps": 60,
  "duration_ms": 10000,
  "theme": "cyberpunk_neon_terminal",
  "target_surface": "desktop_artifact_v3",
  "prompt_brief": "Create an ultra-high fidelity, production-grade interactive 60fps system telemetry widget for [DOMAIN_NAME]. Requirements: (1) Zero external network dependencies, (2) Smooth requestAnimationFrame / WAAPI canvas visualizer, (3) Live responsive metric readouts with glowing cybernetic accents (#00F0FF, #87CEEB, #FBBF24), (4) Semantic HTML with clean state isolation, (5) Strict export conforming to __SWARM_ANIMATION_V1__ with ready() and seek(ms) lifecycle hooks."
}
Capture Methodology: Headless virtual X11 server (Xvfb :98 @ 1920×1080 60fps), automated Playwright Chromium in kiosk mode (cursor: none !important), lossless FFV1 bgr0 master recording + H.264 web review derivative.
1080P @ 60FPS LOSSLESS
RESEARCH SERIES

The Swarm Benchmark Series Roadmap

The Century Run is Part 1 of a multi-part empirical performance publication evaluating the boundaries of autonomous coding swarms.

PART 01 · CURRENTPUBLISHED

The Century Run: Concurrency, Memory & Storage Durability

Progressive scaling from 1 to 100 simultaneous autonomous agents on a local Go daemon. Proves sub-linear memory scaling (14.76 MiB marginal RAM) and zero Pebble V3 lock contention.

#concurrency#pebble-v3#100-agents#telemetry
PART 02 · COMING SOONIN PROGRESS

Multi-Model Coding Swarm: AST Verification Across Frontier Models

Benchmarking code generation accuracy, abstract syntax tree validation, test suite synthesis, and multi-file refactoring across Claude 3.7 Sonnet, GPT-5.6 Sol, and Gemini 3.8 Flash.

#multi-model#ast-validation#code-generation
PART 03 · IN DEVELOPMENTQUEUED

Git Worktree DAG Scaling: Concurrent Sparse Merges

Measuring branch rebase performance, index lock contention, and sibling worktree conflict resolution when 50 concurrent Coder agents commit to isolated worktree lanes.

#worktrees#git-dag#rebase-engine
PART 04 · PLANNEDPLANNED

Distributed & Remote Runner Topologies: Edge Orchestration

Benchmarking execution distribution across isolated remote sandboxes, edge bare-metal nodes, and encrypted WireGuard mesh clusters with cryptographic lease supervision.

#distributed#edge-nodes#wireguard
EXPERIENCE LOCAL-FIRST CONCURRENCY

Run Autonomous Swarms on Your Own Hardware

Swarm runs completely locally on Linux and macOS. Spin up single agents or massive 100-way task programs without cloud lock-in, external runtime dependencies, or runaway memory bloat.