{ "command": [ "deno", "bench", "--no-lock", "--json", "packages/memory/test/v2-path.bench.ts", "packages/dashboard/machine-calibration.bench.ts" ], "runs": [ { "pair": 1, "side": "baseline", "loadBefore": [ 12.05322265625, 21.953125, 26.38525390625 ], "started": 1789423273.276953, "loadAfter": [ 11.49072265625, 21.5087890625, 26.17578125 ], "finished": 1789423284.129799, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 10722, "min": 35584.0, "max": 1175125.0, "avg": 46571.0, "p75": 51375.0, "p99": 96250.0, "p995": 113958.0, "p999": 171208.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 5476, "min": 79750.0, "max": 283834.0, "avg": 91366.0, "p75": 93208.0, "p99": 151250.0, "p995": 165458.0, "p999": 190541.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 2955, "min": 140625.0, "max": 447875.0, "avg": 169627.0, "p75": 173666.0, "p99": 236917.0, "p995": 246958.0, "p999": 272333.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 5831, "min": 78625.0, "max": 171708.0, "avg": 85812.0, "p75": 84667.0, "p99": 116833.0, "p995": 125209.0, "p999": 154166.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 3400, "min": 135625.0, "max": 275625.0, "avg": 147391.0, "p75": 146708.0, "p99": 194125.0, "p995": 209625.0, "p999": 245417.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 1823, "min": 203083.0, "max": 1309625.0, "avg": 275922.0, "p75": 279667.0, "p99": 295375.0, "p995": 302541.0, "p999": 1298042.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 2951, "min": 161666.0, "max": 252292.0, "avg": 170055.0, "p75": 171917.0, "p99": 184792.0, "p995": 191792.0, "p999": 237541.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 2728, "min": 175208.0, "max": 261167.0, "avg": 184007.0, "p75": 185667.0, "p99": 198125.0, "p995": 207375.0, "p999": 253458.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 2858, "min": 100375.0, "max": 1787666.0, "avg": 175594.0, "p75": 117250.0, "p99": 671208.0, "p995": 765875.0, "p999": 1730959.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 2396, "min": 179417.0, "max": 515292.0, "avg": 209511.0, "p75": 201083.0, "p99": 322666.0, "p995": 377875.0, "p999": 464625.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 2025, "min": 228667.0, "max": 688750.0, "avg": 248164.0, "p75": 247250.0, "p99": 340916.0, "p995": 356958.0, "p999": 680666.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 1798, "min": 247709.0, "max": 507833.0, "avg": 279627.0, "p75": 282917.0, "p99": 434667.0, "p995": 447375.0, "p999": 501500.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 242, "min": 1887292.0, "max": 2881041.0, "avg": 2155050.0, "p75": 2243500.0, "p99": 2819458.0, "p995": 2869125.0, "p999": 2881041.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 180, "min": 2172708.0, "max": 6881916.0, "avg": 3156564.0, "p75": 3849041.0, "p99": 6592041.0, "p995": 6881916.0, "p999": 6881916.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 1369, "min": 241583.0, "max": 2966583.0, "avg": 367595.0, "p75": 380417.0, "p99": 1039500.0, "p995": 1275292.0, "p999": 2966500.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 1051, "min": 427125.0, "max": 1872750.0, "avg": 480260.0, "p75": 478875.0, "p99": 679709.0, "p995": 685750.0, "p999": 1827167.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 230, "min": 2039500.0, "max": 2808250.0, "avg": 2290201.0, "p75": 2341125.0, "p99": 2732292.0, "p995": 2788958.0, "p999": 2808250.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "Check packages/memory/test/v2-path.bench.ts\nCheck packages/dashboard/machine-calibration.bench.ts\n" }, { "pair": 1, "side": "fixed", "loadBefore": [ 11.49072265625, 21.5087890625, 26.17578125 ], "started": 1789423284.130934, "loadAfter": [ 10.412109375, 20.9482421875, 25.921875 ], "finished": 1789423294.832038, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 20093, "min": 21666.0, "max": 102625.0, "avg": 24812.0, "p75": 26166.0, "p99": 28666.0, "p995": 30625.0, "p999": 63625.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 9653, "min": 49417.0, "max": 137000.0, "avg": 51760.0, "p75": 51166.0, "p99": 78959.0, "p995": 83666.0, "p999": 110292.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 4770, "min": 100208.0, "max": 208333.0, "avg": 104974.0, "p75": 104208.0, "p99": 134834.0, "p995": 140458.0, "p999": 168125.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 7065, "min": 68042.0, "max": 180417.0, "avg": 70775.0, "p75": 69833.0, "p99": 97708.0, "p995": 102166.0, "p999": 118834.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 2710, "min": 172250.0, "max": 259166.0, "avg": 185081.0, "p75": 186292.0, "p99": 218792.0, "p995": 224000.0, "p999": 243791.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 1676, "min": 233500.0, "max": 1433458.0, "avg": 300175.0, "p75": 304292.0, "p99": 315792.0, "p995": 318167.0, "p999": 1430250.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 2657, "min": 185833.0, "max": 220458.0, "avg": 188933.0, "p75": 192042.0, "p99": 201500.0, "p995": 203958.0, "p999": 214917.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 2451, "min": 201333.0, "max": 867584.0, "avg": 204833.0, "p75": 202291.0, "p99": 246292.0, "p995": 249292.0, "p999": 283666.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 2252, "min": 113375.0, "max": 1947542.0, "avg": 223225.0, "p75": 158583.0, "p99": 843084.0, "p995": 873333.0, "p999": 1023041.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 1869, "min": 240916.0, "max": 634208.0, "avg": 269066.0, "p75": 267750.0, "p99": 404125.0, "p995": 485958.0, "p999": 632542.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 1554, "min": 275000.0, "max": 1034166.0, "avg": 323552.0, "p75": 334666.0, "p99": 426458.0, "p995": 448041.0, "p999": 1017084.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 1509, "min": 291041.0, "max": 585750.0, "avg": 333913.0, "p75": 333667.0, "p99": 486083.0, "p995": 497834.0, "p999": 549833.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 179, "min": 2414500.0, "max": 4611333.0, "avg": 2993882.0, "p75": 3334917.0, "p99": 4535000.0, "p995": 4611333.0, "p999": 4611333.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 153, "min": 3129209.0, "max": 4292250.0, "avg": 3523554.0, "p75": 3772750.0, "p99": 4280875.0, "p995": 4292250.0, "p999": 4292250.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 2241, "min": 183208.0, "max": 2148375.0, "avg": 224012.0, "p75": 237834.0, "p99": 276042.0, "p995": 278208.0, "p999": 307416.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 1278, "min": 386041.0, "max": 1509750.0, "avg": 394596.0, "p75": 392917.0, "p99": 437834.0, "p995": 455291.0, "p999": 1245500.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 281, "min": 1577000.0, "max": 2173166.0, "avg": 1854044.0, "p75": 1934709.0, "p99": 2109458.0, "p995": 2165958.0, "p999": 2173166.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "Check packages/memory/test/v2-path.bench.ts\nCheck packages/dashboard/machine-calibration.bench.ts\n" }, { "pair": 2, "side": "fixed", "loadBefore": [ 10.412109375, 20.9482421875, 25.921875 ], "started": 1789423294.8327491, "loadAfter": [ 10.0537109375, 20.52197265625, 25.7119140625 ], "finished": 1789423304.850846, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 18450, "min": 21542.0, "max": 125041.0, "avg": 27027.0, "p75": 29292.0, "p99": 34084.0, "p995": 35708.0, "p999": 76834.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 8436, "min": 52416.0, "max": 147417.0, "avg": 59221.0, "p75": 64042.0, "p99": 91875.0, "p995": 99166.0, "p999": 121333.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 4824, "min": 94333.0, "max": 198583.0, "avg": 103798.0, "p75": 103375.0, "p99": 134041.0, "p995": 138334.0, "p999": 156958.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 7583, "min": 61625.0, "max": 115583.0, "avg": 65932.0, "p75": 65709.0, "p99": 89167.0, "p995": 91917.0, "p999": 99708.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 2824, "min": 165042.0, "max": 281541.0, "avg": 177641.0, "p75": 185334.0, "p99": 215084.0, "p995": 221125.0, "p999": 256959.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 1745, "min": 244209.0, "max": 1496042.0, "avg": 288266.0, "p75": 304208.0, "p99": 319750.0, "p995": 326041.0, "p999": 1492208.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 2675, "min": 178666.0, "max": 215875.0, "avg": 187615.0, "p75": 188625.0, "p99": 200917.0, "p995": 204416.0, "p999": 211250.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 2586, "min": 188291.0, "max": 218709.0, "avg": 194090.0, "p75": 194291.0, "p99": 205417.0, "p995": 208417.0, "p999": 213083.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 1773, "min": 112000.0, "max": 1899792.0, "avg": 284592.0, "p75": 246000.0, "p99": 1481083.0, "p995": 1504333.0, "p999": 1880458.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 1435, "min": 279167.0, "max": 906167.0, "avg": 351061.0, "p75": 371292.0, "p99": 784667.0, "p995": 794500.0, "p999": 890417.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 1258, "min": 356750.0, "max": 1241167.0, "avg": 400843.0, "p75": 405250.0, "p99": 576916.0, "p995": 612209.0, "p999": 1210083.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 895, "min": 448458.0, "max": 1086500.0, "avg": 564267.0, "p75": 633625.0, "p99": 915541.0, "p995": 952208.0, "p999": 1086500.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 163, "min": 2794541.0, "max": 4085583.0, "avg": 3274214.0, "p75": 3381958.0, "p99": 4044709.0, "p995": 4085583.0, "p999": 4085583.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 125, "min": 3419375.0, "max": 6037792.0, "avg": 4375086.0, "p75": 4532917.0, "p99": 5925000.0, "p995": 6037792.0, "p999": 6037792.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 2436, "min": 183291.0, "max": 2138792.0, "avg": 206064.0, "p75": 212750.0, "p99": 273709.0, "p995": 274292.0, "p999": 299958.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 1073, "min": 430417.0, "max": 1630416.0, "avg": 471100.0, "p75": 477542.0, "p99": 534625.0, "p995": 548375.0, "p999": 1476625.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 221, "min": 2056375.0, "max": 2790416.0, "avg": 2360495.0, "p75": 2665500.0, "p99": 2745875.0, "p995": 2781042.0, "p999": 2790416.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "" }, { "pair": 2, "side": "baseline", "loadBefore": [ 10.0537109375, 20.52197265625, 25.7119140625 ], "started": 1789423304.85164, "loadAfter": [ 9.57763671875, 20.076171875, 25.49267578125 ], "finished": 1789423314.876787, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 9733, "min": 42708.0, "max": 221916.0, "avg": 51306.0, "p75": 52708.0, "p99": 90292.0, "p995": 109083.0, "p999": 149916.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 4958, "min": 90958.0, "max": 261166.0, "avg": 100924.0, "p75": 100125.0, "p99": 148125.0, "p995": 164584.0, "p999": 185375.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 2116, "min": 209458.0, "max": 724459.0, "avg": 237331.0, "p75": 237375.0, "p99": 335542.0, "p995": 351750.0, "p999": 465916.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 4080, "min": 106083.0, "max": 289667.0, "avg": 122709.0, "p75": 137708.0, "p99": 181083.0, "p995": 193291.0, "p999": 225291.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 2033, "min": 183166.0, "max": 408750.0, "avg": 247219.0, "p75": 279541.0, "p99": 360500.0, "p995": 371125.0, "p999": 391291.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 1387, "min": 273416.0, "max": 1689041.0, "avg": 363320.0, "p75": 382250.0, "p99": 405542.0, "p995": 414208.0, "p999": 1674125.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 1780, "min": 233583.0, "max": 489333.0, "avg": 282522.0, "p75": 289125.0, "p99": 344458.0, "p995": 350792.0, "p999": 432834.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 1842, "min": 253083.0, "max": 330542.0, "avg": 272941.0, "p75": 274250.0, "p99": 310541.0, "p995": 315000.0, "p999": 330125.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 1642, "min": 142292.0, "max": 2779375.0, "avg": 306624.0, "p75": 237916.0, "p99": 1338125.0, "p995": 1441625.0, "p999": 2714959.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 1462, "min": 279792.0, "max": 914625.0, "avg": 344262.0, "p75": 370542.0, "p99": 672875.0, "p995": 728375.0, "p999": 910375.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 1357, "min": 330958.0, "max": 1110042.0, "avg": 371368.0, "p75": 365291.0, "p99": 494292.0, "p995": 540125.0, "p999": 1016334.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 1062, "min": 386083.0, "max": 899667.0, "avg": 475857.0, "p75": 525875.0, "p99": 772125.0, "p995": 805250.0, "p999": 832958.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 150, "min": 2921958.0, "max": 4961667.0, "avg": 3559080.0, "p75": 3759667.0, "p99": 4748500.0, "p995": 4961667.0, "p999": 4961667.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 152, "min": 3336625.0, "max": 4418708.0, "avg": 3529314.0, "p75": 3612125.0, "p99": 4270166.0, "p995": 4418708.0, "p999": 4418708.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 2530, "min": 183291.0, "max": 240667.0, "avg": 198404.0, "p75": 199875.0, "p99": 217334.0, "p995": 219958.0, "p999": 232875.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 1071, "min": 455792.0, "max": 1701209.0, "avg": 471590.0, "p75": 470792.0, "p99": 503084.0, "p995": 508209.0, "p999": 1447458.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 228, "min": 1910292.0, "max": 2727291.0, "avg": 2289605.0, "p75": 2351333.0, "p99": 2701083.0, "p995": 2707125.0, "p999": 2727291.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "" }, { "pair": 3, "side": "baseline", "loadBefore": [ 9.57763671875, 20.076171875, 25.49267578125 ], "started": 1789423314.8776379, "loadAfter": [ 9.408203125, 19.6943359375, 25.2939453125 ], "finished": 1789423324.935338, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 10336, "min": 45750.0, "max": 201792.0, "avg": 48306.0, "p75": 47500.0, "p99": 82792.0, "p995": 97958.0, "p999": 138917.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 4015, "min": 110500.0, "max": 357500.0, "avg": 124692.0, "p75": 129750.0, "p99": 198042.0, "p995": 211750.0, "p999": 260709.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 1846, "min": 234875.0, "max": 456916.0, "avg": 272043.0, "p75": 277541.0, "p99": 373667.0, "p995": 392500.0, "p999": 433833.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 3801, "min": 122792.0, "max": 260375.0, "avg": 131788.0, "p75": 134875.0, "p99": 193708.0, "p995": 210709.0, "p999": 235334.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 1746, "min": 212709.0, "max": 2284125.0, "avg": 287840.0, "p75": 330166.0, "p99": 510541.0, "p995": 773916.0, "p999": 1585125.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 1144, "min": 316750.0, "max": 1988500.0, "avg": 442159.0, "p75": 460750.0, "p99": 559833.0, "p995": 632000.0, "p999": 1934834.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 1327, "min": 257709.0, "max": 3431666.0, "avg": 379028.0, "p75": 391041.0, "p99": 492833.0, "p995": 662833.0, "p999": 1816542.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 1671, "min": 253125.0, "max": 2500167.0, "avg": 300991.0, "p75": 305750.0, "p99": 474750.0, "p995": 537834.0, "p999": 1558750.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 1566, "min": 153167.0, "max": 2449125.0, "avg": 321218.0, "p75": 238500.0, "p99": 1505458.0, "p995": 1667875.0, "p999": 2209125.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 1300, "min": 311792.0, "max": 1073792.0, "avg": 387721.0, "p75": 379917.0, "p99": 678375.0, "p995": 705459.0, "p999": 913667.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 1063, "min": 397875.0, "max": 1712208.0, "avg": 474319.0, "p75": 473375.0, "p99": 681542.0, "p995": 705333.0, "p999": 1676291.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 1054, "min": 429333.0, "max": 825416.0, "avg": 478965.0, "p75": 483083.0, "p99": 721833.0, "p995": 738000.0, "p999": 822291.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 148, "min": 3021375.0, "max": 5009542.0, "avg": 3644294.0, "p75": 3824541.0, "p99": 4571458.0, "p995": 5009542.0, "p999": 5009542.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 123, "min": 3716916.0, "max": 5620292.0, "avg": 4397878.0, "p75": 4669791.0, "p99": 5172208.0, "p995": 5620292.0, "p999": 5620292.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 2373, "min": 196750.0, "max": 1957584.0, "avg": 211605.0, "p75": 212708.0, "p99": 242000.0, "p995": 253833.0, "p999": 342459.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 810, "min": 487708.0, "max": 1952667.0, "avg": 626333.0, "p75": 689417.0, "p99": 883791.0, "p995": 897166.0, "p999": 1952667.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 209, "min": 2296542.0, "max": 3480708.0, "avg": 2527438.0, "p75": 2694000.0, "p99": 2869875.0, "p995": 2988834.0, "p999": 3480708.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "" }, { "pair": 3, "side": "fixed", "loadBefore": [ 9.408203125, 19.6943359375, 25.2939453125 ], "started": 1789423324.936765, "loadAfter": [ 9.34521484375, 19.341796875, 25.10302734375 ], "finished": 1789423335.151793, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 14054, "min": 30708.0, "max": 385667.0, "avg": 35466.0, "p75": 36834.0, "p99": 56500.0, "p995": 75958.0, "p999": 127375.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 7644, "min": 57459.0, "max": 377667.0, "avg": 65353.0, "p75": 66583.0, "p99": 112416.0, "p995": 133333.0, "p999": 169375.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 3573, "min": 120458.0, "max": 371667.0, "avg": 140213.0, "p75": 139083.0, "p99": 207250.0, "p995": 221166.0, "p999": 271250.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 4888, "min": 88583.0, "max": 457458.0, "avg": 102300.0, "p75": 105458.0, "p99": 184417.0, "p995": 201250.0, "p999": 261625.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 1719, "min": 272166.0, "max": 700042.0, "avg": 292274.0, "p75": 289125.0, "p99": 418416.0, "p995": 436000.0, "p999": 607708.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 1029, "min": 353459.0, "max": 2519084.0, "avg": 491122.0, "p75": 530875.0, "p99": 629708.0, "p995": 650833.0, "p999": 2195292.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 1416, "min": 324375.0, "max": 583458.0, "avg": 356536.0, "p75": 383083.0, "p99": 473708.0, "p995": 484125.0, "p999": 549958.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 1104, "min": 351417.0, "max": 2442958.0, "avg": 456888.0, "p75": 489708.0, "p99": 603417.0, "p995": 649500.0, "p999": 2393875.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 883, "min": 268958.0, "max": 17835583.0, "avg": 574434.0, "p75": 477250.0, "p99": 3135917.0, "p995": 4021334.0, "p999": 17835583.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 949, "min": 432375.0, "max": 2204791.0, "avg": 532380.0, "p75": 527541.0, "p99": 886958.0, "p995": 1408833.0, "p999": 2204791.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 920, "min": 458833.0, "max": 1374708.0, "avg": 551163.0, "p75": 610750.0, "p99": 782000.0, "p995": 832375.0, "p999": 1374708.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 689, "min": 596333.0, "max": 1147125.0, "avg": 736942.0, "p75": 757875.0, "p99": 1102667.0, "p995": 1129500.0, "p999": 1147125.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 75, "min": 5426375.0, "max": 15760084.0, "avg": 7749407.0, "p75": 8173916.0, "p99": 15760084.0, "p995": 15760084.0, "p999": 15760084.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 73, "min": 6068500.0, "max": 14315833.0, "avg": 7727765.0, "p75": 8685084.0, "p99": 14315833.0, "p995": 14315833.0, "p999": 14315833.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 1233, "min": 241666.0, "max": 3155417.0, "avg": 408779.0, "p75": 383916.0, "p99": 931709.0, "p995": 1167958.0, "p999": 3023875.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 430, "min": 542750.0, "max": 19325291.0, "avg": 1184379.0, "p75": 1126416.0, "p99": 6070875.0, "p995": 6776708.0, "p999": 19325291.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 136, "min": 3116125.0, "max": 10281166.0, "avg": 3964023.0, "p75": 3943292.0, "p99": 9872875.0, "p995": 10281166.0, "p999": 10281166.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "" }, { "pair": 4, "side": "fixed", "loadBefore": [ 9.34521484375, 19.341796875, 25.10302734375 ], "started": 1789423335.1542149, "loadAfter": [ 9.45166015625, 19.0341796875, 24.92578125 ], "finished": 1789423345.338447, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 8281, "min": 38792.0, "max": 4940625.0, "avg": 60120.0, "p75": 53417.0, "p99": 228500.0, "p995": 336333.0, "p999": 1009167.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 5175, "min": 73958.0, "max": 723875.0, "avg": 96577.0, "p75": 104375.0, "p99": 191250.0, "p995": 225333.0, "p999": 381625.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 3048, "min": 149417.0, "max": 577333.0, "avg": 164424.0, "p75": 178916.0, "p99": 250667.0, "p995": 265000.0, "p999": 299500.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 4928, "min": 88750.0, "max": 424500.0, "avg": 101475.0, "p75": 104917.0, "p99": 173583.0, "p995": 192833.0, "p999": 224500.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 2016, "min": 235875.0, "max": 672542.0, "avg": 249088.0, "p75": 246042.0, "p99": 338459.0, "p995": 359917.0, "p999": 413750.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 812, "min": 480625.0, "max": 2966292.0, "avg": 624049.0, "p75": 627833.0, "p99": 702708.0, "p995": 836000.0, "p999": 2966292.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 1460, "min": 324375.0, "max": 701500.0, "avg": 344775.0, "p75": 382958.0, "p99": 412042.0, "p995": 418416.0, "p999": 472375.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 1129, "min": 351291.0, "max": 749917.0, "avg": 447569.0, "p75": 489708.0, "p99": 518792.0, "p995": 532375.0, "p999": 587667.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 1130, "min": 229084.0, "max": 3402709.0, "avg": 447312.0, "p75": 306584.0, "p99": 1870416.0, "p995": 2080583.0, "p999": 3095041.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 1032, "min": 367459.0, "max": 1522458.0, "avg": 489114.0, "p75": 517709.0, "p99": 963041.0, "p995": 1013042.0, "p999": 1400333.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 836, "min": 459125.0, "max": 1553959.0, "avg": 606142.0, "p75": 648042.0, "p99": 828875.0, "p995": 867833.0, "p999": 1553959.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 853, "min": 429916.0, "max": 1170875.0, "avg": 592969.0, "p75": 710208.0, "p99": 1067625.0, "p995": 1107917.0, "p999": 1170875.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 123, "min": 3392791.0, "max": 6181125.0, "avg": 4431407.0, "p75": 4806708.0, "p99": 5939542.0, "p995": 6181125.0, "p999": 6181125.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 133, "min": 3757333.0, "max": 5707750.0, "avg": 4100750.0, "p75": 4323625.0, "p99": 5182167.0, "p995": 5707750.0, "p999": 5707750.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 1953, "min": 236917.0, "max": 2444125.0, "avg": 257467.0, "p75": 273583.0, "p99": 296958.0, "p995": 309250.0, "p999": 2158417.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 816, "min": 554083.0, "max": 2351542.0, "avg": 619971.0, "p75": 653959.0, "p99": 737250.0, "p995": 830209.0, "p999": 2351542.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 202, "min": 2288416.0, "max": 2948000.0, "avg": 2614749.0, "p75": 2708250.0, "p99": 2867167.0, "p995": 2871125.0, "p999": 2948000.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "" }, { "pair": 4, "side": "baseline", "loadBefore": [ 9.45166015625, 19.0341796875, 24.92578125 ], "started": 1789423345.340208, "loadAfter": [ 9.30126953125, 18.6865234375, 24.7333984375 ], "finished": 1789423355.4534578, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 5217, "min": 64417.0, "max": 1608709.0, "avg": 95701.0, "p75": 89500.0, "p99": 328166.0, "p995": 448542.0, "p999": 963959.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 2382, "min": 143500.0, "max": 1327750.0, "avg": 210171.0, "p75": 196542.0, "p99": 619000.0, "p995": 761541.0, "p999": 1279833.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 1538, "min": 270583.0, "max": 1227292.0, "avg": 327013.0, "p75": 376000.0, "p99": 490584.0, "p995": 533958.0, "p999": 1118750.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 2493, "min": 186542.0, "max": 541250.0, "avg": 201346.0, "p75": 199167.0, "p99": 300417.0, "p995": 315916.0, "p999": 358583.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 1454, "min": 272708.0, "max": 892250.0, "avg": 346023.0, "p75": 383584.0, "p99": 487917.0, "p995": 520458.0, "p999": 708583.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 1303, "min": 316667.0, "max": 1992541.0, "avg": 387163.0, "p75": 386917.0, "p99": 432917.0, "p995": 457375.0, "p999": 1946041.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 2130, "min": 204500.0, "max": 493334.0, "avg": 235796.0, "p75": 252250.0, "p99": 275959.0, "p995": 286500.0, "p999": 310500.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 2286, "min": 210542.0, "max": 297042.0, "avg": 219760.0, "p75": 222250.0, "p99": 247834.0, "p995": 275750.0, "p999": 286833.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 1758, "min": 132166.0, "max": 2161417.0, "avg": 286700.0, "p75": 214958.0, "p99": 1304667.0, "p995": 1521750.0, "p999": 2091250.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 1512, "min": 279250.0, "max": 793625.0, "avg": 332861.0, "p75": 327625.0, "p99": 672792.0, "p995": 692333.0, "p999": 776583.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 1125, "min": 353791.0, "max": 1030125.0, "avg": 449102.0, "p75": 471125.0, "p99": 592875.0, "p995": 676417.0, "p999": 1019750.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 933, "min": 424958.0, "max": 977625.0, "avg": 541148.0, "p75": 600875.0, "p99": 850542.0, "p995": 930667.0, "p999": 977625.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 157, "min": 2832708.0, "max": 4378833.0, "avg": 3390546.0, "p75": 3609208.0, "p99": 4361459.0, "p995": 4378833.0, "p999": 4378833.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 164, "min": 2874916.0, "max": 3833375.0, "avg": 3251857.0, "p75": 3308875.0, "p99": 3709500.0, "p995": 3833375.0, "p999": 3833375.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 2665, "min": 183250.0, "max": 1531500.0, "avg": 188349.0, "p75": 187959.0, "p99": 226000.0, "p995": 242083.0, "p999": 294417.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 1059, "min": 433000.0, "max": 1675792.0, "avg": 477931.0, "p75": 503125.0, "p99": 583000.0, "p995": 593208.0, "p999": 1584875.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 222, "min": 1920541.0, "max": 3161958.0, "avg": 2343856.0, "p75": 2446042.0, "p99": 2783875.0, "p995": 2807417.0, "p999": 3161958.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "" }, { "pair": 5, "side": "baseline", "loadBefore": [ 9.30126953125, 18.6865234375, 24.7333984375 ], "started": 1789423355.4545128, "loadAfter": [ 9.193359375, 18.35107421875, 24.54345703125 ], "finished": 1789423365.547383, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 11134, "min": 35500.0, "max": 344708.0, "avg": 44853.0, "p75": 46834.0, "p99": 87750.0, "p995": 108416.0, "p999": 150167.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 4874, "min": 91542.0, "max": 348042.0, "avg": 102671.0, "p75": 101709.0, "p99": 172583.0, "p995": 200250.0, "p999": 225625.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 2270, "min": 196917.0, "max": 558792.0, "avg": 221142.0, "p75": 219125.0, "p99": 309375.0, "p995": 319916.0, "p999": 361625.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 4167, "min": 105459.0, "max": 460167.0, "avg": 120162.0, "p75": 123167.0, "p99": 184125.0, "p995": 202333.0, "p999": 238625.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 1824, "min": 198083.0, "max": 1214458.0, "avg": 275585.0, "p75": 294083.0, "p99": 433750.0, "p995": 463666.0, "p999": 845625.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 916, "min": 412542.0, "max": 3061625.0, "avg": 550739.0, "p75": 626625.0, "p99": 662541.0, "p995": 692000.0, "p999": 3061625.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 1967, "min": 233584.0, "max": 757250.0, "avg": 255562.0, "p75": 257500.0, "p99": 300375.0, "p995": 317500.0, "p999": 614666.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 1837, "min": 253000.0, "max": 1363834.0, "avg": 273792.0, "p75": 273959.0, "p99": 336458.0, "p995": 356750.0, "p999": 1349500.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 1650, "min": 151125.0, "max": 2344333.0, "avg": 305400.0, "p75": 236042.0, "p99": 1206375.0, "p995": 1348458.0, "p999": 2162750.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 1495, "min": 259167.0, "max": 1067750.0, "avg": 336388.0, "p75": 371667.0, "p99": 696208.0, "p995": 713625.0, "p999": 943792.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 1478, "min": 307833.0, "max": 1112959.0, "avg": 340715.0, "p75": 342041.0, "p99": 468125.0, "p995": 501250.0, "p999": 1049500.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 1128, "min": 367792.0, "max": 865875.0, "avg": 447632.0, "p75": 453084.0, "p99": 669083.0, "p995": 687792.0, "p999": 734208.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 138, "min": 3125208.0, "max": 5402792.0, "avg": 3890219.0, "p75": 4164208.0, "p99": 4884166.0, "p995": 5402792.0, "p999": 5402792.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 137, "min": 3403000.0, "max": 5083875.0, "avg": 4014723.0, "p75": 4107625.0, "p99": 5023792.0, "p995": 5083875.0, "p999": 5083875.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 1993, "min": 236875.0, "max": 2109333.0, "avg": 252096.0, "p75": 273458.0, "p99": 297125.0, "p995": 306625.0, "p999": 2069083.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 951, "min": 464000.0, "max": 1888708.0, "avg": 531501.0, "p75": 560041.0, "p99": 686875.0, "p995": 712500.0, "p999": 1888708.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///private/tmp/encode-pointer-baseline/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 247, "min": 1905500.0, "max": 3435584.0, "avg": 2125531.0, "p75": 2163500.0, "p99": 2746792.0, "p995": 3144459.0, "p999": 3435584.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "" }, { "pair": 5, "side": "fixed", "loadBefore": [ 9.193359375, 18.35107421875, 24.54345703125 ], "started": 1789423365.567866, "loadAfter": [ 8.53564453125, 17.91064453125, 24.314453125 ], "finished": 1789423375.6766982, "report": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 14787, "min": 28209.0, "max": 468375.0, "avg": 33713.0, "p75": 36000.0, "p99": 51291.0, "p995": 75166.0, "p999": 122125.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 7588, "min": 56542.0, "max": 548459.0, "avg": 65951.0, "p75": 65084.0, "p99": 120125.0, "p995": 138334.0, "p999": 194250.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 2636, "min": 149875.0, "max": 1508333.0, "avg": 190362.0, "p75": 193166.0, "p99": 290667.0, "p995": 326625.0, "p999": 576958.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 3358, "min": 97083.0, "max": 2112208.0, "avg": 148955.0, "p75": 146375.0, "p99": 362333.0, "p995": 480291.0, "p999": 771417.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 1603, "min": 273417.0, "max": 780042.0, "avg": 313704.0, "p75": 332208.0, "p99": 453542.0, "p995": 492708.0, "p999": 755833.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - integer arithmetic", "baseline": false, "results": [ { "ok": { "n": 1103, "min": 407500.0, "max": 2582583.0, "avg": 457172.0, "p75": 462875.0, "p99": 550209.0, "p995": 567292.0, "p999": 2492000.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - floating point arithmetic", "baseline": false, "results": [ { "ok": { "n": 1813, "min": 252083.0, "max": 563750.0, "avg": 277263.0, "p75": 284375.0, "p99": 311459.0, "p995": 327208.0, "p999": 495958.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - short-lived object allocation", "baseline": false, "results": [ { "ok": { "n": 1912, "min": 253000.0, "max": 1253209.0, "avg": 262977.0, "p75": 265291.0, "p99": 334291.0, "p995": 343500.0, "p999": 1172625.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - retained object graph", "baseline": false, "results": [ { "ok": { "n": 1532, "min": 151416.0, "max": 2677709.0, "avg": 328788.0, "p75": 250375.0, "p99": 1367375.0, "p995": 1612417.0, "p999": 1991667.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - array fill and sum", "baseline": false, "results": [ { "ok": { "n": 1495, "min": 279083.0, "max": 1070917.0, "avg": 336618.0, "p75": 367459.0, "p99": 793000.0, "p995": 840083.0, "p999": 1024500.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - typed array write and read", "baseline": false, "results": [ { "ok": { "n": 1264, "min": 356625.0, "max": 587584.0, "avg": 399387.0, "p75": 409542.0, "p99": 520625.0, "p995": 564834.0, "p999": 587000.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - string building", "baseline": false, "results": [ { "ok": { "n": 1077, "min": 362875.0, "max": 866917.0, "avg": 468375.0, "p75": 511750.0, "p99": 746375.0, "p995": 791333.0, "p999": 810292.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - map insert and read", "baseline": false, "results": [ { "ok": { "n": 169, "min": 2793916.0, "max": 3935167.0, "avg": 3167213.0, "p75": 3282542.0, "p99": 3816625.0, "p995": 3935167.0, "p999": 3935167.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - set insert and lookup", "baseline": false, "results": [ { "ok": { "n": 154, "min": 3106666.0, "max": 4177292.0, "avg": 3490110.0, "p75": 3592792.0, "p99": 4074875.0, "p995": 4177292.0, "p999": 4177292.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - property access through a prototype", "baseline": false, "results": [ { "ok": { "n": 2296, "min": 212291.0, "max": 1641542.0, "avg": 218722.0, "p75": 214958.0, "p99": 258125.0, "p995": 270292.0, "p999": 340375.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - closure allocation and call", "baseline": false, "results": [ { "ok": { "n": 1032, "min": 454333.0, "max": 1911708.0, "avg": 489032.0, "p75": 501625.0, "p99": 631000.0, "p995": 639292.0, "p999": 1639500.0, "highPrecision": true, "usedExplicitTimers": false } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/dashboard/machine-calibration.bench.ts", "group": null, "name": "machine calibration - json round trip", "baseline": false, "results": [ { "ok": { "n": 255, "min": 1903083.0, "max": 2334958.0, "avg": 2049610.0, "p75": 2100167.0, "p99": 2262166.0, "p995": 2276625.0, "p999": 2334958.0, "highPrecision": true, "usedExplicitTimers": false } } ] } ] }, "stderr": "" } ], "adjacentPairs": [ { "run": 1, "loadBefore": [ 12.83154296875, 17.3603515625, 23.6640625 ], "started": 1789423434.559096, "loadAfter": [ 12.83154296875, 17.3603515625, 23.6640625 ], "finished": 1789423436.128901, "results": [ { "name": "plain depth 1", "pairs": [ [ 0.040309880000000645, 0.021725160000000587 ], [ 0.042513320000000764, 0.02229675999999955 ], [ 0.04162508000000031, 0.0228016800000006 ], [ 0.03842500000000058, 0.02257168000000064 ], [ 0.03630995999999954, 0.023361759999999947 ], [ 0.03573844000000008, 0.024621639999999445 ], [ 0.03708832000000029, 0.02255507999999935 ], [ 0.037826600000000495, 0.022358200000001317 ], [ 0.03567008000000072, 0.022383400000000223 ], [ 0.035541559999997786, 0.023596639999999808 ], [ 0.038166600000001265, 0.022666519999999083 ], [ 0.03761155999999971, 0.02269999999999925 ], [ 0.03724831999999992, 0.024204960000001278 ], [ 0.036995039999998765, 0.02456839999999829 ], [ 0.038928359999999315, 0.02249999999999943 ], [ 0.041245040000000587, 0.022511760000001005 ], [ 0.036586679999999205, 0.025294920000000616 ], [ 0.037940080000000764, 0.02305159999999887 ], [ 0.03850491999999974, 0.022569999999998345 ], [ 0.03759500000000059, 0.02241672000000051 ] ] }, { "name": "plain depth 4", "pairs": [ [ 0.08488496000000395, 0.05551811999999814 ], [ 0.0933732799999973, 0.05388339999999289 ], [ 0.09247843999999987, 0.055543360000001485 ], [ 0.08984659999999962, 0.05142491999999834 ], [ 0.09299503999999842, 0.05448668000000225 ], [ 0.0869299999999987, 0.05128007999999795 ], [ 0.09531503999999927, 0.057581480000004605 ], [ 0.0877399599999967, 0.051105039999999914 ], [ 0.08723168000000328, 0.05074003999999945 ], [ 0.08838995999999724, 0.05116479999999797 ], [ 0.0990049599999952, 0.054196719999999914 ], [ 0.09401003999999943, 0.0568250399999954 ], [ 0.10126004000000194, 0.05946492000000376 ], [ 0.09625519999999824, 0.056464959999999564 ], [ 0.10149663999999803, 0.05861991999999987 ], [ 0.10199160000000233, 0.05761496000000079 ], [ 0.09397844000000191, 0.055508319999999 ], [ 0.09581503999999881, 0.058248160000000555 ], [ 0.09667668000000049, 0.059583399999995665 ], [ 0.10463668000000212, 0.05680664000000206 ] ] }, { "name": "plain depth 12", "pairs": [ [ 0.24670155999999452, 0.1630216800000062 ], [ 0.2548249200000077, 0.14542836000000534 ], [ 0.24488327999999682, 0.14304499999999734 ], [ 0.24884344000000055, 0.14317500000000336 ], [ 0.24747999999999593, 0.1464949600000068 ], [ 0.23815659999999525, 0.1384917199999927 ], [ 0.23889007999999648, 0.1379933199999914 ], [ 0.24423492000000124, 0.14405831999999236 ], [ 0.24655171999999992, 0.14475504 ], [ 0.24143000000000256, 0.14861659999999347 ], [ 0.24013836000000538, 0.14336659999999937 ], [ 0.2579017199999953, 0.13827500000000328 ], [ 0.2775450399999954, 0.161625039999999 ], [ 0.2522384399999828, 0.1412000000000171 ], [ 0.2515999600000032, 0.14923332000001666 ], [ 0.24885331999999835, 0.14606832000000394 ], [ 0.2503049199999941, 0.14839331999999103 ], [ 0.2463484400000061, 0.14543500000000675 ], [ 0.24225332000000435, 0.14744176000000153 ], [ 0.2405883600000061, 0.14694331999999577 ] ] }, { "name": "long depth 4", "pairs": [ [ 0.15127499999997326, 0.09974664000000302 ], [ 0.15063008000000536, 0.09599503999997978 ], [ 0.16816323999999894, 0.11104171999999835 ], [ 0.17230000000000928, 0.11158828000001904 ], [ 0.16881823999999596, 0.10653327999998964 ], [ 0.16384831999999278, 0.10815815999998904 ], [ 0.166456519999997, 0.1134083199999941 ], [ 0.16442327999998269, 0.10798160000000735 ], [ 0.18297852000001058, 0.10754832000000988 ], [ 0.22051324000000022, 0.12078171999999085 ], [ 0.20779504000001453, 0.12957835999998224 ], [ 0.1979399599999897, 0.12818011999998816 ], [ 0.21054475999999794, 0.15348019999998996 ], [ 0.34253663999999845, 0.34018667999997887 ], [ 0.2739650800000163, 0.15730172000000947 ], [ 0.2403384400000141, 0.1497881999999845 ], [ 0.2373798799999986, 0.19219339999999646 ], [ 0.23440815999999814, 0.1504434399999991 ], [ 0.24096008000001348, 0.15329179999998815 ], [ 0.2383600400000023, 0.1625284400000055 ] ] }, { "name": "escaped depth 4", "pairs": [ [ 0.29476659999999355, 0.2843434399999842 ], [ 0.2895534000000316, 0.3046431200000279 ], [ 0.29422160000000075, 0.2999383200000011 ], [ 0.25366332000001424, 0.2656467200000134 ], [ 0.285189999999975, 0.28946672000002766 ], [ 0.26125332000001433, 0.2669266400000106 ], [ 0.26054339999997866, 0.2564249199999631 ], [ 0.2523582399999941, 0.25665664000001015 ], [ 0.2568982799999958, 0.260894959999996 ], [ 0.2581467599999632, 0.2462833199999841 ], [ 0.2555599599999914, 0.2799081599999681 ], [ 0.29661324000001515, 0.288781599999993 ], [ 0.29112511999997875, 0.29410147999999936 ], [ 0.28985671999997975, 0.294541679999993 ], [ 0.2962700400000358, 0.28829664000002597 ], [ 0.3014101599999776, 0.28281176000001323 ], [ 0.29997327999998563, 0.3431116000000111 ], [ 0.3514049999999952, 0.3520550000000276 ], [ 0.3362967200000185, 0.34346160000000964 ], [ 0.3491815199999837, 0.3419550000000254 ] ] } ] }, { "run": 2, "loadBefore": [ 12.83154296875, 17.3603515625, 23.6640625 ], "started": 1789423436.129923, "loadAfter": [ 13.4052734375, 17.40380859375, 23.642578125 ], "finished": 1789423438.543303, "results": [ { "name": "plain depth 1", "pairs": [ [ 0.09930176000000017, 0.052039839999999345 ], [ 0.09874671999999976, 0.05169335999999987 ], [ 0.09102660000000128, 0.05761335999999972 ], [ 0.08358327999999915, 0.05308828000000119 ], [ 0.08667827999999929, 0.05702643999999907 ], [ 0.08834332000000017, 0.0559800000000007 ], [ 0.08347144000000015, 0.057801680000001736 ], [ 0.09343184000000009, 0.05200983999999835 ], [ 0.09687500000000057, 0.052846640000001346 ], [ 0.08704152000000022, 0.052723319999997784 ], [ 0.09292336000000205, 0.05440832000000342 ], [ 0.08319319999999834, 0.052311719999997876 ], [ 0.09367495999999619, 0.05193339999999466 ], [ 0.10943164000000025, 0.0557033199999978 ], [ 0.08903331999999978, 0.05281667999999968 ], [ 0.08914176000000339, 0.05260171999999898 ], [ 0.09521831999999904, 0.05249176000000034 ], [ 0.08771659999999998, 0.051935080000000654 ], [ 0.09337164000000144, 0.05556496000000493 ], [ 0.08773999999999774, 0.0521150399999965 ] ] }, { "name": "plain depth 4", "pairs": [ [ 0.18231667999999446, 0.11880311999999776 ], [ 0.20230480000000625, 0.10941179999998667 ], [ 0.1881917999999996, 0.11080676000000039 ], [ 0.20744651999999406, 0.12312987999999678 ], [ 0.19220336000000088, 0.10823155999999699 ], [ 0.18805159999999888, 0.10692007999999532 ], [ 0.21862003999999843, 0.11016655999999785 ], [ 0.1839765999999986, 0.10908004000000346 ], [ 0.2168933200000015, 0.11546504000000368 ], [ 0.20569335999999566, 0.10754511999999522 ], [ 0.27116508000000067, 0.11282667999999375 ], [ 0.18491016000000626, 0.10997995999999148 ], [ 0.21545483999999987, 0.12153171999999358 ], [ 0.23103672000000416, 0.09895335999999133 ], [ 0.1833781199999976, 0.11074667999999974 ], [ 0.1871483199999966, 0.10815996000000723 ], [ 0.19193995999999744, 0.1184849599999984 ], [ 0.18453172000000678, 0.10952660000000378 ], [ 0.1922633600000063, 0.11024832000000515 ], [ 0.1847365600000012, 0.10802824000000101 ] ] }, { "name": "plain depth 12", "pairs": [ [ 0.39680652000001826, 0.23204000000002453 ], [ 0.3915416799999821, 0.22932831999999054 ], [ 0.38774319999998624, 0.22375011999997696 ], [ 0.4334451999999919, 0.22185004000001754 ], [ 0.39283160000000406, 0.23061832000000324 ], [ 0.41766847999999757, 0.2251934399999982 ], [ 0.40149339999997663, 0.23783680000000004 ], [ 0.404148239999995, 0.22664812000000892 ], [ 0.39965987999999925, 0.23335340000000088 ], [ 0.39538508000002365, 0.22595503999998529 ], [ 0.39249348000001194, 0.23361491999999542 ], [ 0.39508500000000824, 0.2220566399999916 ], [ 0.3947150800000054, 0.23423000000000685 ], [ 0.40287671999997654, 0.22740664000002653 ], [ 0.3886200799999915, 0.2332101600000442 ], [ 0.3978465999999935, 0.23288347999996403 ], [ 0.39606324000000315, 0.23289844000000812 ], [ 0.4051365999999871, 0.2364948799999911 ], [ 0.40568324000002576, 0.23169507999998132 ], [ 0.3960932799999955, 0.22708156000000598 ] ] }, { "name": "long depth 4", "pairs": [ [ 0.3110466000000179, 0.15948004000001675 ], [ 0.26968824000000496, 0.18539488000003077 ], [ 0.26462339999997314, 0.19382836000005227 ], [ 0.3521965199999886, 0.11438844000000245 ], [ 0.31308672000000115, 0.16802655999995295 ], [ 0.26649655999998684, 0.17464828000001034 ], [ 0.2416097599999921, 0.1632299999999941 ], [ 0.24194160000003648, 0.1715450800000326 ], [ 0.24176323999999114, 0.18760512000001653 ], [ 0.24074000000000523, 0.1572084399999767 ], [ 0.24488828000002286, 0.15584327999998096 ], [ 0.2356617599999845, 0.15055680000001304 ], [ 0.24399992000001475, 0.1507800800000041 ], [ 0.24475171999998566, 0.1529348800000389 ], [ 0.2364450399999805, 0.15868667999999161 ], [ 0.2705749599999945, 0.15539820000001783 ], [ 0.23807316000003084, 0.15285995999999613 ], [ 0.23541676000003464, 0.1745915199999763 ], [ 0.24966491999997742, 0.15139343999999255 ], [ 0.23398856000003435, 0.15541503999997075 ] ] }, { "name": "escaped depth 4", "pairs": [ [ 0.41074839999999313, 0.39874336000003496 ], [ 0.4103599999999733, 0.40902680000001057 ], [ 0.4170833199999743, 0.39719324000004236 ], [ 0.3335749999999825, 0.336323280000006 ], [ 0.3364933999999812, 0.33676651999999196 ], [ 0.3960515199999463, 0.4041149999999652 ], [ 0.41231675999995787, 0.4257932400000209 ], [ 0.47764164000000164, 0.4298369199999979 ], [ 0.3971549599999344, 0.39932176000002073 ], [ 0.5102400399999533, 0.4622500399999444 ], [ 0.47642667999998595, 0.4248550400000022 ], [ 0.4096866399999453, 0.47299835999998324 ], [ 0.4687584800000513, 0.44682668000001285 ], [ 0.45028168000000734, 0.4746549999999843 ], [ 0.4927800799999568, 0.41359659999998255 ], [ 0.4596700000000055, 0.4562066799999775 ], [ 0.4385567199999423, 0.4924900799999887 ], [ 0.47049504000002346, 0.4193501600000491 ], [ 0.4972833600000922, 0.4713366399999723 ], [ 0.43565819999997984, 0.3979650799999581 ] ] } ] }, { "run": 3, "loadBefore": [ 13.4052734375, 17.40380859375, 23.642578125 ], "started": 1789423438.544925, "loadAfter": [ 13.4052734375, 17.40380859375, 23.642578125 ], "finished": 1789423440.9085429, "results": [ { "name": "plain depth 1", "pairs": [ [ 0.11642504000000031, 0.0522965199999976 ], [ 0.10303168000000085, 0.05206663999999762 ], [ 0.08872827999999913, 0.051918280000001 ], [ 0.08172159999999849, 0.0518549199999984 ], [ 0.08898184000000128, 0.052713240000000494 ], [ 0.09138164000000018, 0.05818159999999921 ], [ 0.09431496000000095, 0.05198992000000089 ], [ 0.0865933599999994, 0.06684827999999811 ], [ 0.08165491999999745, 0.051614959999997156 ], [ 0.08842487999999776, 0.06745992000000228 ], [ 0.08922508000000107, 0.052123319999999466 ], [ 0.08477316000000315, 0.05257987999999841 ], [ 0.08140323999999964, 0.05195016000000578 ], [ 0.10547991999999909, 0.0684151200000008 ], [ 0.08874323999999888, 0.05839324000000261 ], [ 0.10151335999999674, 0.05187164000000166 ], [ 0.08635347999999453, 0.05208995999999843 ], [ 0.1089549599999998, 0.05613176000000067 ], [ 0.10517492000000062, 0.052379879999998595 ], [ 0.08958500000000186, 0.07670823999999925 ] ] }, { "name": "plain depth 4", "pairs": [ [ 0.19015663999999788, 0.1377500799999939 ], [ 0.1825032800000031, 0.10883172000001423 ], [ 0.18226495999999998, 0.11894488000000593 ], [ 0.20694187999999714, 0.11169003999999404 ], [ 0.1808350800000062, 0.11150155999999925 ], [ 0.17983492000000298, 0.1218317999999931 ], [ 0.18240824000000203, 0.10661671999999499 ], [ 0.19676347999999963, 0.10945352000000184 ], [ 0.179708320000002, 0.11787647999999536 ], [ 0.18181672000000162, 0.10843168000000106 ], [ 0.188408280000001, 0.11761999999999716 ], [ 0.19020504000000302, 0.10634175999999798 ], [ 0.18197343999999474, 0.10831332000000202 ], [ 0.19529815999999983, 0.11085324000000356 ], [ 0.2023400400000037, 0.10518327999999429 ], [ 0.18613663999999971, 0.10929011999999375 ], [ 0.19351331999999957, 0.10468820000000051 ], [ 0.18707324000000652, 0.11128331999998864 ], [ 0.186771760000006, 0.10975840000000062 ], [ 0.19579836000000342, 0.1042214799999988 ] ] }, { "name": "plain depth 12", "pairs": [ [ 0.33838160000000245, 0.20087831999999708 ], [ 0.32806004000001393, 0.19111344000000827 ], [ 0.3362582400000065, 0.18888483999998698 ], [ 0.3364733600000045, 0.1974567599999773 ], [ 0.33216511999999054, 0.19461836000002222 ], [ 0.3279150799999979, 0.1924617200000057 ], [ 0.3460517599999912, 0.19881851999999525 ], [ 0.3363684399999829, 0.1931900399999904 ], [ 0.3483217200000081, 0.19533315999998194 ], [ 0.3907016799999974, 0.34602835999999115 ], [ 0.3661748399999806, 0.2845215199999893 ], [ 0.48684004000001097, 0.2580017199999793 ], [ 0.41695987999999035, 0.2861734799999931 ], [ 0.42981324000001675, 0.28335016000000907 ], [ 0.4835115600000017, 0.26480843999999254 ], [ 0.42260663999999454, 0.26614651999998384 ], [ 0.40703499999997805, 0.2243482799999856 ], [ 0.42311179999999693, 0.22890683999998146 ], [ 0.42210995999998885, 0.22634987999999795 ], [ 0.3967849199999637, 0.23135343999997532 ] ] }, { "name": "long depth 4", "pairs": [ [ 0.24971831999999267, 0.1552198799999769 ], [ 0.2282817999999952, 0.1572931999999855 ], [ 0.248829999999989, 0.1596299199999885 ], [ 0.2384747999999672, 0.15131652000000032 ], [ 0.24280500000001667, 0.1498699999999826 ], [ 0.24448835999999574, 0.15516000000000532 ], [ 0.24809508000002098, 0.15183823999999732 ], [ 0.24298679999997147, 0.1548499200000515 ], [ 0.23876328000001196, 0.1530033199999707 ], [ 0.23423335999998016, 0.15166996000003563 ], [ 0.23174164000001837, 0.15257168000002821 ], [ 0.26333488000002947, 0.15022824000001492 ], [ 0.2375049200000103, 0.15032336000000213 ], [ 0.2387016400000175, 0.1576799999999912 ], [ 0.23287163999999394, 0.15031171999996332 ], [ 0.23267347999996674, 0.15028516000001219 ], [ 0.24537163999999392, 0.15685840000002826 ], [ 0.24348840000002384, 0.15769308000001728 ], [ 0.23278831999999966, 0.15490824000001338 ], [ 0.24512996000002205, 0.15187016000000766 ] ] }, { "name": "escaped depth 4", "pairs": [ [ 0.4183583600000293, 0.44670500000001995 ], [ 0.4031000000000222, 0.4266349199999422 ], [ 0.41120012000000317, 0.39950504000004 ], [ 0.4485783199999787, 0.4179668000000038 ], [ 0.39654999999997015, 0.4374465599999894 ], [ 0.42132996000002093, 0.4278767599999992 ], [ 0.4083018399999582, 0.40636672000006 ], [ 0.4054466800000591, 0.42682491999994454 ], [ 0.3912981200000104, 0.46981843999994455 ], [ 0.48895987999996576, 0.4384249199999431 ], [ 0.4747100800000408, 0.4325800000000345 ], [ 0.4270317200000136, 0.4166917199999989 ], [ 0.4120734000000448, 0.41795991999997567 ], [ 0.41867668000004415, 0.42838331999997536 ], [ 0.4263865600000281, 0.4364283200000864 ], [ 0.4943600400000287, 0.40929995999998936 ], [ 0.45981671999994433, 0.4039883600000212 ], [ 0.43573499999998605, 0.4708566799999426 ], [ 0.4207200400000329, 0.4141783199999736 ], [ 0.4202049199999783, 0.39550836000002165 ] ] } ] }, { "run": 4, "loadBefore": [ 13.4052734375, 17.40380859375, 23.642578125 ], "started": 1789423440.910091, "loadAfter": [ 13.13232421875, 17.28076171875, 23.5625 ], "finished": 1789423442.9155982, "results": [ { "name": "plain depth 1", "pairs": [ [ 0.10292836000000193, 0.05217168000000015 ], [ 0.09431500000000029, 0.0512283199999996 ], [ 0.0921016000000003, 0.05583991999999853 ], [ 0.08439016000000038, 0.054123320000001626 ], [ 0.08625492000000065, 0.05119680000000017 ], [ 0.09477672000000041, 0.055171679999999695 ], [ 0.09133004000000028, 0.051643359999999916 ], [ 0.0894165200000009, 0.0527383199999997 ], [ 0.08491480000000023, 0.05485832000000073 ], [ 0.08707016000000295, 0.051215040000000725 ], [ 0.08562655999999948, 0.055606639999998604 ], [ 0.08961488000000259, 0.0514531599999998 ], [ 0.08157487999999943, 0.050938240000000405 ], [ 0.0841752399999973, 0.053979839999999515 ], [ 0.08579995999999937, 0.05132500000000164 ], [ 0.08496832000000268, 0.050865080000000944 ], [ 0.08142839999999638, 0.050818319999997356 ], [ 0.08434168000000114, 0.05868835999999646 ], [ 0.08857323999999835, 0.05114160000000197 ], [ 0.08978660000000445, 0.05079343999999878 ] ] }, { "name": "plain depth 4", "pairs": [ [ 0.1872066000000018, 0.10744660000000067 ], [ 0.1858283599999959, 0.10793991999999207 ], [ 0.18471991999999318, 0.1084201199999984 ], [ 0.17835488000000851, 0.1075067200000035 ], [ 0.18427331999998614, 0.10739347999999836 ], [ 0.1860367599999995, 0.10506999999999835 ], [ 0.17622172000000091, 0.0891933599999993 ], [ 0.1541799200000014, 0.09207164000000603 ], [ 0.15281647999999223, 0.09397995999999466 ], [ 0.15273159999999508, 0.09419671999999991 ], [ 0.15711684000000103, 0.09308176000000003 ], [ 0.15458824000000504, 0.09353991999998698 ], [ 0.1727368400000023, 0.08702159999998912 ], [ 0.16633340000000316, 0.08920671999999968 ], [ 0.16597003999998833, 0.08611995999999636 ], [ 0.15944020000000136, 0.09149012000000312 ], [ 0.15451671999999006, 0.09160320000000183 ], [ 0.15480160000000068, 0.08776676000000179 ], [ 0.15528827999999295, 0.0919466000000034 ], [ 0.15660515999999688, 0.08958487999999307 ] ] }, { "name": "plain depth 12", "pairs": [ [ 0.2786665999999968, 0.16056835999999294 ], [ 0.2826916800000026, 0.15669995999999628 ], [ 0.304533320000005, 0.18844323999999232 ], [ 0.36934344000000235, 0.19472336000002544 ], [ 0.32925348000000665, 0.1992583999999988 ], [ 0.3288450799999964, 0.18509672000001956 ], [ 0.33268175999999583, 0.18617660000002162 ], [ 0.33711176000001614, 0.19346331999999167 ], [ 0.33808504000001904, 0.19939495999999507 ], [ 0.33560519999999544, 0.1890633600000183 ], [ 0.3429083200000105, 0.18627983999999287 ], [ 0.33057500000000345, 0.19309983999999075 ], [ 0.3328415199999972, 0.18520504000000984 ], [ 0.34233667999998035, 0.18474012000000128 ], [ 0.3590982799999802, 0.2292301199999838 ], [ 0.38304679999999736, 0.23125007999999525 ], [ 0.333180040000002, 0.21018491999999242 ], [ 0.3544899599999962, 0.22429983999999423 ], [ 0.3444132399999853, 0.19118668000000524 ], [ 0.3366433599999937, 0.18408019999998942 ] ] }, { "name": "long depth 4", "pairs": [ [ 0.19874995999995917, 0.1412150400000064 ], [ 0.2328265999999985, 0.1476266400000077 ], [ 0.23272000000002663, 0.12828175999998165 ], [ 0.2106565600000067, 0.13014992000003986 ], [ 0.22986512000001313, 0.1531851199999983 ], [ 0.20600336000002245, 0.14662499999996725 ], [ 0.20521344000000682, 0.13352663999999095 ], [ 0.20706999999997605, 0.1294116000000031 ], [ 0.2051118000000315, 0.1300716399999874 ], [ 0.19590495999999802, 0.1315082000000166 ], [ 0.19976172000001496, 0.1335515999999825 ], [ 0.20576656000001095, 0.12929840000001605 ], [ 0.1975049200000194, 0.13188332000003355 ], [ 0.19615012000001117, 0.14342675999999302 ], [ 0.20408831999996438, 0.1348899999999867 ], [ 0.19621320000001105, 0.12936828000000788 ], [ 0.1982548400000087, 0.12918676000001142 ], [ 0.20458007999999608, 0.1285300400000233 ], [ 0.20740155999996204, 0.12667832000001 ], [ 0.20373180000000501, 0.12982339999998657 ] ] }, { "name": "escaped depth 4", "pairs": [ [ 0.31103987999998933, 0.3402282400000331 ], [ 0.3173116000000573, 0.29345507999997605 ], [ 0.3461099600000125, 0.3462316799999644 ], [ 0.32216831999998247, 0.3319833599999765 ], [ 0.2907285199999751, 0.3146516000000065 ], [ 0.3460683599999993, 0.34027331999994204 ], [ 0.35086003999997045, 0.3454750400000103 ], [ 0.33741987999998857, 0.34729168000001664 ], [ 0.3488166799999635, 0.3424133599999914 ], [ 0.34670492000000197, 0.35582996000000094 ], [ 0.3461983600000258, 0.3465800399999807 ], [ 0.33799328000000967, 0.3625949599999421 ], [ 0.35186995999999454, 0.3470467199999894 ], [ 0.29286004000000504, 0.2947767199999998 ], [ 0.2873999999999887, 0.298273240000035 ], [ 0.287083279999988, 0.29102168000003076 ], [ 0.28814008000000285, 0.3376150000000143 ], [ 0.2916900000000351, 0.3224099600000045 ], [ 0.282043319999957, 0.29883348000006665 ], [ 0.2969783200000438, 0.3426066799999717 ] ] } ] }, { "run": 5, "loadBefore": [ 13.13232421875, 17.28076171875, 23.5625 ], "started": 1789423442.916793, "loadAfter": [ 13.13232421875, 17.28076171875, 23.5625 ], "finished": 1789423445.250958, "results": [ { "name": "plain depth 1", "pairs": [ [ 0.08004680000000121, 0.04377819999999929 ], [ 0.08039832000000047, 0.04348823999999979 ], [ 0.07899344000000098, 0.048756600000001524 ], [ 0.0729316400000016, 0.04490007999999875 ], [ 0.06989819999999895, 0.04377663999999754 ], [ 0.07334828000000072, 0.043598279999999365 ], [ 0.08001491999999985, 0.04553687999999852 ], [ 0.07709835999999826, 0.0439649600000007 ], [ 0.07125652000000116, 0.04391999999999996 ], [ 0.07112175999999863, 0.04592508000000123 ], [ 0.07793319999999994, 0.0439016799999996 ], [ 0.07264667999999971, 0.04352164000000187 ], [ 0.07015164000000026, 0.043588400000001 ], [ 0.07614484000000118, 0.05531168000000264 ], [ 0.0781899600000014, 0.04495824000000198 ], [ 0.07184328000000051, 0.043051639999997636 ], [ 0.07249163999999951, 0.048406680000001645 ], [ 0.06988499999999817, 0.04349667999999952 ], [ 0.07213163999999779, 0.0442283999999961 ], [ 0.07948999999999615, 0.04631504000000063 ] ] }, { "name": "plain depth 4", "pairs": [ [ 0.1885033199999998, 0.10776328000000376 ], [ 0.18887680000000273, 0.11139987999999676 ], [ 0.18988323999999238, 0.10888003999999682 ], [ 0.19007496000000174, 0.10840995999999904 ], [ 0.19093480000000682, 0.10934995999999728 ], [ 0.18037475999999514, 0.10658007999999654 ], [ 0.18949335999999448, 0.10914823999999954 ], [ 0.19113324000000148, 0.1063916399999971 ], [ 0.17978816000000505, 0.11259824000001117 ], [ 0.20385835999999927, 0.1097599200000036 ], [ 0.18954499999999372, 0.10827675999998747 ], [ 0.2155516399999874, 0.10608496000000514 ], [ 0.18314160000000357, 0.10459831999999324 ], [ 0.18216507999999976, 0.10986488000000463 ], [ 0.18852175999999873, 0.10492187999999487 ], [ 0.18752999999999476, 0.10601835999999822 ], [ 0.18229843999999504, 0.11420507999999473 ], [ 0.19975347999999257, 0.11465164000000186 ], [ 0.19144500000000333, 0.10676832000000104 ], [ 0.19140160000000606, 0.10523832000000084 ] ] }, { "name": "plain depth 12", "pairs": [ [ 0.3959450800000195, 0.22280831999999917 ], [ 0.4282184399999824, 0.2536384000000089 ], [ 0.4214832400000023, 0.262605039999994 ], [ 0.3987715199999957, 0.23618492000001878 ], [ 0.40855172000000495, 0.23557007999999768 ], [ 0.38325835999999525, 0.2517731999999796 ], [ 0.4786683599999924, 0.2507682800000157 ], [ 0.3978950799999984, 0.2952350000000024 ], [ 0.38662999999999104, 0.23804995999999393 ], [ 0.4934915999999885, 0.22765648000000055 ], [ 0.42903827999999067, 0.24977336000001743 ], [ 0.4183117199999924, 0.22324159999999665 ], [ 0.41848491999999626, 0.23126352000000225 ], [ 0.41374171999999815, 0.23364008000000466 ], [ 0.4460951599999908, 0.22828167999999097 ], [ 0.39362179999995534, 0.23427167999999254 ], [ 0.40018487999996977, 0.22971348000000036 ], [ 0.45043500000001585, 0.26331168000001526 ], [ 0.40569163999997726, 0.24817652000000634 ], [ 0.4018733599999905, 0.22937507999996343 ] ] }, { "name": "long depth 4", "pairs": [ [ 0.19460147999999208, 0.12924167999998645 ], [ 0.1956666800000221, 0.12725015999999414 ], [ 0.19418000000002394, 0.13056159999997363 ], [ 0.20110491999999794, 0.12999839999998586 ], [ 0.23299999999998364, 0.1500567200000296 ], [ 0.20802676000003884, 0.13659835999999814 ], [ 0.20894327999999404, 0.14848516000002746 ], [ 0.2313200400000187, 0.1480849599999965 ], [ 0.23496660000000702, 0.15659999999996216 ], [ 0.2545851600000151, 0.16042495999999118 ], [ 0.22441496000000372, 0.1387934000000314 ], [ 0.2101066399999854, 0.13370507999997244 ], [ 0.22436500000000706, 0.13340839999999843 ], [ 0.24062823999999636, 0.14575995999999578 ], [ 0.2566233199999624, 0.1551849200000379 ], [ 0.2338983599999665, 0.1492199200000141 ], [ 0.22956167999997887, 0.15807499999998073 ], [ 0.24079012000001057, 0.15786504000001514 ], [ 0.23958655999998882, 0.15196328000000903 ], [ 0.23342343999998774, 0.15447327999999289 ] ] }, { "name": "escaped depth 4", "pairs": [ [ 0.40380835999998455, 0.3978899600000386 ], [ 0.39747668000000885, 0.3968299599999955 ], [ 0.427368320000005, 0.3981832799999938 ], [ 0.41013012000001253, 0.41059643999998113 ], [ 0.40190679999995155, 0.40100828000002364 ], [ 0.39301159999999075, 0.4013648800000192 ], [ 0.3992767599999843, 0.3946466800000144 ], [ 0.39759655999998356, 0.39716011999998047 ], [ 0.40498171999997795, 0.4095549999999639 ], [ 0.39477667999997723, 0.40362163999992845 ], [ 0.3983783599999515, 0.4131734399999914 ], [ 0.4073416399999587, 0.4020517599999948 ], [ 0.4082715600000302, 0.3986750000000211 ], [ 0.4050467199999912, 0.4026316400000542 ], [ 0.4068417200000113, 0.39416659999998954 ], [ 0.40725344000004043, 0.39746336000001975 ], [ 0.4034999999999854, 0.4034698400000525 ], [ 0.3955517200000213, 0.41063175999997836 ], [ 0.39376339999997073, 0.3941217199999483 ], [ 0.4016083200000139, 0.40324503999992883 ] ] } ] } ], "baselineCommit": "a769e6d67708ef119f7a0bb41230f6831398a236", "sources": { "baseline": { "sha256": "fa66c084b3efbabdfecc7ca389163633e3559bb659891e82603c5738f959c7ca", "content": "/**\n * Parses a JSON Pointer (RFC 6901) string into its segment array, decoding\n * `~1` \u2192 `/` and `~0` \u2192 `~`. Inverse of `encodePointer()`.\n */\nexport const parsePointer = (path: string): string[] => {\n if (path === \"\") {\n return [];\n }\n if (!path.startsWith(\"/\")) {\n throw new Error(`invalid JSON pointer: ${path}`);\n }\n return path.slice(1).split(\"/\").map((segment) =>\n segment.replaceAll(\"~1\", \"/\").replaceAll(\"~0\", \"~\")\n );\n};\n\n/**\n * Encodes a path-segment array as a JSON Pointer (RFC 6901): empty path\n * becomes `\"\"`, otherwise each segment is escaped (`~` \u2192 `~0`, `/` \u2192 `~1`)\n * and segments are joined with leading and inter-segment `/`. Inverse of\n * `parsePointer()`.\n *\n * Used both as a wire format (the `path` field of RFC 6902 JSON Patch\n * operations is a JSON Pointer) and as a canonical \"logical-path \u2192 string\"\n * Map-key form within this codebase.\n */\nexport const encodePointer = (path: readonly string[]): string => {\n return path.length === 0\n ? \"\"\n : `/${\n path.map((segment) => segment.replaceAll(\"~\", \"~0\").replaceAll(\"/\", \"~1\"))\n .join(\"/\")\n }`;\n};\n\nexport const isPrefixPath = (\n prefix: readonly string[],\n path: readonly string[],\n): boolean => {\n if (prefix.length > path.length) {\n return false;\n }\n return prefix.every((segment, index) => path[index] === segment);\n};\n\nexport const pathsOverlap = (\n left: readonly string[],\n right: readonly string[],\n): boolean => isPrefixPath(left, right) || isPrefixPath(right, left);\n\nexport const parentPath = (path: readonly string[]): string[] => {\n return path.length === 0 ? [] : [...path.slice(0, -1)];\n};\n" }, "fixed": { "sha256": "b3cfd5cdff34b40eeb615478c2e747d6782f170ca630173f94638561ee810b3f", "content": "/**\n * Parses a JSON Pointer (RFC 6901) string into its segment array, decoding\n * `~1` \u2192 `/` and `~0` \u2192 `~`. Inverse of `encodePointer()`.\n */\nexport const parsePointer = (path: string): string[] => {\n if (path === \"\") {\n return [];\n }\n if (!path.startsWith(\"/\")) {\n throw new Error(`invalid JSON pointer: ${path}`);\n }\n return path.slice(1).split(\"/\").map((segment) =>\n segment.replaceAll(\"~1\", \"/\").replaceAll(\"~0\", \"~\")\n );\n};\n\n/**\n * Encodes a path-segment array as a JSON Pointer (RFC 6901): empty path\n * becomes `\"\"`, otherwise each segment is escaped (`~` \u2192 `~0`, `/` \u2192 `~1`)\n * and segments are joined with leading and inter-segment `/`. Inverse of\n * `parsePointer()`.\n *\n * Used both as a wire format (the `path` field of RFC 6902 JSON Patch\n * operations is a JSON Pointer) and as a canonical \"logical-path \u2192 string\"\n * Map-key form within this codebase.\n */\nexport const encodePointer = (path: readonly string[]): string => {\n let pointer = \"\";\n for (let segment of path) {\n if (segment.includes(\"~\")) segment = segment.replaceAll(\"~\", \"~0\");\n if (segment.includes(\"/\")) segment = segment.replaceAll(\"/\", \"~1\");\n pointer += \"/\" + segment;\n }\n return pointer;\n};\n\nexport const isPrefixPath = (\n prefix: readonly string[],\n path: readonly string[],\n): boolean => {\n if (prefix.length > path.length) {\n return false;\n }\n return prefix.every((segment, index) => path[index] === segment);\n};\n\nexport const pathsOverlap = (\n left: readonly string[],\n right: readonly string[],\n): boolean => isPrefixPath(left, right) || isPrefixPath(right, left);\n\nexport const parentPath = (path: readonly string[]): string[] => {\n return path.length === 0 ? [] : [...path.slice(0, -1)];\n};\n" }, "benchmark": { "sha256": "5a6fcbb3d08fbeacad568327e8e6bc88e3f03d4e294567314c8eeb83f0502f62", "content": "/**\n * JSON Pointer encoding followed by lookup in a prebuilt logical-path Map.\n * Each batch encodes 256 distinct paths; path depth and segment length vary\n * independently of that count. The escaped arm exercises both RFC 6901\n * substitutions in every segment. These are synthetic path workloads, not\n * measurements of a deployed pane's path distribution.\n *\n * Lookup consumes the string as a key, including hashing or flattening that\n * an encoder may defer. Fixture construction and result checks are untimed.\n */\n\nimport { encodePointer } from \"../v2/path.ts\";\n\nconst PATH_COUNT = 256;\n\nfor (\n const { name, depth, segment } of [\n { name: \"plain depth 1\", depth: 1, segment: \"subject\" },\n { name: \"plain depth 4\", depth: 4, segment: \"subject\" },\n { name: \"plain depth 12\", depth: 12, segment: \"subject\" },\n { name: \"long depth 4\", depth: 4, segment: \"subject\".repeat(16) },\n { name: \"escaped depth 4\", depth: 4, segment: \"subject~/\" },\n ]\n) {\n const paths = Array.from(\n { length: PATH_COUNT },\n (_, index) =>\n Array.from(\n { length: depth },\n (_, level) => `${segment}${level}-${index}`,\n ),\n );\n const expected = new Map(paths.map((path, index) => [\n \"/\" + path.map((part) => part.replaceAll(\"~\", \"~0\").replaceAll(\"/\", \"~1\"))\n .join(\"/\"),\n index + 1,\n ]));\n const expectedSum = PATH_COUNT * (PATH_COUNT + 1) / 2;\n\n Deno.bench({\n name,\n group: \"encodePointer + Map lookup (256 paths)\",\n fn(b) {\n let sum = 0;\n b.start();\n for (const path of paths) {\n sum += expected.get(encodePointer(path)) ?? 0;\n }\n b.end();\n if (sum !== expectedSum) throw new Error(\"Pointer lookup mismatch\");\n },\n });\n}\n" } }, "drivers": { "measure.py": "import json, os, pathlib, subprocess, time\nroot=pathlib.Path('/Users/berni/.codex/worktrees/e181/labs')\nout=pathlib.Path('/tmp/encode-pointer-evidence')\ncommand=['deno','bench','--no-lock','--json','packages/memory/test/v2-path.bench.ts','packages/dashboard/machine-calibration.bench.ts']\nruns=[]\nfor pair in range(5):\n for side in (['baseline','fixed'] if pair%2==0 else ['fixed','baseline']):\n cwd='/tmp/encode-pointer-baseline' if side=='baseline' else str(root)\n meta=dict(pair=pair+1,side=side,loadBefore=os.getloadavg(),started=time.time())\n result=subprocess.run(command,cwd=cwd,capture_output=True,text=True,check=True)\n meta.update(loadAfter=os.getloadavg(),finished=time.time(),report=json.loads(result.stdout),stderr=result.stderr)\n runs.append(meta)\n (out/'runs.json').write_text(json.dumps(dict(command=command,runs=runs),indent=2)+'\\n')\n print(pair+1,side,[(b['name'],round(b['results'][0]['ok']['p75']/1e3,2)) for b in meta['report']['benches']],flush=True)\n", "paired.py": "import json,subprocess,os,time,pathlib\nout=pathlib.Path('/tmp/encode-pointer-evidence')\nruns=[]\nfor i in range(5):\n meta=dict(run=i+1,loadBefore=os.getloadavg(),started=time.time())\n result=subprocess.run(['deno','run','--no-lock','-A',str(out/'paired.ts')],capture_output=True,text=True,check=True)\n meta.update(loadAfter=os.getloadavg(),finished=time.time(),results=json.loads(result.stdout))\n runs.append(meta)\n (out/'paired.json').write_text(json.dumps(runs,indent=2)+'\\n')\n print('paired process',i+1,'complete',flush=True)\n", "paired.ts": "// Diagnostic driver: reuse the maintained bodies and timer boundaries.\nconst registered: { name: string; fn: (b: {start(): void; end(): void}) => void }[] = [];\nObject.defineProperty(Deno, \"bench\", {value: (bench: typeof registered[number]) => registered.push(bench)});\nawait import(\"/tmp/encode-pointer-baseline/packages/memory/test/v2-path.bench.ts\");\nawait import(\"/Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts\");\nconst results = [];\nfor (let caseIndex = 0; caseIndex < 5; caseIndex++) {\n const arms = [registered[caseIndex], registered[caseIndex + 5]];\n let started = 0;\n let elapsed = 0;\n const context = {start() {started = performance.now()}, end() {elapsed += performance.now() - started}};\n for (let warm = 0; warm < 500; warm++) for (const arm of arms) arm.fn(context);\n const pairs = [];\n for (let pair = 0; pair < 20; pair++) {\n const sample = [0, 0];\n for (const side of pair % 2 === 0 ? [0, 1] : [1, 0]) {\n elapsed = 0;\n for (let batch = 0; batch < 25; batch++) arms[side].fn(context);\n sample[side] = elapsed / 25;\n }\n pairs.push(sample);\n }\n results.push({name: arms[0].name, pairs});\n}\nconsole.log(JSON.stringify(results));\n" }, "initialChecks": { "baseline": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 11037, "min": 29667.0, "max": 1455583.0, "avg": 45237.0, "p75": 47416.0, "p99": 94042.0, "p995": 118583.0, "p999": 158292.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 5890, "min": 64500.0, "max": 251625.0, "avg": 84890.0, "p75": 88291.0, "p99": 148917.0, "p995": 171083.0, "p999": 192167.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 3322, "min": 134334.0, "max": 315209.0, "avg": 150923.0, "p75": 156000.0, "p99": 228792.0, "p995": 239709.0, "p999": 266292.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 5210, "min": 82834.0, "max": 501791.0, "avg": 96033.0, "p75": 96958.0, "p99": 150083.0, "p995": 161708.0, "p999": 192292.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 2937, "min": 146375.0, "max": 346167.0, "avg": 170751.0, "p75": 179083.0, "p99": 239666.0, "p995": 253125.0, "p999": 311209.0, "highPrecision": true, "usedExplicitTimers": true } } ] } ] }, "fixed": { "version": 1, "runtime": "Deno/2.9.4 aarch64-apple-darwin", "cpu": "Apple M3 Max", "benches": [ { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 1", "baseline": false, "results": [ { "ok": { "n": 22917, "min": 17833.0, "max": 7470000.0, "avg": 21751.0, "p75": 22291.0, "p99": 39541.0, "p995": 64958.0, "p999": 159750.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 4", "baseline": false, "results": [ { "ok": { "n": 11626, "min": 37000.0, "max": 146583.0, "avg": 42960.0, "p75": 46542.0, "p99": 68875.0, "p995": 76875.0, "p999": 109666.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "plain depth 12", "baseline": false, "results": [ { "ok": { "n": 5824, "min": 75000.0, "max": 198292.0, "avg": 85943.0, "p75": 91416.0, "p99": 117375.0, "p995": 123708.0, "p999": 148167.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "long depth 4", "baseline": false, "results": [ { "ok": { "n": 8231, "min": 50917.0, "max": 209125.0, "avg": 60727.0, "p75": 65167.0, "p99": 89292.0, "p995": 93500.0, "p999": 122917.0, "highPrecision": true, "usedExplicitTimers": true } } ] }, { "origin": "file:///Users/berni/.codex/worktrees/e181/labs/packages/memory/test/v2-path.bench.ts", "group": "encodePointer + Map lookup (256 paths)", "name": "escaped depth 4", "baseline": false, "results": [ { "ok": { "n": 3113, "min": 135542.0, "max": 1139083.0, "avg": 161061.0, "p75": 168667.0, "p99": 207125.0, "p995": 228709.0, "p999": 306541.0, "highPrecision": true, "usedExplicitTimers": true } } ] } ] } } }