The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
Reduce process discovery allocations by reading command prefixes (#548)
Dee6ad3c2077ebf
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 7946cf197..cfc587af3 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -147,6 +147,9 @@ jobs:- name: Real tmux question polling and answer routingworking-directory: clirun: node --import tsx scripts/question-poll-native.ts "$RUNNER_TEMP/question-poll.json"+ - name: Native fixture process cleanup and ownership isolation+ working-directory: cli+ run: node --import tsx scripts/check-native-fixture-git.mjs- name: Real tmux byte streaming, paste and resizeworking-directory: clienv:diff --git a/cli/scripts/check-native-fixture-git.mjs b/cli/scripts/check-native-fixture-git.mjsnew file mode 100644index 000000000..f4be8609d--- /dev/null+++ b/cli/scripts/check-native-fixture-git.mjs@@ -0,0 +1,33 @@+/** Native fixture cleanup check. Two Git requests wait on a private loopback+ * server. Only the one inside the fixture may be stopped; the neighbor must+ * survive until this check closes its own HTTP server. No external network.+ * Run from cli/: node --import tsx scripts/check-native-fixture-git.mjs+ */+import assert from 'node:assert/strict';+import {spawn} from 'node:child_process';+import {createServer} from 'node:http';+import {mkdtempSync,realpathSync,rmSync} from 'node:fs';+import {tmpdir} from 'node:os';+import {join} from 'node:path';+import {setTimeout as wait} from 'node:timers/promises';+import {cleanupFixtureGit} from './native-fixture-git.ts';+const own=realpathSync(mkdtempSync(join(tmpdir(),'harness-resume-native-')));+const other=realpathSync(mkdtempSync(join(tmpdir(),'harness-git-neighbor-')));+process.env.ADAPTER_DATA_DIR=join(own,'state');+let requests=0;const server=createServer(()=>{requests++});+await new Promise(r=>server.listen(0,'127.0.0.1',r));+const endpoint=`http://127.0.0.1:${server.address().port}/fixture.git`;+const start=cwd=>{const child=spawn('git',['-c','http.proxy=','-c','credential.helper=','ls-remote',endpoint],{cwd,stdio:'ignore',env:{...process.env,GIT_TERMINAL_PROMPT:'0'}});let exited=false;const exit=new Promise(resolve=>child.once('exit',()=>{exited=true;resolve()}));return {child,exit,isExited:()=>exited}};+const target=start(own),neighbor=start(other);+try {+ for(let i=0;i<100&&requests<2;i++)await wait(50);+ assert.equal(requests,2,'Both controlled Git processes must be waiting on local HTTP');+ const cleaned=await cleanupFixtureGit(own);+ assert(cleaned>0,'Must exercise the real signal/identity branch, not an empty scan');+ await Promise.race([target.exit,wait(3000).then(()=>{throw Error('Owned Git failed to exit')})]);+ assert(!neighbor.isExited(),'Cleanup must preserve a neighboring Git process');+ console.log(JSON.stringify({cleanedProcesses:cleaned,ownedGitExited:true,neighborPreserved:true}));+}finally{+ server.closeAllConnections();await new Promise(r=>server.close(r));+ await Promise.all([target.exit,neighbor.exit]);rmSync(own,{recursive:true,force:true});rmSync(other,{recursive:true,force:true});+}diff --git a/cli/scripts/native-fixture-git.ts b/cli/scripts/native-fixture-git.tsnew file mode 100644index 000000000..3ac9eab23--- /dev/null+++ b/cli/scripts/native-fixture-git.ts@@ -0,0 +1,55 @@+import assert from 'node:assert/strict'+import { execFile } from 'node:child_process'+import { realpathSync } from 'node:fs'+import { readlink } from 'node:fs/promises'+import { tmpdir } from 'node:os'+import { basename, dirname } from 'node:path'+import { promisify } from 'node:util'+const exec = promisify(execFile)++/** Optional Codex plugin Git fetches may outlive their engine. Only clean up+ * processes whose cwd is inside this invocation's private fixture, validating+ * their PID/start marker/executable again immediately before each signal. */+export async function cleanupFixtureGit(root: string): Promise<number> {+ assert(dirname(root) === realpathSync(tmpdir()) && /^harness-resume-native-[A-Za-z0-9]+$/.test(basename(root)),+ "cleanup must name a private native-fixture directory")+ // The caller installs its private environment before importing production+ // modules. Do not initialize the registry from this helper's static imports.+ const { argvTokens, processRows } = await import('../src/lib/tmux.js')+ const owned = async () => {+ const rows = await processRows()+ assert(rows, 'process table must be available to verify fixture cleanup')+ const candidates = rows.filter(row => /^(?:git|git-remote-https?)$/.test(basename(argvTokens(row.args)[0] ?? row.executable)))+ const found = []+ for (const row of candidates) {+ let cwd = ''+ try {+ cwd = process.platform === 'linux' ? await readlink(`/proc/${row.pid}/cwd`)+ : (await exec('lsof', ['-a', '-p', String(row.pid), '-d', 'cwd', '-Fn'], { timeout: 5000 }))+ .stdout.split('\n').find(line => line.startsWith('n'))?.slice(1) ?? ''+ } catch (error) {+ const code = (error as NodeJS.ErrnoException).code+ if (code === 'EPERM' || (code === 'ENOENT' && process.platform !== 'linux')) throw error+ continue // The process may have exited during inspection.+ }+ if (cwd === root || cwd.startsWith(`${root}/`)) found.push(row)+ }+ return found+ }+ const initial = await owned()+ for (const signal of ['SIGTERM', 'SIGKILL'] as const) {+ for (const row of initial) {+ const current = await processRows()+ assert(current, 'process table must be available before fixture cleanup')+ if (!current.some(live => live.pid === row.pid && live.startMarker === row.startMarker && live.executable === row.executable && live.args === row.args)) continue+ try { process.kill(row.pid, signal) }+ catch (error) { if ((error as NodeJS.ErrnoException).code !== 'ESRCH') throw error }+ }+ for (let attempt = 0; attempt < 10; attempt++) {+ if (!(await owned()).length) { return initial.length }+ await new Promise(resolve => setTimeout(resolve, 100))+ }+ }+ assert.equal((await owned()).length, 0, 'fixture-owned Git fetches must exit')+ return initial.length+}diff --git a/cli/scripts/process-discovery-bench.ts b/cli/scripts/process-discovery-bench.tsnew file mode 100644index 000000000..ee6a80bd2--- /dev/null+++ b/cli/scripts/process-discovery-bench.ts@@ -0,0 +1,148 @@+/** Full discovery-scan comparison, with identical current dependencies and tooling.+ * Run from cli/: node --import tsx scripts/process-discovery-bench.ts /tmp/discovery.json+ * Builds the two changed modules from CLI 0.3.46 and the working tree into private+ * temporary bundles. Never attaches to live terminals or starts agents.+ */+import assert from 'node:assert/strict'+import { createHash } from 'node:crypto'+import { execFileSync } from 'node:child_process'+import { mkdtemp, readFile, rm, symlink, writeFile } from 'node:fs/promises'+import { tmpdir } from 'node:os'+import { dirname, join, resolve } from 'node:path'+import { fileURLToPath, pathToFileURL } from 'node:url'+import { build } from 'esbuild'+import type { AgentCommandOwnershipSnapshot } from '../src/lib/engineBin.js'+import type { ProcessRow } from '../src/lib/tmux.js'+import type { TerminalRootObservation } from '../src/lib/terminalTypes.js'++const BASELINE = 'c1ab7ff1c9a26dba7fb6a27c45e6abd76b90b92d'+const cli = resolve(dirname(fileURLToPath(import.meta.url)), '..')+const root = resolve(cli, '..')+const output = process.argv[2]+assert(output, 'Supply a fresh output JSON path')+const temporary = await mkdtemp(join(tmpdir(), 'harness-discovery-benchmark-'))+const ownership: AgentCommandOwnershipSnapshot = {+ cursorFileKeys: new Set(), grokFileKeys: new Set(), conflictingFileKeys: new Set(),+ agentCandidates: [], cursorAgentCandidates: [], grokCandidates: [],+}+const modules = ['tmux.ts', 'terminalAgentDiscovery.ts']+const previousDataDir = process.env.ADAPTER_DATA_DIR+process.env.ADAPTER_DATA_DIR = join(temporary, 'state')++type Api = typeof import('../src/lib/tmux.js') & typeof import('../src/lib/terminalAgentDiscovery.js') & typeof import('../src/engines/types.js')++async function bundle(mode: 'previous' | 'current'): Promise<Api> {+ const outfile = join(temporary, `${mode}.mjs`)+ await build({+ stdin: {+ contents: `export { discoverTerminalAgentsFromSnapshot } from './src/lib/terminalAgentDiscovery.ts';+ export { engineProcessMatch, ambiguousAgentProcess, argvTokens } from './src/lib/tmux.ts';+ export { PROCESS_ENGINES } from './src/engines/types.ts';`,+ resolveDir: cli, loader: 'ts',+ },+ outfile, platform: 'node', format: 'esm', bundle: true, packages: 'external',+ plugins: mode === 'previous' ? [{+ name: 'released-matching-source',+ setup(builder) {+ builder.onLoad({ filter: /[/\\](tmux|terminalAgentDiscovery)\.ts$/ }, args => ({+ contents: execFileSync('git', ['show', `${BASELINE}:cli/src/lib/${args.path.split(/[/\\]/).pop()}`], { cwd: root, encoding: 'utf8' }),+ loader: 'ts', resolveDir: dirname(args.path),+ }))+ },+ }] : [],+ })+ return import(pathToFileURL(outfile).href) as Promise<Api>+}++function fixture(panes: number, longArguments: boolean) {+ const rows: ProcessRow[] = []+ const roots: TerminalRootObservation[] = []+ const startMarker = 'Thu Oct 1 08:00:00 2026'+ const payload = 'ordinary shell wrapper instruction '.repeat(longArguments ? 115 : 1)+ for (let i = 0; i < panes; i++) {+ const pid = 100 + i * 4+ roots.push({ runtime: { backend: 'tmux', paneId: `%${i}` }, rootPid: pid, cwd: `/fixture/${i}` })+ rows.push({ pid, parentPid: 2, executable: '/bin/zsh', startMarker, args: `/bin/zsh -c ${payload}` })+ rows.push({ pid: pid + 1, parentPid: pid, executable: i % 2 ? 'codex' : 'claude', startMarker,+ args: i % 2 ? 'codex resume 0199aa00-0000-4000-8000-000000000000' : 'claude --resume 0199aa00-0000-4000-8000-000000000000' })+ rows.push({ pid: pid + 2, parentPid: pid + 1, executable: 'python3', startMarker, args: `python3 worker.py ${payload}` })+ rows.push({ pid: pid + 3, parentPid: pid + 1, executable: 'node', startMarker, args: `node /fixture/helper.js ${payload}` })+ }+ for (let i = 0; rows.length < 1022; i++) rows.push({ pid: 10000 + i, parentPid: 1, executable: 'background-service', args: 'background-service', startMarker })+ return { rows, roots }+}++/** Unchanged full-token semantics are the reference, including imperfect ps quoting.+ * Do not silently invent a different shell grammar while reducing allocations. */+function compareMatching(previous: Api, current: Api): number {+ const words = ['', 'env', 'A=x', '-i', 'ori', '--model', '--log-level', '--completions',+ 'node', 'python3.14', 'bun', 'sh', '--', '-m', '-c', '--eval', '--require', '--import',+ 'codex', 'claude', 'agent', 'grok', 'hermes', 'cursor-agent', 'worker.py', '""', "''",+ '"a space"', "'a space'", '"unfinished', "'unfinished", 'x"quoted"',+ '/fixture/cursor-agent/versions/123/index.js', '/fixture/@openai/codex/bin/codex.js']+ let seed = 0x4139a+ const next = () => (seed = (Math.imul(seed, 1664525) + 1013904223) >>> 0) >>> 16+ const cases = 2000+ for (let i = 0; i < cases; i++) {+ const args = Array.from({ length: next() % 18 }, () => words[next() % words.length]).join(i % 3 ? ' ' : '\t')+ const row = { executable: ['node', 'agent', 'python3', 'unidentified-launcher'][i % 4], args }+ assert.deepEqual(current.argvTokens(args), previous.argvTokens(args))+ assert.equal(current.ambiguousAgentProcess(row, ownership), previous.ambiguousAgentProcess(row, ownership))+ for (const engine of current.PROCESS_ENGINES) {+ assert.deepEqual(current.engineProcessMatch(row, engine, ownership), previous.engineProcessMatch(row, engine, ownership), `${engine}: ${args}`)+ }+ }+ return cases+}++try {+ await symlink(join(cli, 'node_modules'), join(temporary, 'node_modules'), 'dir')+ const previous = await bundle('previous')+ const current = await bundle('current')+ const differentialCases = compareMatching(previous, current)+ const samples: Array<{ workload: string; panes: number; mode: string; round: number; scans: number; wallMs: number; nodeCpuMs: number }> = []+ for (const workload of ['short-arguments', 'wrapper-4k']) {+ for (const panes of [1, 16, 105]) {+ const { rows, roots } = fixture(panes, workload === 'wrapper-4k')+ const scan = (api: Api) => api.discoverTerminalAgentsFromSnapshot(roots, rows, 99999, ['tmux'], new Map(), ownership)+ const expected = scan(previous)+ assert.deepEqual(scan(current), expected)+ assert.equal(expected.agents.length, panes)+ assert.deepEqual(expected.agents.map(agent => agent.processIdentity.pid), roots.map(observation => observation.rootPid + 1))+ for (let i = 0; i < 30; i++) { scan(previous); scan(current) }+ for (let round = 0; round < 30; round++) {+ for (const mode of round % 2 ? ['current', 'previous'] : ['previous', 'current']) {+ const api = mode === 'current' ? current : previous+ const cpu = process.cpuUsage()+ const started = performance.now()+ for (let i = 0; i < 5; i++) scan(api)+ const wallMs = performance.now() - started+ const usage = process.cpuUsage(cpu)+ samples.push({ workload, panes, mode, round, scans: 5, wallMs, nodeCpuMs: (usage.user + usage.system) / 1000 })+ assert.deepEqual(scan(api), expected)+ }+ }+ }+ }+ const summary = ['short-arguments', 'wrapper-4k'].flatMap(workload => [1, 16, 105].map(panes => ({+ workload, panes,+ ...Object.fromEntries(['previous', 'current'].map(mode => {+ const selected = samples.filter(row => row.workload === workload && row.panes === panes && row.mode === mode)+ return [mode, { nodeCpuMs: selected.reduce((sum, row) => sum + row.nodeCpuMs, 0), wallMs: selected.reduce((sum, row) => sum + row.wallMs, 0) }]+ })),+ })))+ const result = {+ recordedAt: new Date().toISOString(), node: process.version, platform: `${process.platform}-${process.arch}`,+ baseline: BASELINE, currentHead: execFileSync('git', ['rev-parse', 'HEAD'], { cwd: root, encoding: 'utf8' }).trim(),+ currentModuleSha256: Object.fromEntries(await Promise.all(modules.map(async file =>+ [file, createHash('sha256').update(await readFile(join(cli, 'src/lib', file))).digest('hex')]))),+ scope: 'Pure full discovery scans over 1,022 synthetic process rows, including allocations and GC. Excludes process collection, tmux, transport, rendering and battery.',+ differentialCases, warmups: 30, rounds: 30, scansPerRound: 5, summary, samples,+ }+ await writeFile(resolve(output), JSON.stringify(result, null, 2) + '\n', { flag: 'wx' })+ console.log(JSON.stringify({ differentialCases, summary }, null, 2))+} finally {+ if (previousDataDir === undefined) delete process.env.ADAPTER_DATA_DIR+ else process.env.ADAPTER_DATA_DIR = previousDataDir+ await rm(temporary, { recursive: true, force: true })+}diff --git a/cli/scripts/resume-native-e2e.ts b/cli/scripts/resume-native-e2e.tsindex 1cf6d25a2..6ba7793e6 100644--- a/cli/scripts/resume-native-e2e.ts+++ b/cli/scripts/resume-native-e2e.ts@@ -11,6 +11,7 @@ import { tmpdir } from 'node:os'import { join, resolve } from 'node:path'import { randomUUID } from 'node:crypto'import { createServer } from 'node:http'+import { cleanupFixtureGit } from './native-fixture-git.js'import assert from 'node:assert/strict'const exec = promisify(execCallback)const root = realpathSync(mkdtempSync(join(tmpdir(), 'harness-resume-native-')))@@ -47,6 +48,7 @@ const { buildEngineLaunchArgv } = await import('../src/lib/engineLaunch.js')const { createResumeAgentService } = await import('../src/lib/resumeAgentService.js')const { AgentRestartCoordinator } = await import('../src/lib/restartAgent.js')const { resolvePaneEngineProcess, checkSessionRuntime, lookupPaneEngineProcess, tmuxPaneProcessTree } = await import('../src/lib/tmux.js')+const { probeTerminalAgents } = await import('../src/lib/terminalAgentDiscovery.js')const { captureResumeIdentity } = await import('../src/lib/captureResumeIdentity.js')const { claudeProcessSession } = await import('../src/lib/sessionRepair.js')const { checkPidRuntime } = await import('../src/lib/deleteAgentFallback.js')@@ -79,6 +81,8 @@ const rpc = async (type: string, payload: Record<string, unknown>) => {const response = replies.get(requestId); assert(response, `missing ${type} reply`); return response}const log = (msg: string) => console.log(`[resume-native] ${msg}`)++try {// Anchor keeps pane IDs monotonic even after Stop removes the last engine session.await tmux('new-session', '-d', '-s', 'fixture-anchor', '/bin/sh')@@ -237,6 +241,14 @@ try {assert.equal(result.state, 'created', JSON.stringify(result)); assert.equal(result.resumed, true)const live = registry.byAgent(old.agentId)!assert.equal(live.sessionId, sessionId); assert.equal(live.launch?.state, 'ready'); assert(live.processIdentity)+ const discovery = await probeTerminalAgents([backend], ['tmux'])+ assert(discovery.processTableAvailable, 'native process table must be readable')+ const discovered = discovery.agents.filter(agent => agent.runtimes.some(runtime => runtime.paneId === live.tmuxPane))+ assert.equal(discovered.length, 1, 'the live discovery coordinator must identify exactly one engine in the resumed pane')+ assert.equal(discovered[0].engine, engine)+ assert.equal(discovered[0].processIdentity.pid, live.processIdentity.pid)+ assert.equal(discovered[0].processIdentity.startMarker, live.processIdentity.startMarker)+ log(`${engine}: live coordinator identified the resumed process`)assert(hooks.some(h => h.engine === engine && h.sessionId === sessionId), 'native SessionStart must confirm saved id')const screen = await tmux('capture-pane', '-p', '-S', '-500', '-t', live.tmuxPane)assert(screen.includes(marker), 'restored conversation text must be visible')@@ -434,6 +446,7 @@ try {await tmux('kill-server').catch(() => {})server.server.closeAllConnections(); await new Promise<void>(r => server.server.close(() => r()))await socketBackend.stop()+ log(`fixture Git cleanup verified (${await cleanupFixtureGit(root)} processes)`)// Keep fixture diagnostics when requested; contains only synthetic history, no credentials.if (process.env.KEEP_RESUME_FIXTURE === '1') log(`fixture: ${root}`)else {diff --git a/cli/src/backendSocket.gridReads.spec.ts b/cli/src/backendSocket.gridReads.spec.tsindex 3f0a1c227..88cca217a 100644--- a/cli/src/backendSocket.gridReads.spec.ts+++ b/cli/src/backendSocket.gridReads.spec.ts@@ -217,10 +217,16 @@ describe('grid_models_list — computers of mine that seem offline (issue 03)',clock += 60_000observeMachineList(studioOffline, 'computer-here')- await vi.waitFor(() => expect(frames.some((f) => f.type === 'grid_models_changed')).toBe(true), { timeout: 5_000 })- await vi.waitFor(() => expect(old.some((f) => f.type === 'grid_models_changed')).toBe(true), { timeout: 5_000 })- expect(rows(frames.find((f) => f.type === 'grid_models_changed')!.payload)).toEqual([expect.objectContaining({ node: 'studio', unavailable: expect.anything() })])- expect(rows(old.find((f) => f.type === 'grid_models_changed')!.payload)).toEqual([{ id: 'big-model', node: 'Studio · seems offline' }])+ // Setup can already have pushed the serving/asleep picture to either window.+ // The coalesced offline update must reach both; their first push need not be it.+ await vi.waitFor(() => {+ const current = frames.filter((f) => f.type === 'grid_models_changed').at(-1)+ const legacy = old.filter((f) => f.type === 'grid_models_changed').at(-1)+ expect(current).toBeDefined()+ expect(legacy).toBeDefined()+ expect(rows(current!.payload)).toEqual([expect.objectContaining({ node: 'studio', unavailable: expect.anything() })])+ expect(rows(legacy!.payload)).toEqual([{ id: 'big-model', node: 'Studio · seems offline' }])+ }, { timeout: 5_000 })await socket.unregisterLocalClient('local:old-build')})})diff --git a/cli/src/lib/processArgv.spec.ts b/cli/src/lib/processArgv.spec.tsnew file mode 100644index 000000000..92517c497--- /dev/null+++ b/cli/src/lib/processArgv.spec.ts@@ -0,0 +1,63 @@+import { describe, expect, it } from 'vitest'+import { PROCESS_ENGINES } from '../engines/types.js'+import type { AgentCommandOwnershipSnapshot } from './engineBin.js'+import { ambiguousAgentProcess, argvTokens, engineProcessMatchScore } from './tmux.js'++const ownership: AgentCommandOwnershipSnapshot = {+ cursorFileKeys: new Set(), grokFileKeys: new Set(), conflictingFileKeys: new Set(),+ agentCandidates: [], cursorAgentCandidates: [], grokCandidates: [],+}++function matches(args: string, executable = 'unidentified-launcher') {+ return Object.fromEntries(PROCESS_ENGINES.flatMap(engine => {+ const score = engineProcessMatchScore({ args, executable }, engine, ownership)+ return score > 0 ? [[engine, score]] : []+ }))+}++describe('process command prefixes', () => {+ it.each([+ 'codex resume saved-thread',+ 'env -i MODE=local codex resume saved-thread',+ 'env MODE=local ori --model example --log-level debug codex',+ 'ori --completions zsh --quiet codex',+ 'node --require preload --loader loader --import setup --conditions custom --inspect-port 9229 codex',+ 'node -- codex',+ 'node --require "some package" "/fixture/path with spaces/codex"',+ "node --require '' '/fixture/path with spaces/codex'",+ 'bun --unknown-flag codex',+ 'python3.14 -m codex',+ ])('identifies only the executable in %s', args => {+ expect(matches(args)).toEqual({ codex: 3 })+ expect(matches(`${args} ${'claude hermes grok cursor-agent '.repeat(150)}`)).toEqual({ codex: 3 })+ })++ it.each([+ '', ' ', 'env', 'env -i MODE=local', 'ori', 'ori --model',+ 'node', 'node --', 'node -m', 'node --require', 'node --import',+ 'env "" codex', 'node "" codex', 'ori "" codex', 'python -m "" codex',+ 'node --eval "codex"', 'bash -c "claude --resume example"',+ 'python3 worker.py "codex and claude"',+ ])('does not invent an engine from an incomplete prefix or source text: %s', args => {+ expect(matches(args)).toEqual({})+ })++ it('keeps the eight-token Cursor boundary, including empty quoted arguments', () => {+ const entrypoint = '/fixture/cursor-agent/versions/123/index.js'+ const inside = `agent ${'"" '.repeat(6)}${entrypoint}`+ const outside = `agent ${'"" '.repeat(7)}${entrypoint}`+ expect(matches(inside, 'agent')).toEqual({ cursor: 3 })+ expect(matches(outside, 'agent')).toEqual({})+ expect(ambiguousAgentProcess({ executable: 'agent', args: inside }, ownership)).toBe(false)+ expect(ambiguousAgentProcess({ executable: 'agent', args: outside }, ownership)).toBe(true)+ })++ it('leaves complete argv parsing available to resume and permission callers', () => {+ const suffix = Array.from({ length: 300 }, (_, i) => `arg${i}`)+ const args = `node --require "path with spaces" '' codex ${suffix.join(' ')} --resume saved-thread`+ const expected = ['node', '--require', 'path with spaces', '', 'codex', ...suffix, '--resume', 'saved-thread']+ expect(argvTokens(args)).toEqual(expected)+ expect(matches('node codex')).toEqual({ codex: 3 })+ expect(argvTokens(args)).toEqual(expected)+ })+})diff --git a/cli/src/lib/tmux.ts b/cli/src/lib/tmux.tsindex 1ba34e30f..7030a961e 100644--- a/cli/src/lib/tmux.ts+++ b/cli/src/lib/tmux.ts@@ -55,13 +55,36 @@ export interface ProcessRow extends ProcessIdentity {entrypointFileKey?: string}+const ARGV_TOKEN = /"[^"]*"|'[^']*'|\S+/g++function unquoteArgvToken(token: string): string {+ const quoted = (token.startsWith('"') && token.endsWith('"')) || (token.startsWith("'") && token.endsWith("'"))+ return quoted ? token.slice(1, -1) : token+}+export function argvTokens(args: string): string[] {- return (args.match(/"[^"]*"|'[^']*'|\S+/g) ?? []).map((token) => {- const quoted = (token.startsWith('"') && token.endsWith('"')) || (token.startsWith("'") && token.endsWith("'"))- return quoted ? token.slice(1, -1) : token- })+ return (args.match(ARGV_TOKEN) ?? []).map(unquoteArgvToken)}+/** Discovery only needs a command prefix. Do not tokenize a shell script or+ * prompt suffix once per candidate engine. Keep the same token grammar as+ * argvTokens, but stop scanning as soon as the consumer has enough evidence. */+function argvPrefix(args: string): () => string | undefined {+ const pattern = new RegExp(ARGV_TOKEN)+ let done = false+ return () => {+ if (done) return undefined+ const match = pattern.exec(args)+ if (match) return unquoteArgvToken(match[0])+ done = true // RegExp.exec resets lastIndex at EOF; never restart the prefix.+ return undefined+ }+}++const ORI_FLAGS_WITH_VALUE = new Set(['--model', '--log-level', '--completions'])+const INTERPRETER_OPTIONS_WITH_VALUE = new Set(['-r', '--require', '--loader', '--import', '--conditions', '--inspect-port'])+const INLINE_CODE_OPTIONS = new Set(['-c', '--command', '-e', '--eval', '--print'])+/*** Return only the executable/script portion of argv, never prompt text or later CLI arguments.*@@ -71,50 +94,51 @@ export function argvTokens(args: string): string[] {* prefixes are deliberately retained only for suffix/package-layout checks and are never hard-coded.*/function processEntrypoint(args: string): string {- const tokens = argvTokens(args)- if (!tokens.length) return ''- let index = 0- let command = basename(tokens[index]).toLowerCase()+ const next = argvPrefix(args)+ let token = next() ?? ''+ let command = basename(token).toLowerCase()if (command === 'env') {- index++- while (index < tokens.length && (tokens[index].startsWith('-') || /^[A-Za-z_][A-Za-z0-9_]*=/.test(tokens[index]))) index++- command = basename(tokens[index] ?? '').toLowerCase()+ token = next() ?? ''+ while (token.startsWith('-') || /^[A-Za-z_][A-Za-z0-9_]*=/.test(token)) token = next() ?? ''+ command = basename(token).toLowerCase()}// `ori <engine>` (OpenRouter's launcher) computes an environment and then `execve`s the vendor binary// away, so a pane running it looks exactly like a bare `claude`/`codex` for all but the ~100ms before// the exec. Reading through the wrapper covers that window — and keeps the pane resolvable if a future// ori ever spawns a child instead. Its own flags are skipped; everything after them is the engine.if (command === 'ori') {- index++- const oriFlagsWithValue = new Set(['--model', '--log-level', '--completions'])- while (index < tokens.length && tokens[index].startsWith('-')) {- index += oriFlagsWithValue.has(tokens[index]) && index + 1 < tokens.length ? 2 : 1+ token = next() ?? ''+ while (token.startsWith('-')) {+ if (ORI_FLAGS_WITH_VALUE.has(token)) next()+ token = next() ?? ''}- command = basename(tokens[index] ?? '').toLowerCase()+ command = basename(token).toLowerCase()}- if (!/^(?:node|nodejs|bun|deno|python(?:\d+(?:\.\d+)*)?|bash|zsh|sh)$/.test(command)) return tokens[index] ?? ''-- index++- const optionsWithValue = new Set(['-r', '--require', '--loader', '--import', '--conditions', '--inspect-port'])- const inlineCodeOptions = new Set(['-c', '--command', '-e', '--eval', '--print'])- while (index < tokens.length) {- const token = tokens[index]- if (token === '--') { index++; break }- if (token === '-m' && index + 1 < tokens.length) return tokens[index + 1]+ if (!/^(?:node|nodejs|bun|deno|python(?:\d+(?:\.\d+)*)?|bash|zsh|sh)$/.test(command)) return token++ token = next() ?? ''+ while (token) {+ if (token === '--' || token === '-m') return next() ?? ''// Inline shell/Node/Python source is not an executable entrypoint. Its text can legitimately mention// an engine command; the real child process, if one is launched, will be discovered from its own row.- if (inlineCodeOptions.has(token)) return ''+ if (INLINE_CODE_OPTIONS.has(token)) return ''if (!token.startsWith('-')) break- index += optionsWithValue.has(token) && index + 1 < tokens.length ? 2 : 1+ if (INTERPRETER_OPTIONS_WITH_VALUE.has(token)) next()+ token = next() ?? ''}- return tokens[index] ?? ''+ return token}function hasCursorPackageEntrypoint(args: string): boolean {// Cursor's launcher uses `exec -a "$0" node .../index.js`, so argv[0] may stay `agent` instead of// `node`. Restrict this scan to the executable prefix: prompt text can appear later and is not proof.- return argvTokens(args).slice(0, 8).some((token) =>- /cursor-agent[\/\\]versions[\/\\][^/\\]+[\/\\]index\.js$/i.test(token))+ const next = argvPrefix(args)+ for (let seen = 0; seen < 8; seen++) {+ const token = next()+ if (token === undefined) break+ if (/cursor-agent[\/\\]versions[\/\\][^/\\]+[\/\\]index\.js$/i.test(token)) return true+ }+ return false}/** Hermes' managed launchers exec Python -I -c with a path bootstrap, then either import main@@ -123,7 +147,7 @@ function hasCursorPackageEntrypoint(args: string): boolean {* Keep the standalone hook's copy in sync. */function hermesInlineLauncher(row: Pick<ProcessRow, 'args'>): boolean {const args = row.args.trim()- if (!/^python(?:\d+(?:\.\d+)*)?$/.test(basename(argvTokens(args)[0] ?? '').toLowerCase())) return false+ if (!/^python(?:\d+(?:\.\d+)*)?$/.test(basename(argvPrefix(args)() ?? '').toLowerCase())) return falseconst prefix = /^(?:"[^"]+"|'[^']+'|\S+)(?:\s+-(?:I|E|s|S|u|B|O{1,2}|q))*\s+-c\s+/.exec(args)if (!prefix) return falseconst source = args.slice(prefix[0].length).replace(/^["']/, '')diff --git a/docs/performance/2026-10-01-process-discovery-data/native-macos.json b/docs/performance/2026-10-01-process-discovery-data/native-macos.jsonnew file mode 100644index 000000000..6fe481260--- /dev/null+++ b/docs/performance/2026-10-01-process-discovery-data/native-macos.json@@ -0,0 +1,3332 @@+{+ "recordedAt": "2026-10-01T13:08:37.867Z",+ "node": "v22.23.2",+ "platform": "darwin-arm64",+ "baseline": "c1ab7ff1c9a26dba7fb6a27c45e6abd76b90b92d",+ "currentHead": "c1ab7ff1c9a26dba7fb6a27c45e6abd76b90b92d",+ "currentModuleSha256": {+ "tmux.ts": "d8853cc6562d117ffb5a93d695dc905a6f8ac5560e4df216edd91fdd68d19e3a",+ "terminalAgentDiscovery.ts": "f8993f27c282128075072325d8a7632b0c7e77a8d06996e18ed44b06dbccaff8"+ },+ "scope": "Pure full discovery scans over 1,022 synthetic process rows, including allocations and GC. Excludes process collection, tmux, transport, rendering and battery.",+ "differentialCases": 2000,+ "warmups": 30,+ "rounds": 30,+ "scansPerRound": 5,+ "summary": [+ {+ "workload": "short-arguments",+ "panes": 1,+ "previous": {+ "nodeCpuMs": 17.961000000000002,+ "wallMs": 14.534790999999814+ },+ "current": {+ "nodeCpuMs": 16.74,+ "wallMs": 13.404292000000112+ }+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "previous": {+ "nodeCpuMs": 103.54999999999998,+ "wallMs": 93.75450600000028+ },+ "current": {+ "nodeCpuMs": 90.77199999999999,+ "wallMs": 73.53779500000002+ }+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "previous": {+ "nodeCpuMs": 557.3270000000002,+ "wallMs": 556.7807100000001+ },+ "current": {+ "nodeCpuMs": 425.15,+ "wallMs": 422.48595899999964+ }+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "previous": {+ "nodeCpuMs": 111.28200000000001,+ "wallMs": 111.05158400000073+ },+ "current": {+ "nodeCpuMs": 10.879999999999999,+ "wallMs": 10.7838310000011+ }+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "previous": {+ "nodeCpuMs": 1695.7069999999999,+ "wallMs": 1695.4084159999989+ },+ "current": {+ "nodeCpuMs": 71.268,+ "wallMs": 71.07199899999932+ }+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "previous": {+ "nodeCpuMs": 12233.744999999999,+ "wallMs": 12208.001083999996+ },+ "current": {+ "nodeCpuMs": 432.29099999999994,+ "wallMs": 431.30654300000424+ }+ }+ ],+ "samples": [+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 0,+ "scans": 5,+ "wallMs": 0.5235829999999737,+ "nodeCpuMs": 0.988+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 0,+ "scans": 5,+ "wallMs": 0.4939170000000104,+ "nodeCpuMs": 0.496+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 1,+ "scans": 5,+ "wallMs": 0.6483749999999873,+ "nodeCpuMs": 0.755+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 1,+ "scans": 5,+ "wallMs": 0.5317919999999958,+ "nodeCpuMs": 0.534+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 2,+ "scans": 5,+ "wallMs": 0.5065000000000168,+ "nodeCpuMs": 0.511+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 2,+ "scans": 5,+ "wallMs": 0.47454199999998536,+ "nodeCpuMs": 0.477+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 3,+ "scans": 5,+ "wallMs": 0.4808750000000259,+ "nodeCpuMs": 0.485+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 3,+ "scans": 5,+ "wallMs": 0.7199589999999603,+ "nodeCpuMs": 2.048+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 4,+ "scans": 5,+ "wallMs": 0.5525000000000091,+ "nodeCpuMs": 1.232+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 4,+ "scans": 5,+ "wallMs": 0.5004169999999704,+ "nodeCpuMs": 0.502+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 5,+ "scans": 5,+ "wallMs": 0.47195900000002666,+ "nodeCpuMs": 2.456+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 5,+ "scans": 5,+ "wallMs": 0.5104579999999714,+ "nodeCpuMs": 0.839+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 6,+ "scans": 5,+ "wallMs": 0.5078750000000127,+ "nodeCpuMs": 0.996+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 6,+ "scans": 5,+ "wallMs": 0.5063329999999837,+ "nodeCpuMs": 0.558+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 7,+ "scans": 5,+ "wallMs": 0.37958299999996825,+ "nodeCpuMs": 0.381+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 7,+ "scans": 5,+ "wallMs": 0.4317079999999578,+ "nodeCpuMs": 0.433+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 8,+ "scans": 5,+ "wallMs": 0.41362500000002456,+ "nodeCpuMs": 0.415+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 8,+ "scans": 5,+ "wallMs": 0.3872500000000514,+ "nodeCpuMs": 0.388+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 9,+ "scans": 5,+ "wallMs": 0.3860000000000241,+ "nodeCpuMs": 0.387+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 9,+ "scans": 5,+ "wallMs": 0.4597919999999931,+ "nodeCpuMs": 0.465+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 10,+ "scans": 5,+ "wallMs": 0.4203749999999786,+ "nodeCpuMs": 0.422+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 10,+ "scans": 5,+ "wallMs": 0.39562499999999545,+ "nodeCpuMs": 0.397+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 11,+ "scans": 5,+ "wallMs": 0.3774579999999901,+ "nodeCpuMs": 0.379+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 11,+ "scans": 5,+ "wallMs": 0.42370799999997644,+ "nodeCpuMs": 0.424+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 12,+ "scans": 5,+ "wallMs": 0.5303749999999923,+ "nodeCpuMs": 0.562+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 12,+ "scans": 5,+ "wallMs": 0.3785410000000411,+ "nodeCpuMs": 0.38+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 13,+ "scans": 5,+ "wallMs": 0.38158300000003464,+ "nodeCpuMs": 0.383+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 13,+ "scans": 5,+ "wallMs": 0.4392080000000078,+ "nodeCpuMs": 0.442+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 14,+ "scans": 5,+ "wallMs": 0.4256669999999758,+ "nodeCpuMs": 0.426+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 14,+ "scans": 5,+ "wallMs": 0.3881659999999556,+ "nodeCpuMs": 0.389+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 15,+ "scans": 5,+ "wallMs": 0.4935419999999908,+ "nodeCpuMs": 1.613+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 15,+ "scans": 5,+ "wallMs": 0.4415829999999801,+ "nodeCpuMs": 0.442+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 16,+ "scans": 5,+ "wallMs": 0.4287919999999872,+ "nodeCpuMs": 0.433+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 16,+ "scans": 5,+ "wallMs": 0.3859170000000063,+ "nodeCpuMs": 0.387+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 17,+ "scans": 5,+ "wallMs": 0.40504199999998036,+ "nodeCpuMs": 0.406+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 17,+ "scans": 5,+ "wallMs": 0.5352080000000115,+ "nodeCpuMs": 0.589+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 18,+ "scans": 5,+ "wallMs": 0.4171670000000063,+ "nodeCpuMs": 0.418+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 18,+ "scans": 5,+ "wallMs": 0.3791249999999877,+ "nodeCpuMs": 0.381+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 19,+ "scans": 5,+ "wallMs": 0.37483300000002373,+ "nodeCpuMs": 0.377+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 19,+ "scans": 5,+ "wallMs": 0.4174160000000029,+ "nodeCpuMs": 0.418+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 20,+ "scans": 5,+ "wallMs": 0.42770799999999554,+ "nodeCpuMs": 0.428+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 20,+ "scans": 5,+ "wallMs": 1.0031250000000114,+ "nodeCpuMs": 1.043+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 21,+ "scans": 5,+ "wallMs": 0.3770420000000172,+ "nodeCpuMs": 0.378+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 21,+ "scans": 5,+ "wallMs": 0.4213330000000042,+ "nodeCpuMs": 0.422+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 22,+ "scans": 5,+ "wallMs": 0.42304200000000947,+ "nodeCpuMs": 0.424+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 22,+ "scans": 5,+ "wallMs": 0.3752089999999839,+ "nodeCpuMs": 0.375+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 23,+ "scans": 5,+ "wallMs": 0.3768330000000333,+ "nodeCpuMs": 0.378+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 23,+ "scans": 5,+ "wallMs": 0.492334000000028,+ "nodeCpuMs": 0.494+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 24,+ "scans": 5,+ "wallMs": 0.5162919999999644,+ "nodeCpuMs": 0.517+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 24,+ "scans": 5,+ "wallMs": 0.49891600000000835,+ "nodeCpuMs": 0.5+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 25,+ "scans": 5,+ "wallMs": 0.45924999999999727,+ "nodeCpuMs": 0.459+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 25,+ "scans": 5,+ "wallMs": 0.49741699999998445,+ "nodeCpuMs": 0.499+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 26,+ "scans": 5,+ "wallMs": 0.6596660000000156,+ "nodeCpuMs": 0.677+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 26,+ "scans": 5,+ "wallMs": 0.41558300000002646,+ "nodeCpuMs": 0.417+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 27,+ "scans": 5,+ "wallMs": 0.3841249999999832,+ "nodeCpuMs": 0.386+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 27,+ "scans": 5,+ "wallMs": 0.4684159999999906,+ "nodeCpuMs": 0.469+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 28,+ "scans": 5,+ "wallMs": 0.4274589999999989,+ "nodeCpuMs": 0.429+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 28,+ "scans": 5,+ "wallMs": 0.3818340000000262,+ "nodeCpuMs": 0.383+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "current",+ "round": 29,+ "scans": 5,+ "wallMs": 0.44329199999998536,+ "nodeCpuMs": 0.444+ },+ {+ "workload": "short-arguments",+ "panes": 1,+ "mode": "previous",+ "round": 29,+ "scans": 5,+ "wallMs": 0.5638329999999883,+ "nodeCpuMs": 0.565+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 0,+ "scans": 5,+ "wallMs": 3.1440000000000055,+ "nodeCpuMs": 3.144+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 0,+ "scans": 5,+ "wallMs": 2.4052919999999745,+ "nodeCpuMs": 2.408+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 1,+ "scans": 5,+ "wallMs": 2.370999999999981,+ "nodeCpuMs": 2.373+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 1,+ "scans": 5,+ "wallMs": 3.0260000000000105,+ "nodeCpuMs": 3.027+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 2,+ "scans": 5,+ "wallMs": 3.0131250000000023,+ "nodeCpuMs": 3.015+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 2,+ "scans": 5,+ "wallMs": 2.3300839999999994,+ "nodeCpuMs": 2.334+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 3,+ "scans": 5,+ "wallMs": 2.335958000000005,+ "nodeCpuMs": 2.869+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 3,+ "scans": 5,+ "wallMs": 2.9911670000000186,+ "nodeCpuMs": 3.329+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 4,+ "scans": 5,+ "wallMs": 3.0018340000000308,+ "nodeCpuMs": 3.007+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 4,+ "scans": 5,+ "wallMs": 2.328584000000035,+ "nodeCpuMs": 2.33+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 5,+ "scans": 5,+ "wallMs": 2.303291999999999,+ "nodeCpuMs": 2.303+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 5,+ "scans": 5,+ "wallMs": 2.977333999999985,+ "nodeCpuMs": 2.978+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 6,+ "scans": 5,+ "wallMs": 2.9900420000000167,+ "nodeCpuMs": 2.991+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 6,+ "scans": 5,+ "wallMs": 2.4603330000000483,+ "nodeCpuMs": 2.462+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 7,+ "scans": 5,+ "wallMs": 2.2959170000000313,+ "nodeCpuMs": 2.297+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 7,+ "scans": 5,+ "wallMs": 3.0587079999999673,+ "nodeCpuMs": 3.059+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 8,+ "scans": 5,+ "wallMs": 3.067875000000015,+ "nodeCpuMs": 3.071+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 8,+ "scans": 5,+ "wallMs": 2.4934579999999755,+ "nodeCpuMs": 2.499+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 9,+ "scans": 5,+ "wallMs": 2.374334000000033,+ "nodeCpuMs": 2.376+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 9,+ "scans": 5,+ "wallMs": 3.2021669999999745,+ "nodeCpuMs": 3.205+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 10,+ "scans": 5,+ "wallMs": 2.9812089999999785,+ "nodeCpuMs": 2.983+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 10,+ "scans": 5,+ "wallMs": 2.543042000000014,+ "nodeCpuMs": 2.571+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 11,+ "scans": 5,+ "wallMs": 2.3651250000000346,+ "nodeCpuMs": 2.366+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 11,+ "scans": 5,+ "wallMs": 3.234707999999955,+ "nodeCpuMs": 3.24+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 12,+ "scans": 5,+ "wallMs": 2.9946670000000495,+ "nodeCpuMs": 2.999+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 12,+ "scans": 5,+ "wallMs": 2.677874999999972,+ "nodeCpuMs": 2.69+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 13,+ "scans": 5,+ "wallMs": 2.4564999999998918,+ "nodeCpuMs": 2.459+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 13,+ "scans": 5,+ "wallMs": 3.2839589999999816,+ "nodeCpuMs": 3.293+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 14,+ "scans": 5,+ "wallMs": 3.1547500000000355,+ "nodeCpuMs": 3.156+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 14,+ "scans": 5,+ "wallMs": 2.55600000000004,+ "nodeCpuMs": 4.476+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 15,+ "scans": 5,+ "wallMs": 2.3405839999999216,+ "nodeCpuMs": 2.341+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 15,+ "scans": 5,+ "wallMs": 3.124584000000027,+ "nodeCpuMs": 3.127+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 16,+ "scans": 5,+ "wallMs": 3.0115840000000844,+ "nodeCpuMs": 3.596+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 16,+ "scans": 5,+ "wallMs": 2.603417000000036,+ "nodeCpuMs": 7.374+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 17,+ "scans": 5,+ "wallMs": 2.360125000000039,+ "nodeCpuMs": 4.873+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 17,+ "scans": 5,+ "wallMs": 3.210958000000005,+ "nodeCpuMs": 5.552+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 18,+ "scans": 5,+ "wallMs": 3.0620420000000195,+ "nodeCpuMs": 5.476+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 18,+ "scans": 5,+ "wallMs": 2.493959000000018,+ "nodeCpuMs": 2.537+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 19,+ "scans": 5,+ "wallMs": 2.3138750000000528,+ "nodeCpuMs": 2.318+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 19,+ "scans": 5,+ "wallMs": 3.1345830000000205,+ "nodeCpuMs": 3.136+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 20,+ "scans": 5,+ "wallMs": 3.190832999999998,+ "nodeCpuMs": 3.192+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 20,+ "scans": 5,+ "wallMs": 2.649583000000007,+ "nodeCpuMs": 2.655+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 21,+ "scans": 5,+ "wallMs": 2.642708000000084,+ "nodeCpuMs": 2.644+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 21,+ "scans": 5,+ "wallMs": 3.328125,+ "nodeCpuMs": 3.345+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 22,+ "scans": 5,+ "wallMs": 3.195709000000079,+ "nodeCpuMs": 3.197+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 22,+ "scans": 5,+ "wallMs": 2.5290410000000065,+ "nodeCpuMs": 2.54+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 23,+ "scans": 5,+ "wallMs": 2.4355419999999413,+ "nodeCpuMs": 2.437+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 23,+ "scans": 5,+ "wallMs": 3.435999999999922,+ "nodeCpuMs": 4.268+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 24,+ "scans": 5,+ "wallMs": 3.07808399999999,+ "nodeCpuMs": 3.829+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 24,+ "scans": 5,+ "wallMs": 2.544667000000004,+ "nodeCpuMs": 6.998+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 25,+ "scans": 5,+ "wallMs": 2.491749999999911,+ "nodeCpuMs": 5.33+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 25,+ "scans": 5,+ "wallMs": 3.2551670000000286,+ "nodeCpuMs": 3.267+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 26,+ "scans": 5,+ "wallMs": 3.1500409999999874,+ "nodeCpuMs": 3.151+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 26,+ "scans": 5,+ "wallMs": 2.537916999999993,+ "nodeCpuMs": 2.589+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 27,+ "scans": 5,+ "wallMs": 2.384290999999962,+ "nodeCpuMs": 2.386+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 27,+ "scans": 5,+ "wallMs": 3.150624999999991,+ "nodeCpuMs": 5.608+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 28,+ "scans": 5,+ "wallMs": 3.135917000000063,+ "nodeCpuMs": 3.131+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 28,+ "scans": 5,+ "wallMs": 2.581291999999962,+ "nodeCpuMs": 2.603+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "current",+ "round": 29,+ "scans": 5,+ "wallMs": 2.3322500000000446,+ "nodeCpuMs": 2.334+ },+ {+ "workload": "short-arguments",+ "panes": 16,+ "mode": "previous",+ "round": 29,+ "scans": 5,+ "wallMs": 3.1687090000000353,+ "nodeCpuMs": 3.178+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 0,+ "scans": 5,+ "wallMs": 18.36200000000008,+ "nodeCpuMs": 18.357+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 0,+ "scans": 5,+ "wallMs": 14.241624999999999,+ "nodeCpuMs": 14.265+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 1,+ "scans": 5,+ "wallMs": 13.876209000000017,+ "nodeCpuMs": 13.893+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 1,+ "scans": 5,+ "wallMs": 18.556707999999958,+ "nodeCpuMs": 18.59+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 2,+ "scans": 5,+ "wallMs": 19.599249999999984,+ "nodeCpuMs": 19.588+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 2,+ "scans": 5,+ "wallMs": 14.998290999999995,+ "nodeCpuMs": 15.045+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 3,+ "scans": 5,+ "wallMs": 14.236249999999927,+ "nodeCpuMs": 14.271+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 3,+ "scans": 5,+ "wallMs": 19.007292000000007,+ "nodeCpuMs": 19.035+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 4,+ "scans": 5,+ "wallMs": 18.768708999999944,+ "nodeCpuMs": 18.77+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 4,+ "scans": 5,+ "wallMs": 14.377208999999993,+ "nodeCpuMs": 14.415+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 5,+ "scans": 5,+ "wallMs": 14.502250000000004,+ "nodeCpuMs": 14.558+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 5,+ "scans": 5,+ "wallMs": 19.163375000000087,+ "nodeCpuMs": 19.167+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 6,+ "scans": 5,+ "wallMs": 18.7426660000001,+ "nodeCpuMs": 18.782+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 6,+ "scans": 5,+ "wallMs": 15.060874999999896,+ "nodeCpuMs": 15.109+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 7,+ "scans": 5,+ "wallMs": 14.24587500000007,+ "nodeCpuMs": 14.267+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 7,+ "scans": 5,+ "wallMs": 18.885582999999997,+ "nodeCpuMs": 18.944+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 8,+ "scans": 5,+ "wallMs": 18.176999999999907,+ "nodeCpuMs": 18.177+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 8,+ "scans": 5,+ "wallMs": 14.39604200000008,+ "nodeCpuMs": 14.42+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 9,+ "scans": 5,+ "wallMs": 14.120665999999801,+ "nodeCpuMs": 14.142+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 9,+ "scans": 5,+ "wallMs": 18.88700000000017,+ "nodeCpuMs": 18.911+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 10,+ "scans": 5,+ "wallMs": 18.73199999999997,+ "nodeCpuMs": 18.749+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 10,+ "scans": 5,+ "wallMs": 14.283500000000004,+ "nodeCpuMs": 14.331+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 11,+ "scans": 5,+ "wallMs": 13.96833300000003,+ "nodeCpuMs": 14.001+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 11,+ "scans": 5,+ "wallMs": 18.206624999999804,+ "nodeCpuMs": 18.229+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 12,+ "scans": 5,+ "wallMs": 18.62354100000016,+ "nodeCpuMs": 18.641+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 12,+ "scans": 5,+ "wallMs": 14.157582999999931,+ "nodeCpuMs": 14.196+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 13,+ "scans": 5,+ "wallMs": 13.812832999999955,+ "nodeCpuMs": 13.854+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 13,+ "scans": 5,+ "wallMs": 18.248125000000073,+ "nodeCpuMs": 18.265+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 14,+ "scans": 5,+ "wallMs": 18.099583999999822,+ "nodeCpuMs": 18.127+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 14,+ "scans": 5,+ "wallMs": 13.79187499999989,+ "nodeCpuMs": 13.817+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 15,+ "scans": 5,+ "wallMs": 13.662874999999985,+ "nodeCpuMs": 13.704+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 15,+ "scans": 5,+ "wallMs": 18.16237500000011,+ "nodeCpuMs": 18.185+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 16,+ "scans": 5,+ "wallMs": 18.249041999999918,+ "nodeCpuMs": 18.261+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 16,+ "scans": 5,+ "wallMs": 14.03037500000005,+ "nodeCpuMs": 15.723+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 17,+ "scans": 5,+ "wallMs": 14.263041000000158,+ "nodeCpuMs": 14.294+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 17,+ "scans": 5,+ "wallMs": 18.911790999999994,+ "nodeCpuMs": 18.904+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 18,+ "scans": 5,+ "wallMs": 18.52774999999997,+ "nodeCpuMs": 18.54+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 18,+ "scans": 5,+ "wallMs": 13.926750000000084,+ "nodeCpuMs": 13.964+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 19,+ "scans": 5,+ "wallMs": 14.128291999999874,+ "nodeCpuMs": 14.177+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 19,+ "scans": 5,+ "wallMs": 18.47895900000003,+ "nodeCpuMs": 18.485+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 20,+ "scans": 5,+ "wallMs": 18.536207999999988,+ "nodeCpuMs": 18.552+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 20,+ "scans": 5,+ "wallMs": 13.836667000000034,+ "nodeCpuMs": 13.873+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 21,+ "scans": 5,+ "wallMs": 13.83416699999998,+ "nodeCpuMs": 13.869+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 21,+ "scans": 5,+ "wallMs": 18.574749999999995,+ "nodeCpuMs": 18.588+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 22,+ "scans": 5,+ "wallMs": 18.553709000000026,+ "nodeCpuMs": 18.58+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 22,+ "scans": 5,+ "wallMs": 13.9096669999999,+ "nodeCpuMs": 13.942+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 23,+ "scans": 5,+ "wallMs": 13.895125000000007,+ "nodeCpuMs": 13.935+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 23,+ "scans": 5,+ "wallMs": 18.18337499999984,+ "nodeCpuMs": 18.206+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 24,+ "scans": 5,+ "wallMs": 18.217666999999892,+ "nodeCpuMs": 18.235+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 24,+ "scans": 5,+ "wallMs": 13.745666999999912,+ "nodeCpuMs": 13.768+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 25,+ "scans": 5,+ "wallMs": 13.959667000000081,+ "nodeCpuMs": 13.988+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 25,+ "scans": 5,+ "wallMs": 18.159167000000025,+ "nodeCpuMs": 18.165+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 26,+ "scans": 5,+ "wallMs": 18.923000000000002,+ "nodeCpuMs": 18.943+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 26,+ "scans": 5,+ "wallMs": 13.938709000000017,+ "nodeCpuMs": 13.957+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 27,+ "scans": 5,+ "wallMs": 13.84524999999985,+ "nodeCpuMs": 13.872+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 27,+ "scans": 5,+ "wallMs": 18.498708999999963,+ "nodeCpuMs": 18.536+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 28,+ "scans": 5,+ "wallMs": 18.412500000000136,+ "nodeCpuMs": 18.45+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 28,+ "scans": 5,+ "wallMs": 13.710291000000097,+ "nodeCpuMs": 13.741+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "current",+ "round": 29,+ "scans": 5,+ "wallMs": 13.730000000000018,+ "nodeCpuMs": 13.759+ },+ {+ "workload": "short-arguments",+ "panes": 105,+ "mode": "previous",+ "round": 29,+ "scans": 5,+ "wallMs": 18.33225000000016,+ "nodeCpuMs": 18.365+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 0,+ "scans": 5,+ "wallMs": 3.6018330000001697,+ "nodeCpuMs": 3.611+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 0,+ "scans": 5,+ "wallMs": 0.33829100000002654,+ "nodeCpuMs": 0.34+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 1,+ "scans": 5,+ "wallMs": 0.4545410000000629,+ "nodeCpuMs": 0.487+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 1,+ "scans": 5,+ "wallMs": 3.6262500000002547,+ "nodeCpuMs": 3.627+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 2,+ "scans": 5,+ "wallMs": 3.7214999999996508,+ "nodeCpuMs": 3.725+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 2,+ "scans": 5,+ "wallMs": 0.3447500000002037,+ "nodeCpuMs": 0.345+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 3,+ "scans": 5,+ "wallMs": 0.34124999999994543,+ "nodeCpuMs": 0.341+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 3,+ "scans": 5,+ "wallMs": 3.6804159999996955,+ "nodeCpuMs": 3.679+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 4,+ "scans": 5,+ "wallMs": 3.601333000000068,+ "nodeCpuMs": 3.603+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 4,+ "scans": 5,+ "wallMs": 0.33691700000008495,+ "nodeCpuMs": 0.338+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 5,+ "scans": 5,+ "wallMs": 0.338249999999789,+ "nodeCpuMs": 0.339+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 5,+ "scans": 5,+ "wallMs": 3.7289160000000265,+ "nodeCpuMs": 3.73+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 6,+ "scans": 5,+ "wallMs": 3.761334000000261,+ "nodeCpuMs": 3.763+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 6,+ "scans": 5,+ "wallMs": 0.3504170000001068,+ "nodeCpuMs": 0.351+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 7,+ "scans": 5,+ "wallMs": 0.34133299999984956,+ "nodeCpuMs": 0.343+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 7,+ "scans": 5,+ "wallMs": 3.626209000000017,+ "nodeCpuMs": 3.628+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 8,+ "scans": 5,+ "wallMs": 3.6294160000002194,+ "nodeCpuMs": 3.631+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 8,+ "scans": 5,+ "wallMs": 0.34500000000025466,+ "nodeCpuMs": 0.347+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 9,+ "scans": 5,+ "wallMs": 0.3378749999997126,+ "nodeCpuMs": 0.339+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 9,+ "scans": 5,+ "wallMs": 3.6833749999996144,+ "nodeCpuMs": 3.682+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 10,+ "scans": 5,+ "wallMs": 3.6755419999999503,+ "nodeCpuMs": 3.677+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 10,+ "scans": 5,+ "wallMs": 0.34425000000010186,+ "nodeCpuMs": 0.344+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 11,+ "scans": 5,+ "wallMs": 0.34124999999994543,+ "nodeCpuMs": 0.342+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 11,+ "scans": 5,+ "wallMs": 3.7789999999999964,+ "nodeCpuMs": 3.955+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 12,+ "scans": 5,+ "wallMs": 3.877791999999772,+ "nodeCpuMs": 3.909+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 12,+ "scans": 5,+ "wallMs": 0.3844579999999951,+ "nodeCpuMs": 0.386+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 13,+ "scans": 5,+ "wallMs": 0.34645899999986796,+ "nodeCpuMs": 0.347+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 13,+ "scans": 5,+ "wallMs": 3.748917000000347,+ "nodeCpuMs": 3.748+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 14,+ "scans": 5,+ "wallMs": 3.616834000000381,+ "nodeCpuMs": 3.618+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 14,+ "scans": 5,+ "wallMs": 0.3390839999997297,+ "nodeCpuMs": 0.34+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 15,+ "scans": 5,+ "wallMs": 0.3399160000003576,+ "nodeCpuMs": 0.341+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 15,+ "scans": 5,+ "wallMs": 3.644583000000239,+ "nodeCpuMs": 3.645+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 16,+ "scans": 5,+ "wallMs": 3.797417000000223,+ "nodeCpuMs": 3.798+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 16,+ "scans": 5,+ "wallMs": 0.34445800000003146,+ "nodeCpuMs": 0.346+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 17,+ "scans": 5,+ "wallMs": 0.34416600000031394,+ "nodeCpuMs": 0.346+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 17,+ "scans": 5,+ "wallMs": 3.855000000000018,+ "nodeCpuMs": 3.848+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 18,+ "scans": 5,+ "wallMs": 3.5961660000002666,+ "nodeCpuMs": 3.597+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 18,+ "scans": 5,+ "wallMs": 0.34404200000017227,+ "nodeCpuMs": 0.344+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 19,+ "scans": 5,+ "wallMs": 0.33470800000031886,+ "nodeCpuMs": 0.335+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 19,+ "scans": 5,+ "wallMs": 3.654125000000022,+ "nodeCpuMs": 3.654+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 20,+ "scans": 5,+ "wallMs": 3.756417000000056,+ "nodeCpuMs": 3.753+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 20,+ "scans": 5,+ "wallMs": 0.3465000000001055,+ "nodeCpuMs": 0.347+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 21,+ "scans": 5,+ "wallMs": 0.33929200000011406,+ "nodeCpuMs": 0.34+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 21,+ "scans": 5,+ "wallMs": 3.684957999999824,+ "nodeCpuMs": 3.688+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 22,+ "scans": 5,+ "wallMs": 3.623874999999771,+ "nodeCpuMs": 3.625+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 22,+ "scans": 5,+ "wallMs": 0.47654099999999744,+ "nodeCpuMs": 0.498+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 23,+ "scans": 5,+ "wallMs": 0.3581669999998667,+ "nodeCpuMs": 0.36+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 23,+ "scans": 5,+ "wallMs": 3.609624999999596,+ "nodeCpuMs": 3.611+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 24,+ "scans": 5,+ "wallMs": 3.7519170000000486,+ "nodeCpuMs": 3.755+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 24,+ "scans": 5,+ "wallMs": 0.3392909999997755,+ "nodeCpuMs": 0.341+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 25,+ "scans": 5,+ "wallMs": 0.3392499999999927,+ "nodeCpuMs": 0.34+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 25,+ "scans": 5,+ "wallMs": 3.776875000000018,+ "nodeCpuMs": 3.775+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 26,+ "scans": 5,+ "wallMs": 3.7146670000001905,+ "nodeCpuMs": 3.716+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 26,+ "scans": 5,+ "wallMs": 0.37541700000019773,+ "nodeCpuMs": 0.377+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 27,+ "scans": 5,+ "wallMs": 0.4368330000002061,+ "nodeCpuMs": 0.451+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 27,+ "scans": 5,+ "wallMs": 3.6446249999999054,+ "nodeCpuMs": 3.646+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 28,+ "scans": 5,+ "wallMs": 3.7568750000000364,+ "nodeCpuMs": 3.757+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 28,+ "scans": 5,+ "wallMs": 0.407249999999749,+ "nodeCpuMs": 0.41+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "current",+ "round": 29,+ "scans": 5,+ "wallMs": 0.37387500000022555,+ "nodeCpuMs": 0.375+ },+ {+ "workload": "wrapper-4k",+ "panes": 1,+ "mode": "previous",+ "round": 29,+ "scans": 5,+ "wallMs": 3.8257920000000922,+ "nodeCpuMs": 3.828+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 0,+ "scans": 5,+ "wallMs": 57.647500000000036,+ "nodeCpuMs": 57.514+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 0,+ "scans": 5,+ "wallMs": 2.4651669999998376,+ "nodeCpuMs": 2.492+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 1,+ "scans": 5,+ "wallMs": 2.272457999999915,+ "nodeCpuMs": 2.275+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 1,+ "scans": 5,+ "wallMs": 56.685833999999886,+ "nodeCpuMs": 56.675+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 2,+ "scans": 5,+ "wallMs": 57.108000000000175,+ "nodeCpuMs": 57.099+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 2,+ "scans": 5,+ "wallMs": 2.351083000000017,+ "nodeCpuMs": 2.356+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 3,+ "scans": 5,+ "wallMs": 2.371791999999914,+ "nodeCpuMs": 2.378+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 3,+ "scans": 5,+ "wallMs": 56.68174999999974,+ "nodeCpuMs": 56.725+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 4,+ "scans": 5,+ "wallMs": 56.07116599999972,+ "nodeCpuMs": 56.592+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 4,+ "scans": 5,+ "wallMs": 2.295665999999983,+ "nodeCpuMs": 2.3+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 5,+ "scans": 5,+ "wallMs": 2.343832999999904,+ "nodeCpuMs": 2.346+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 5,+ "scans": 5,+ "wallMs": 57.20249999999987,+ "nodeCpuMs": 57.179+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 6,+ "scans": 5,+ "wallMs": 56.851542000000336,+ "nodeCpuMs": 56.847+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 6,+ "scans": 5,+ "wallMs": 2.4427080000000387,+ "nodeCpuMs": 2.452+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 7,+ "scans": 5,+ "wallMs": 2.2423329999996895,+ "nodeCpuMs": 2.244+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 7,+ "scans": 5,+ "wallMs": 55.963874999999916,+ "nodeCpuMs": 56.114+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 8,+ "scans": 5,+ "wallMs": 55.99979200000007,+ "nodeCpuMs": 55.997+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 8,+ "scans": 5,+ "wallMs": 2.50525000000016,+ "nodeCpuMs": 2.518+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 9,+ "scans": 5,+ "wallMs": 2.2960409999996045,+ "nodeCpuMs": 2.29+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 9,+ "scans": 5,+ "wallMs": 57.498625000000175,+ "nodeCpuMs": 57.427+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 10,+ "scans": 5,+ "wallMs": 56.298542,+ "nodeCpuMs": 56.277+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 10,+ "scans": 5,+ "wallMs": 2.3207910000000993,+ "nodeCpuMs": 2.335+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 11,+ "scans": 5,+ "wallMs": 2.386917000000267,+ "nodeCpuMs": 2.402+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 11,+ "scans": 5,+ "wallMs": 55.85520799999995,+ "nodeCpuMs": 55.857+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 12,+ "scans": 5,+ "wallMs": 55.73783300000014,+ "nodeCpuMs": 55.744+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 12,+ "scans": 5,+ "wallMs": 2.2918330000002243,+ "nodeCpuMs": 2.3+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 13,+ "scans": 5,+ "wallMs": 2.3421250000001237,+ "nodeCpuMs": 2.356+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 13,+ "scans": 5,+ "wallMs": 55.71420799999987,+ "nodeCpuMs": 55.72+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 14,+ "scans": 5,+ "wallMs": 55.48770800000011,+ "nodeCpuMs": 55.476+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 14,+ "scans": 5,+ "wallMs": 2.3093340000000353,+ "nodeCpuMs": 2.313+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 15,+ "scans": 5,+ "wallMs": 2.230583000000024,+ "nodeCpuMs": 2.232+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 15,+ "scans": 5,+ "wallMs": 56.43258399999968,+ "nodeCpuMs": 56.469+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 16,+ "scans": 5,+ "wallMs": 56.09470800000008,+ "nodeCpuMs": 56.08+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 16,+ "scans": 5,+ "wallMs": 2.439458999999715,+ "nodeCpuMs": 2.457+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 17,+ "scans": 5,+ "wallMs": 2.235125000000153,+ "nodeCpuMs": 2.236+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 17,+ "scans": 5,+ "wallMs": 55.4636660000001,+ "nodeCpuMs": 55.469+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 18,+ "scans": 5,+ "wallMs": 57.00675000000001,+ "nodeCpuMs": 56.981+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 18,+ "scans": 5,+ "wallMs": 2.3786669999999503,+ "nodeCpuMs": 2.385+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 19,+ "scans": 5,+ "wallMs": 2.4780829999999696,+ "nodeCpuMs": 2.491+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 19,+ "scans": 5,+ "wallMs": 56.84175000000005,+ "nodeCpuMs": 56.859+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 20,+ "scans": 5,+ "wallMs": 56.314332999999806,+ "nodeCpuMs": 56.279+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 20,+ "scans": 5,+ "wallMs": 2.428625000000011,+ "nodeCpuMs": 2.437+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 21,+ "scans": 5,+ "wallMs": 2.6190419999998085,+ "nodeCpuMs": 2.628+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 21,+ "scans": 5,+ "wallMs": 57.59212500000058,+ "nodeCpuMs": 57.578+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 22,+ "scans": 5,+ "wallMs": 57.2513340000005,+ "nodeCpuMs": 57.243+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 22,+ "scans": 5,+ "wallMs": 2.3912499999996726,+ "nodeCpuMs": 2.396+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 23,+ "scans": 5,+ "wallMs": 2.3527500000000146,+ "nodeCpuMs": 2.355+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 23,+ "scans": 5,+ "wallMs": 56.67858399999932,+ "nodeCpuMs": 56.667+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 24,+ "scans": 5,+ "wallMs": 56.48124999999982,+ "nodeCpuMs": 56.454+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 24,+ "scans": 5,+ "wallMs": 2.4941250000001673,+ "nodeCpuMs": 2.496+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 25,+ "scans": 5,+ "wallMs": 2.4180420000002414,+ "nodeCpuMs": 2.417+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 25,+ "scans": 5,+ "wallMs": 57.88054199999988,+ "nodeCpuMs": 57.86+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 26,+ "scans": 5,+ "wallMs": 56.361665999999786,+ "nodeCpuMs": 56.353+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 26,+ "scans": 5,+ "wallMs": 2.3967920000004597,+ "nodeCpuMs": 2.401+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 27,+ "scans": 5,+ "wallMs": 2.3087500000001455,+ "nodeCpuMs": 2.313+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 27,+ "scans": 5,+ "wallMs": 55.74687499999982,+ "nodeCpuMs": 55.725+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 28,+ "scans": 5,+ "wallMs": 56.44737499999974,+ "nodeCpuMs": 56.447+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 28,+ "scans": 5,+ "wallMs": 2.3000829999991765,+ "nodeCpuMs": 2.305+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "current",+ "round": 29,+ "scans": 5,+ "wallMs": 2.3632920000000013,+ "nodeCpuMs": 2.362+ },+ {+ "workload": "wrapper-4k",+ "panes": 16,+ "mode": "previous",+ "round": 29,+ "scans": 5,+ "wallMs": 56.0107909999997,+ "nodeCpuMs": 56+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 0,+ "scans": 5,+ "wallMs": 406.5378330000003,+ "nodeCpuMs": 406.55+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 0,+ "scans": 5,+ "wallMs": 14.265832999999475,+ "nodeCpuMs": 14.305+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 1,+ "scans": 5,+ "wallMs": 14.078333999999813,+ "nodeCpuMs": 14.105+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 1,+ "scans": 5,+ "wallMs": 402.49324999999953,+ "nodeCpuMs": 402.901+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 2,+ "scans": 5,+ "wallMs": 406.28120800000033,+ "nodeCpuMs": 418.561+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 2,+ "scans": 5,+ "wallMs": 14.614833999999973,+ "nodeCpuMs": 14.644+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 3,+ "scans": 5,+ "wallMs": 14.72058300000026,+ "nodeCpuMs": 14.77+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 3,+ "scans": 5,+ "wallMs": 404.644624999999,+ "nodeCpuMs": 415.697+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 4,+ "scans": 5,+ "wallMs": 405.87970900000073,+ "nodeCpuMs": 405.907+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 4,+ "scans": 5,+ "wallMs": 14.228499999999258,+ "nodeCpuMs": 14.248+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 5,+ "scans": 5,+ "wallMs": 14.092875000000276,+ "nodeCpuMs": 14.11+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 5,+ "scans": 5,+ "wallMs": 407.140625,+ "nodeCpuMs": 407.322+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 6,+ "scans": 5,+ "wallMs": 404.49262499999895,+ "nodeCpuMs": 404.495+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 6,+ "scans": 5,+ "wallMs": 14.316749999999956,+ "nodeCpuMs": 14.374+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 7,+ "scans": 5,+ "wallMs": 14.163832999998704,+ "nodeCpuMs": 14.203+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 7,+ "scans": 5,+ "wallMs": 410.0236249999998,+ "nodeCpuMs": 410.269+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 8,+ "scans": 5,+ "wallMs": 405.1572499999984,+ "nodeCpuMs": 405.249+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 8,+ "scans": 5,+ "wallMs": 14.452666999999565,+ "nodeCpuMs": 14.505+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 9,+ "scans": 5,+ "wallMs": 15.03162500000144,+ "nodeCpuMs": 15.034+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 9,+ "scans": 5,+ "wallMs": 410.77941699999974,+ "nodeCpuMs": 410.754+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 10,+ "scans": 5,+ "wallMs": 407.20274999999856,+ "nodeCpuMs": 406.975+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 10,+ "scans": 5,+ "wallMs": 14.918499999999767,+ "nodeCpuMs": 14.956+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 11,+ "scans": 5,+ "wallMs": 14.757916999998997,+ "nodeCpuMs": 14.787+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 11,+ "scans": 5,+ "wallMs": 407.4639169999991,+ "nodeCpuMs": 407.552+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 12,+ "scans": 5,+ "wallMs": 408.33250000000044,+ "nodeCpuMs": 408.323+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 12,+ "scans": 5,+ "wallMs": 14.180749999999534,+ "nodeCpuMs": 14.21+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 13,+ "scans": 5,+ "wallMs": 14.23424999999952,+ "nodeCpuMs": 14.262+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 13,+ "scans": 5,+ "wallMs": 410.49925000000076,+ "nodeCpuMs": 410.495+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 14,+ "scans": 5,+ "wallMs": 409.34041699999943,+ "nodeCpuMs": 409.456+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 14,+ "scans": 5,+ "wallMs": 14.232083999999304,+ "nodeCpuMs": 14.267+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 15,+ "scans": 5,+ "wallMs": 13.976416000001336,+ "nodeCpuMs": 14.014+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 15,+ "scans": 5,+ "wallMs": 403.74395899999945,+ "nodeCpuMs": 403.87+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 16,+ "scans": 5,+ "wallMs": 402.9456250000003,+ "nodeCpuMs": 402.973+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 16,+ "scans": 5,+ "wallMs": 14.207707999999911,+ "nodeCpuMs": 14.245+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 17,+ "scans": 5,+ "wallMs": 14.326624999999694,+ "nodeCpuMs": 14.352+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 17,+ "scans": 5,+ "wallMs": 411.5812500000011,+ "nodeCpuMs": 411.83+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 18,+ "scans": 5,+ "wallMs": 414.5084999999999,+ "nodeCpuMs": 414.598+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 18,+ "scans": 5,+ "wallMs": 14.855709000003117,+ "nodeCpuMs": 14.901+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 19,+ "scans": 5,+ "wallMs": 14.344375000000582,+ "nodeCpuMs": 14.354+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 19,+ "scans": 5,+ "wallMs": 405.52066600000035,+ "nodeCpuMs": 405.597+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 20,+ "scans": 5,+ "wallMs": 407.8764999999985,+ "nodeCpuMs": 407.864+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 20,+ "scans": 5,+ "wallMs": 14.172249999999622,+ "nodeCpuMs": 14.193+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 21,+ "scans": 5,+ "wallMs": 14.276750000000902,+ "nodeCpuMs": 14.316+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 21,+ "scans": 5,+ "wallMs": 406.96258300000045,+ "nodeCpuMs": 407.127+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 22,+ "scans": 5,+ "wallMs": 403.90491699999984,+ "nodeCpuMs": 403.908+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 22,+ "scans": 5,+ "wallMs": 14.470417000000452,+ "nodeCpuMs": 14.525+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 23,+ "scans": 5,+ "wallMs": 14.095958000001701,+ "nodeCpuMs": 14.144+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 23,+ "scans": 5,+ "wallMs": 407.5034999999989,+ "nodeCpuMs": 407.747+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 24,+ "scans": 5,+ "wallMs": 405.4042499999996,+ "nodeCpuMs": 405.42+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 24,+ "scans": 5,+ "wallMs": 14.577000000001135,+ "nodeCpuMs": 14.628+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 25,+ "scans": 5,+ "wallMs": 14.169834000000264,+ "nodeCpuMs": 14.187+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 25,+ "scans": 5,+ "wallMs": 403.4072500000002,+ "nodeCpuMs": 403.562+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 26,+ "scans": 5,+ "wallMs": 406.53754200000185,+ "nodeCpuMs": 406.593+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 26,+ "scans": 5,+ "wallMs": 14.53141599999799,+ "nodeCpuMs": 14.58+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 27,+ "scans": 5,+ "wallMs": 14.45183299999917,+ "nodeCpuMs": 14.467+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 27,+ "scans": 5,+ "wallMs": 407.63716600000043,+ "nodeCpuMs": 407.764+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 28,+ "scans": 5,+ "wallMs": 403.7613749999982,+ "nodeCpuMs": 403.787+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 28,+ "scans": 5,+ "wallMs": 14.173792000001413,+ "nodeCpuMs": 14.199+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "current",+ "round": 29,+ "scans": 5,+ "wallMs": 14.387125000001106,+ "nodeCpuMs": 14.406+ },+ {+ "workload": "wrapper-4k",+ "panes": 105,+ "mode": "previous",+ "round": 29,+ "scans": 5,+ "wallMs": 410.4370000000017,+ "nodeCpuMs": 410.599+ }+ ]+}diff --git a/docs/performance/2026-10-01-process-discovery.md b/docs/performance/2026-10-01-process-discovery.mdnew file mode 100644index 000000000..292ff8fbe--- /dev/null+++ b/docs/performance/2026-10-01-process-discovery.md@@ -0,0 +1,86 @@+# Process discovery: read only the necessary argument prefix++An allocation trace of the development daemon on October 1 attributed an estimated+89.1 MiB of 669.8 MiB sampled allocations (13.3%) to process-entrypoint parsing over+30 seconds. The trace includes objects collected during the interval. The daemon's+large heap decreased during profiling; this did not establish a persistent leak,+and that decrease is not an optimization result.++The process matcher checked each candidate engine by tokenizing the entire command+line again. Shell wrappers and tool arguments therefore generated many temporary+matches even though discovery only needed the executable prefix. It now reads tokens+on demand, retaining the exact existing quoting rules. Cursor still examines at most+eight tokens; Hermes still validates its actual launcher source. Full argv parsing+remains available to resume and permission handling. No cross-scan cache is added,+and process identities, file ownership, aliases, polling cadence and launch behavior+are unchanged.++## Measurements against CLI 0.3.46++The [raw samples](2026-10-01-process-discovery-data/native-macos.json) compare the+released matcher and discovery module at `c1ab7ff1c9a26dba7fb6a27c45e6abd76b90b92d`+with the changed code. Both use identical dependencies and tooling, bundled into+private temporary files. Each fixture contains 1,022 synthetic process rows and+1, 16 or 105 terminal roots. Each root has a shell, an agent and two tool children;+wrapper/tool arguments are either short or about 4 KB. The latter size reflects+argument lengths observed on the development machine; the contents are synthetic.++Measurements used the managed Node 22.23.2 runtime on macOS ARM64, 30 warmups and+30 alternating rounds of five full discovery scans per version. No other tests or+builds owned by this task ran during the final timing loop. Other workstation apps+were still running. These are Node CPU totals divided by 150 scans:++| Arguments | Panes | Previous CPU/scan | Changed CPU/scan | Reduction |+| --- | ---: | ---: | ---: | ---: |+| short-arguments | 1 | 0.120 ms | 0.112 ms | 6.8% |+| short-arguments | 16 | 0.690 ms | 0.605 ms | 12.3% |+| short-arguments | 105 | 3.716 ms | 2.834 ms | 23.7% |+| wrapper-4k | 1 | 0.742 ms | 0.073 ms | 90.2% |+| wrapper-4k | 16 | 11.305 ms | 0.475 ms | 95.8% |+| wrapper-4k | 105 | 81.558 ms | 2.882 ms | 96.5% |++This measures process matching and full in-memory discovery, including allocation+and garbage collection. It excludes collecting the OS process table, tmux calls,+networking, rendering and battery. It does not establish a whole-app CPU, RAM or+100-fold improvement. The initial generator-based experiment was rejected because+it slowed short argument lists; the final direct token reader improved both cases.++## Correctness and reproduction++From `cli/`:++```sh+node --import tsx scripts/process-discovery-bench.ts /tmp/discovery.json+npx vitest run src/lib/processArgv.spec.ts src/lib/tmux.spec.ts src/lib/tmuxAgentDiscovery.spec.ts src/lib/terminalAgentDiscovery.spec.ts src/lib/terminalAgentReconciler.spec.ts+node --import tsx scripts/resume-native-e2e.ts+node --import tsx scripts/check-native-fixture-git.mjs+```++The benchmark compares 2,000 deterministic argument cases against the exact+released matcher for every supported process engine, including incomplete quotes,+empty tokens, wrappers, interpreter options and ambiguous aliases. It also compares+the complete discovered agents and placements before measuring each fixture.+All 224 expanded matcher/discovery tests and TypeScript checks passed (one+platform-specific case was skipped on macOS). The expanded checks require normal+process access: the sandboxed attempt rejected six `ps` probes; the same tests+passed outside that restriction. On macOS, the private native+fixture passed with Claude Code 2.1.286 and Codex 0.159.3: the live coordinator+identified the exact resumed process, history and hooks were retained, and three+close/checkpoint/resume cycles passed for each engine. It also verified receipt+replay, attach-to-existing-process behavior, missing-ID recovery, deferred-close+persistence/cancellation, and preservation of a neighboring pane and surviving+shell. This uses disposable profiles and a loopback-only unavailable model provider;+it does not measure inference, browser rendering, or every installed engine.++The native fixture also checks for optional plugin Git fetches left behind by its+Codex processes. Cleanup is restricted to Git processes whose working directory+is inside that invocation's temporary root, with PID/start-marker/executable+revalidation before signaling. An attempted Git proxy environment override did+not prevent those fetches and was removed. This fixture cleanup is separate from+production session shutdown; further investigation of orphaned helpers remains.++The controlled cleanup check starts two Git requests against its own stalled+loopback HTTP server. It verified that three processes inside the fixture exited+and the neighboring Git request stayed alive until the check closed its server.+This check also runs on both Linux CI architectures. The final macOS lifecycle+run left no fixture Git processes or temporary profile in an independent audit.