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
{
"startedAt": "2026-10-09T15:56:57.231731+00:00",
"finishedAt": "2026-10-09T15:57:11.685131+00:00",
"method": "Three interleaved fresh processes per source/workload, ten lookups per process. Fixture setup and imports excluded from lookup CPU/latency. Peak RSS includes setup/import. Private homes and built-in SQLite; no daemon or vendor binary. Reference measurements, no numerical performance gate.",
"driver": "/** Identical private stores on former and current production; no host engine, process or daemon. */\nimport { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs'\nimport { tmpdir } from 'node:os'\nimport { join } from 'node:path'\nimport { pathToFileURL } from 'node:url'\nconst sourceRoot = process.env.HERMES_COST_CLI!\nimport { performance } from 'node:perf_hooks'\nconst root = mkdtempSync(join(tmpdir(), 'hermes-pool-cost-'))\nconst workload = process.argv[2] ?? 'single'\nconst home = join(root, 'hermes'), cwd = join(root, 'work')\nfor (const name of ['HOME', 'ADAPTER_DATA_DIR', 'ADAPTER_RUNTIME_DIR', 'CLAUDE_CONFIG_DIR', 'CLAUDE_PROJECTS_DIR',\n 'CODEX_HOME', 'CURSOR_HOME', 'COPILOT_HOME', 'GROK_HOME', 'AGY_HOME', 'PI_HOME', 'MUSE_HOME', 'COMMANDCODE_HOME',\n 'AMP_SESSIONS_DIR', 'OPENCODE_DATA_DIR', 'KILO_DATA_DIR', 'DEVIN_HOME', 'XDG_CONFIG_HOME', 'XDG_DATA_HOME']) {\n process.env[name] = join(root, name)\n}\nprocess.env.HERMES_HOME = home\nconst { DatabaseSync } = process.getBuiltinModule('node:sqlite') as {\n DatabaseSync: new (path: string) => { exec(sql: string): void; prepare(sql: string): { run(...args: unknown[]): void }; close(): void }\n}\ntry {\n mkdirSync(cwd)\n const count = (workload === 'single' || workload === 'rows') ? 1 : workload === 'limit' ? 66 : 33\n for (let i = 0; i < count; i++) {\n const folder = i ? join(home, 'profiles', `profile-${String(i).padStart(3, '0')}`) : home\n mkdirSync(folder, { recursive: true })\n const path = join(folder, 'state.db')\n if (workload === 'unavailable' && i === count - 1) { writeFileSync(path, 'unavailable store'); continue }\n const db = new DatabaseSync(path)\n db.exec('CREATE TABLE sessions (id TEXT PRIMARY KEY, cwd TEXT, started_at REAL, source TEXT)')\n if (i === 0) db.prepare(\"INSERT INTO sessions VALUES (?, ?, ?, 'cli')\").run('20261009_120000_abcd', cwd, 1791547200)\n if (workload === 'rows') {\n const insert = db.prepare(\"INSERT INTO sessions VALUES (?, ?, ?, 'cli')\")\n db.exec('BEGIN')\n for (let row = 0; row < 4096; row++) insert.run(`20261009_110000_${row.toString(16).padStart(4, '0')}`, `/elsewhere/${row}`, 0)\n db.exec('COMMIT')\n }\n db.close()\n }\n const { findLiveSession } = await import(pathToFileURL(join(sourceRoot, 'src/lib/sessionRepair.ts')).href)\n const latenciesMs: number[] = [], outcomes: Record<string, number> = {}\n const cpu = process.cpuUsage()\n for (let i = 0; i < 10; i++) {\n const at = performance.now()\n let outcome: string\n try { outcome = await findLiveSession('hermes', cwd, 1791547140000) ? 'exact' : 'absent' }\n catch (error) {\n if ((error as { code?: string }).code !== 'IDENTITY_UNAVAILABLE') throw error\n outcome = 'held'\n }\n latenciesMs.push(Number((performance.now() - at).toFixed(2)))\n outcomes[outcome] = (outcomes[outcome] ?? 0) + 1\n }\n const used = process.cpuUsage(cpu)\n console.log(JSON.stringify({ workload, stores: count, unrelatedRows: workload === 'rows' ? 4096 : 0, iterations: 10, outcomes, latenciesMs,\n cpuMs: (used.user + used.system) / 1000, peakRssMiB: process.resourceUsage().maxRSS / 1024,\n node: process.version, platform: process.platform, arch: process.arch }))\n ;(await import(pathToFileURL(join(sourceRoot, 'src/lib/sqliteBuiltin.ts')).href)).closeSqliteHandles()\n} finally { rmSync(root, { recursive: true, force: true }) }\n",
"samples": [
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 0,
"wallSeconds": 0.464,
"workload": "single",
"stores": 1,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
1.11,
0.18,
0.17,
0.15,
0.21,
0.16,
0.21,
0.17,
0.2,
0.28
],
"cpuMs": 3.1,
"peakRssMiB": 106.3125,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 0,
"wallSeconds": 0.447,
"workload": "single",
"stores": 1,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
2.84,
1.23,
1.04,
0.93,
0.94,
1.05,
1.03,
0.86,
1.07,
1.04
],
"cpuMs": 12.74,
"peakRssMiB": 102.69921875,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 0,
"wallSeconds": 0.443,
"workload": "profiles",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
11.63,
2.88,
2.51,
2.49,
2.85,
2.58,
2.51,
2.7,
2.61,
2.67
],
"cpuMs": 36.661,
"peakRssMiB": 101.0234375,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 0,
"wallSeconds": 0.652,
"workload": "profiles",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
43.04,
25.83,
24.02,
23.15,
21.56,
23.93,
23.78,
20.89,
20.99,
21.91
],
"cpuMs": 287.768,
"peakRssMiB": 109.0546875,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 0,
"wallSeconds": 0.373,
"workload": "rows",
"stores": 1,
"unrelatedRows": 4096,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
1.36,
0.39,
0.37,
0.34,
0.35,
0.33,
0.47,
0.36,
0.39,
0.47
],
"cpuMs": 5.096,
"peakRssMiB": 94.27734375,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 0,
"wallSeconds": 0.456,
"workload": "rows",
"stores": 1,
"unrelatedRows": 4096,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
9.34,
8.05,
9.14,
9.06,
7.36,
7.38,
7.35,
7.54,
7.09,
6.4
],
"cpuMs": 106.642,
"peakRssMiB": 110.66796875,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 0,
"wallSeconds": 0.448,
"workload": "unavailable",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
12.44,
3.16,
2.97,
2.79,
2.61,
2.52,
2.5,
2.51,
2.61,
2.72
],
"cpuMs": 37.966,
"peakRssMiB": 102.375,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 0,
"wallSeconds": 0.64,
"workload": "unavailable",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"held": 10
},
"latenciesMs": [
38.67,
21.02,
24.78,
27.42,
25.52,
25.55,
23.22,
20.12,
19.41,
20.06
],
"cpuMs": 284.996,
"peakRssMiB": 109.6015625,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 0,
"wallSeconds": 0.501,
"workload": "limit",
"stores": 66,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
21.76,
5.17,
4.95,
4.98,
5.12,
5.64,
5.48,
5.46,
4.97,
4.88
],
"cpuMs": 70.756,
"peakRssMiB": 103.96875,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 0,
"wallSeconds": 0.447,
"workload": "limit",
"stores": 66,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"held": 10
},
"latenciesMs": [
1.99,
0.55,
0.53,
0.46,
0.42,
0.37,
0.41,
0.43,
0.56,
0.83
],
"cpuMs": 7.981,
"peakRssMiB": 98.92578125,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 1,
"wallSeconds": 0.372,
"workload": "single",
"stores": 1,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
2.7,
1.17,
1.11,
1.03,
1.03,
1.01,
0.96,
0.89,
1.06,
0.9
],
"cpuMs": 12.481,
"peakRssMiB": 96.23046875,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 1,
"wallSeconds": 0.362,
"workload": "single",
"stores": 1,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
1.17,
0.2,
0.18,
0.2,
0.17,
0.2,
0.24,
0.19,
0.23,
0.32
],
"cpuMs": 3.369,
"peakRssMiB": 91.515625,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 1,
"wallSeconds": 0.636,
"workload": "profiles",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
39.83,
22.53,
24.33,
21.9,
22.27,
24.03,
22.25,
21.08,
21.23,
22.89
],
"cpuMs": 279.571,
"peakRssMiB": 110.78515625,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 1,
"wallSeconds": 0.467,
"workload": "profiles",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
11.91,
2.86,
2.71,
2.58,
2.68,
2.77,
2.67,
2.47,
2.44,
2.35
],
"cpuMs": 36.677,
"peakRssMiB": 101.04296875,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 1,
"wallSeconds": 0.457,
"workload": "rows",
"stores": 1,
"unrelatedRows": 4096,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
9.42,
8.1,
9.15,
7.84,
6.85,
7.14,
7.29,
7.23,
7.23,
6.18
],
"cpuMs": 105.226,
"peakRssMiB": 110.25390625,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 1,
"wallSeconds": 0.375,
"workload": "rows",
"stores": 1,
"unrelatedRows": 4096,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
1.39,
0.39,
0.35,
0.33,
0.33,
0.33,
0.4,
0.34,
0.39,
0.46
],
"cpuMs": 4.986,
"peakRssMiB": 94.52734375,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 1,
"wallSeconds": 0.641,
"workload": "unavailable",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"held": 10
},
"latenciesMs": [
40.19,
24.77,
21.9,
23.4,
19.3,
22.05,
22.73,
19.89,
19.85,
21.11
],
"cpuMs": 271.916,
"peakRssMiB": 107.26953125,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 1,
"wallSeconds": 0.432,
"workload": "unavailable",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
11.71,
2.88,
2.58,
2.69,
2.89,
2.72,
2.58,
2.57,
2.45,
2.46
],
"cpuMs": 36.77,
"peakRssMiB": 102.02734375,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 1,
"wallSeconds": 0.446,
"workload": "limit",
"stores": 66,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"held": 10
},
"latenciesMs": [
1.94,
0.52,
0.64,
0.57,
0.48,
0.43,
0.41,
0.44,
0.98,
0.47
],
"cpuMs": 8.367,
"peakRssMiB": 96.1328125,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 1,
"wallSeconds": 0.494,
"workload": "limit",
"stores": 66,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
21.84,
5.03,
4.84,
4.71,
5.31,
5.29,
4.54,
4.5,
4.57,
4.53
],
"cpuMs": 67.565,
"peakRssMiB": 105.9765625,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 2,
"wallSeconds": 0.372,
"workload": "single",
"stores": 1,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
1.14,
0.19,
0.19,
0.16,
0.17,
0.14,
0.23,
0.17,
0.23,
0.27
],
"cpuMs": 3.134,
"peakRssMiB": 93.75390625,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 2,
"wallSeconds": 0.381,
"workload": "single",
"stores": 1,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
3.05,
1.19,
1.03,
0.95,
0.92,
0.97,
0.96,
0.86,
1.05,
0.93
],
"cpuMs": 12.613,
"peakRssMiB": 95.7265625,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 2,
"wallSeconds": 0.424,
"workload": "profiles",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
11.73,
2.87,
2.43,
2.36,
2.59,
2.7,
2.55,
2.54,
2.59,
2.61
],
"cpuMs": 36.132,
"peakRssMiB": 97.12109375,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 2,
"wallSeconds": 0.727,
"workload": "profiles",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
40.41,
20.92,
24.74,
23.11,
22.38,
23.43,
23.18,
21.19,
21.6,
22.67
],
"cpuMs": 281.852,
"peakRssMiB": 106.9375,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 2,
"wallSeconds": 0.403,
"workload": "rows",
"stores": 1,
"unrelatedRows": 4096,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
1.6,
0.49,
0.5,
0.38,
0.37,
0.4,
0.47,
0.4,
0.47,
0.49
],
"cpuMs": 5.844,
"peakRssMiB": 96.73828125,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 2,
"wallSeconds": 0.484,
"workload": "rows",
"stores": 1,
"unrelatedRows": 4096,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
9.65,
8.4,
11.29,
8.72,
7.01,
7.5,
7.39,
8.4,
7.75,
6.31
],
"cpuMs": 116.979,
"peakRssMiB": 111.65625,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 2,
"wallSeconds": 0.49,
"workload": "unavailable",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
13.87,
3.38,
3.15,
3.1,
3.14,
3.12,
2.94,
2.9,
3.06,
3.14
],
"cpuMs": 43.141,
"peakRssMiB": 99.53125,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 2,
"wallSeconds": 0.668,
"workload": "unavailable",
"stores": 33,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"held": 10
},
"latenciesMs": [
39.88,
21.44,
23.15,
24.31,
20.62,
22.64,
22.23,
21.54,
20.34,
20.57
],
"cpuMs": 276.345,
"peakRssMiB": 109.7421875,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "former",
"commit": "167001ed24abe415f8f411803a6b45d1161dbe1c",
"repeat": 2,
"wallSeconds": 0.507,
"workload": "limit",
"stores": 66,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"exact": 10
},
"latenciesMs": [
21.88,
5.05,
5.12,
4.66,
4.73,
4.72,
5.33,
4.54,
4.62,
4.47
],
"cpuMs": 67.357,
"peakRssMiB": 104.84765625,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
},
{
"source": "current",
"commit": "09fb5818936e9caa9968d7c86630d9637259970d",
"repeat": 2,
"wallSeconds": 0.438,
"workload": "limit",
"stores": 66,
"unrelatedRows": 0,
"iterations": 10,
"outcomes": {
"held": 10
},
"latenciesMs": [
1.85,
0.49,
0.86,
0.53,
0.48,
0.43,
0.42,
0.41,
0.56,
0.83
],
"cpuMs": 8.332,
"peakRssMiB": 96.48046875,
"node": "v22.23.2",
"platform": "darwin",
"arch": "x64"
}
]
}