PR 43027 real-server performance capture Side: head Commit: 0173bead627233e85828ed7ceb6394981c470bbf Environment: macOS 26.6.2, arm64; Apple Git 2.54.0; same leased host; sequential servers; fresh synthetic repositories and server homes. Surface: real T3 server, authenticated WebSocket RPC subscriptions to 50 linked worktrees. Performance windows: 270 seconds, default 30-second polling; startup and first recurring poll excluded. Equal-counts control: 65 seconds before the base move, then 65 seconds to settle; not a performance sample. Instrumented timings: first Git launch through last Git exit in each recurring poll wave. C shim forwards stdout, counts bytes, logs launch/exit timestamps. Unwrapped timings: first refreshRemoteStatus span start through last span end across 50 subscribers; no Git shim. Spread = maximum minus minimum. All measured poll values are included below. Fixture: idle-loose; instrumented: True {"maxMs": 919.21, "medianMs": 802.8, "minMs": 798.35, "n": 7, "spreadMs": 120.86} poll offset_s | phase | elapsed_ms | launches | stdout_bytes | show-ref | full_local_reads | local_worktrees 64.09 | idle | 832.69 | 402 | 273901 | 0 | 0 | [] 94.87 | idle | 802.8 | 402 | 273901 | 0 | 0 | [] 125.65 | idle | 800.51 | 402 | 273901 | 0 | 0 | [] 156.4 | idle | 803.98 | 402 | 273901 | 0 | 0 | [] 187.15 | idle | 802.3 | 402 | 273901 | 0 | 0 | [] 217.92 | idle | 798.35 | 402 | 273901 | 0 | 0 | [] 248.69 | idle | 919.21 | 402 | 273901 | 0 | 0 | [] Status / Changes observations: { "afterBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 0}" ], "afterWt50Remote": { "aheadCount": 0, "aheadOfDefaultCount": 0, "behindCount": 0, "hasUpstream": true, "pr": null }, "allAfterRemote": [ "{\"aheadCount\": 0, \"aheadOfDefaultCount\": 0, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "allBeforeRemote": [ "{\"aheadCount\": 1, \"aheadOfDefaultCount\": 1, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "beforeBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 1}" ], "beforeWt50Remote": { "aheadCount": 1, "aheadOfDefaultCount": 1, "behindCount": 0, "hasUpstream": true, "pr": null }, "branchNamesUnchanged": true, "cleanAfter": true, "cleanBefore": true, "subscribed": 50 } Fixture: idle-packed; instrumented: True {"maxMs": 774.38, "medianMs": 738.57, "minMs": 723.04, "n": 7, "spreadMs": 51.34} poll offset_s | phase | elapsed_ms | launches | stdout_bytes | show-ref | full_local_reads | local_worktrees 63.9 | idle | 748.78 | 402 | 274201 | 0 | 0 | [] 94.59 | idle | 728.49 | 402 | 274201 | 0 | 0 | [] 125.28 | idle | 774.38 | 402 | 274201 | 0 | 0 | [] 156.0 | idle | 738.57 | 402 | 274201 | 0 | 0 | [] 186.7 | idle | 730.6 | 402 | 274201 | 0 | 0 | [] 217.37 | idle | 723.04 | 402 | 274201 | 0 | 0 | [] 248.04 | idle | 744.84 | 402 | 274201 | 0 | 0 | [] Status / Changes observations: { "afterBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 0}" ], "afterWt50Remote": { "aheadCount": 0, "aheadOfDefaultCount": 0, "behindCount": 0, "hasUpstream": true, "pr": null }, "allAfterRemote": [ "{\"aheadCount\": 0, \"aheadOfDefaultCount\": 0, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "allBeforeRemote": [ "{\"aheadCount\": 1, \"aheadOfDefaultCount\": 1, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "beforeBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 1}" ], "beforeWt50Remote": { "aheadCount": 1, "aheadOfDefaultCount": 1, "behindCount": 0, "hasUpstream": true, "pr": null }, "branchNamesUnchanged": true, "cleanAfter": true, "cleanBefore": true, "subscribed": 50 } Fixture: checkpoint; instrumented: True {"maxMs": 908.97, "medianMs": 821.73, "minMs": 793.02, "n": 6, "spreadMs": 115.95} poll offset_s | phase | elapsed_ms | launches | stdout_bytes | show-ref | full_local_reads | local_worktrees 64.56 | idle | 926.1 | 402 | 273901 | 0 | 0 | [] 95.42 | changed | 794.79 | 402 | 273901 | 0 | 0 | [] 126.15 | changed | 793.63 | 402 | 273901 | 0 | 0 | [] 156.87 | changed | 881.19 | 402 | 273901 | 0 | 0 | [] 187.67 | changed | 908.97 | 402 | 273901 | 0 | 0 | [] 218.52 | changed | 793.02 | 402 | 273901 | 0 | 0 | [] 249.23 | changed | 848.68 | 402 | 273901 | 0 | 0 | [] Status / Changes observations: { "afterBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 0}" ], "afterWt50Remote": { "aheadCount": 0, "aheadOfDefaultCount": 0, "behindCount": 0, "hasUpstream": true, "pr": null }, "allAfterRemote": [ "{\"aheadCount\": 0, \"aheadOfDefaultCount\": 0, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "allBeforeRemote": [ "{\"aheadCount\": 1, \"aheadOfDefaultCount\": 1, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "beforeBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 1}" ], "beforeWt50Remote": { "aheadCount": 1, "aheadOfDefaultCount": 1, "behindCount": 0, "hasUpstream": true, "pr": null }, "branchNamesUnchanged": true, "cleanAfter": true, "cleanBefore": true, "subscribed": 50 } Fixture: sibling; instrumented: True {"maxMs": 1295.66, "medianMs": 873.38, "minMs": 834.09, "n": 6, "spreadMs": 461.57} poll offset_s | phase | elapsed_ms | launches | stdout_bytes | show-ref | full_local_reads | local_worktrees 64.73 | idle | 749.11 | 402 | 273001 | 0 | 0 | [] 95.36 | changed | 865.01 | 412 | 278177 | 1 | 1 | ['wt-50'] 126.06 | changed | 834.09 | 412 | 278177 | 1 | 1 | ['wt-50'] 156.75 | changed | 842.08 | 412 | 278177 | 1 | 1 | ['wt-50'] 187.44 | changed | 969.64 | 412 | 278177 | 1 | 1 | ['wt-50'] 218.23 | changed | 1295.66 | 412 | 278177 | 1 | 1 | ['wt-50'] 249.29 | changed | 881.74 | 412 | 278177 | 1 | 1 | ['wt-50'] Status / Changes observations: { "afterBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 0}" ], "afterWt50Remote": { "aheadCount": 7, "aheadOfDefaultCount": 7, "behindCount": 0, "hasUpstream": true, "pr": null }, "allAfterRemote": [ "{\"aheadCount\": 0, \"aheadOfDefaultCount\": 0, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "allBeforeRemote": [ "{\"aheadCount\": 1, \"aheadOfDefaultCount\": 1, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "beforeBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 1}" ], "beforeWt50Remote": { "aheadCount": 7, "aheadOfDefaultCount": 7, "behindCount": 0, "hasUpstream": true, "pr": null }, "branchNamesUnchanged": true, "cleanAfter": true, "cleanBefore": true, "subscribed": 50 } Fixture: checkpoint; instrumented: False {"maxMs": 472.82, "medianMs": 459.88, "minMs": 416.53, "n": 6, "spreadMs": 56.29} poll offset_s | phase | elapsed_ms | launches | stdout_bytes | show-ref | full_local_reads | local_worktrees 61.94 | idle | 476.45 | - | - | - | - | - 92.37 | changed | 472.82 | - | - | - | - | - 122.8 | changed | 459.23 | - | - | - | - | - 153.24 | changed | 471.36 | - | - | - | - | - 183.67 | changed | 416.53 | - | - | - | - | - 214.04 | changed | 457.13 | - | - | - | - | - 244.46 | changed | 460.52 | - | - | - | - | - Status / Changes observations: { "afterBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 0}" ], "afterWt50Remote": { "aheadCount": 0, "aheadOfDefaultCount": 0, "behindCount": 0, "hasUpstream": true, "pr": null }, "allAfterRemote": [ "{\"aheadCount\": 0, \"aheadOfDefaultCount\": 0, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "allBeforeRemote": [ "{\"aheadCount\": 1, \"aheadOfDefaultCount\": 1, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "beforeBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 1}" ], "beforeWt50Remote": { "aheadCount": 1, "aheadOfDefaultCount": 1, "behindCount": 0, "hasUpstream": true, "pr": null }, "branchNamesUnchanged": true, "cleanAfter": true, "cleanBefore": true, "subscribed": 50 } Fixture: idle-packed; instrumented: False {"maxMs": 462.54, "medianMs": 442.8, "minMs": 440.7, "n": 7, "spreadMs": 21.84} poll offset_s | phase | elapsed_ms | launches | stdout_bytes | show-ref | full_local_reads | local_worktrees 61.94 | idle | 462.54 | - | - | - | - | - 92.36 | idle | 452.32 | - | - | - | - | - 122.77 | idle | 440.7 | - | - | - | - | - 153.18 | idle | 445.46 | - | - | - | - | - 183.59 | idle | 442.8 | - | - | - | - | - 214.0 | idle | 441.02 | - | - | - | - | - 244.4 | idle | 441.29 | - | - | - | - | - Status / Changes observations: { "afterBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 0}" ], "afterWt50Remote": { "aheadCount": 0, "aheadOfDefaultCount": 0, "behindCount": 0, "hasUpstream": true, "pr": null }, "allAfterRemote": [ "{\"aheadCount\": 0, \"aheadOfDefaultCount\": 0, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "allBeforeRemote": [ "{\"aheadCount\": 1, \"aheadOfDefaultCount\": 1, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "beforeBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 1}" ], "beforeWt50Remote": { "aheadCount": 1, "aheadOfDefaultCount": 1, "behindCount": 0, "hasUpstream": true, "pr": null }, "branchNamesUnchanged": true, "cleanAfter": true, "cleanBefore": true, "subscribed": 50 } Fixture: base-equal-counts; instrumented: True {"maxMs": 728.96, "medianMs": 728.96, "minMs": 728.96, "n": 1, "spreadMs": 0.0} poll offset_s | phase | elapsed_ms | launches | stdout_bytes | show-ref | full_local_reads | local_worktrees 63.86 | idle | 728.96 | 402 | 276002 | 0 | 0 | [] Status / Changes observations: { "afterBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 1}" ], "afterWt50Remote": { "aheadCount": 2, "aheadOfDefaultCount": 2, "behindCount": 0, "hasUpstream": true, "pr": null }, "allAfterRemote": [ "{\"aheadCount\": 2, \"aheadOfDefaultCount\": 2, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "allBeforeRemote": [ "{\"aheadCount\": 2, \"aheadOfDefaultCount\": 2, \"behindCount\": 0, \"hasUpstream\": true, \"pr\": null}" ], "beforeBranchChanges": [ "{\"baseRef\": \"origin/main\", \"deletions\": 0, \"insertions\": 10}" ], "beforeWt50Remote": { "aheadCount": 2, "aheadOfDefaultCount": 2, "behindCount": 0, "hasUpstream": true, "pr": null }, "branchNamesUnchanged": true, "cleanAfter": true, "cleanBefore": true, "subscribed": 50 }