diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-23 02:23:34 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-23 02:23:34 -0300 |
| commit | 1ebae0db0a185455b2a03f22f5106113c6407a2f (patch) | |
| tree | db0e473c2c060e6bf7d4f4d169ffff11178056c3 /test/perf.zig | |
| parent | 5393ce743d7848d26e60fd7d4d27a4119272df9f (diff) | |
| parent | de0e85daa8ad0bf9618734e16568823aa2b61a54 (diff) | |
| download | pardes-1ebae0db0a185455b2a03f22f5106113c6407a2f.tar.gz pardes-1ebae0db0a185455b2a03f22f5106113c6407a2f.zip | |
integration (a base for the next rounds, not yet the gathered line): the one decision on the tree to install: pardes-merge60 (`krovvoum`: the viewport, a client's way back at an Upgrade, the pair's round 12, the lanes on the glide; in its whole gate) and pardes-one-decision (`ltvyvwru` on `wllwukuk` on `trmpwtso`, on pardes-viewport: one count of an emulator's writes in the core (`Pardes.outside`), copied, digested and dumped, which `Replica.confirm` reads once a unit where four spread checks stood; the rollback copy walks every type unless it declares `outside_copy`: the Changes layer's heap was not walked and was freed twice); no conflict; core-test 919/1083 (164 skipped), shell-test 1125/1128 (2026-11-23)
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/perf.zig')
| -rw-r--r-- | test/perf.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/perf.zig b/test/perf.zig index 30e15dcc..8622e31b 100644 --- a/test/perf.zig +++ b/test/perf.zig @@ -316,6 +316,7 @@ fn measureCreation(io: std.Io, reps: usize, json: bool) !void { for ([_]bool{ false, true }) |terminal| { var cold_ns: u64 = 0; var cold_deinit_ns: u64 = 0; + var outside: pardes.Term.Outside = .{}; var calls: usize = 0; var bytes: usize = 0; var live: usize = 0; @@ -325,12 +326,12 @@ fn measureCreation(io: std.Io, reps: usize, json: bool) !void { const allocator = counter.allocator(); const begin = nowNs(); const pane = if (terminal) - try pardes.panes.createTerminal(allocator, screen_cols, screen_rows) + try pardes.panes.createTerminal(&outside, allocator, screen_cols, screen_rows) else try pardes.panes.createDoc(allocator, screen_cols, screen_rows); const constructed = nowNs(); const retained = counter.live; - if (pane.terminal) |state| pardes.Term.close(state, allocator); + if (pane.terminal) |state| pardes.Term.close(&outside, state); allocator.destroy(pane); const destroyed = nowNs(); if (counter.live != 0) return error.LeakedPaneMemory; |
