From cfd2b993feda1b3f7474225bb32db8cac8edc5ae Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 5 Nov 2026 11:21:15 -0300 Subject: targets: the ESP32-P4 board port goes (src/esp32p4*.zig and src/esp32p4/, -Dplatform=esp32p4 with its pinned riscv32 target, -Desp32p4-cols and -rows, the Peek, Poke, Hexdump and Gpio words and the Board behind them, the board's 9P engine options, the gpio_toggle host slot), and with it every guard and limit only the board needed: terminal_panes and terminal.enabled (ghostty is in every build), memory.limits' board branching (the desktop values stay), MAX_PANES 64 and MAX_COLS 16 fixed, the board's boot buffer and its embedded boot, the pager's and the terminal's emulator-less paths; tests: the board's GPIO, ring and Board ones go, the boot-OOM and transition-grid ones stay under their own names; the perf harness loses the board's fixture, so the Debug baselines of both frontends are recorded again (--only medium --reps 10) Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/perf.zig | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/perf.zig') diff --git a/test/perf.zig b/test/perf.zig index 274e793f..0aa4cf91 100644 --- a/test/perf.zig +++ b/test/perf.zig @@ -35,7 +35,6 @@ const fixtures = [_]Fixture{ .{ .name = "medium", .lines = 50_000, .cols = 60 }, .{ .name = "large", .lines = 300_000, .cols = 60 }, .{ .name = "longline", .lines = 400, .cols = 8_000 }, - .{ .name = "esp32p4", .lines = 12, .cols = 240 }, }; const Op = enum { @@ -225,7 +224,6 @@ fn measureStartup(io: std.Io, reps: usize, json: bool) !void { .{ .name = "startup-classic", .boot = .classic }, }; for (cases) |case| { - if (!pardes.terminal_panes) continue; var cold_ns: u64 = 0; var calls: usize = 0; var bytes: usize = 0; @@ -301,7 +299,6 @@ fn measureCreation(io: std.Io, reps: usize, json: bool) !void { const deinit_samples = try gpa.alloc(u64, reps); defer gpa.free(deinit_samples); for ([_]bool{ false, true }) |terminal| { - if (terminal and !pardes.terminal_panes) continue; var cold_ns: u64 = 0; var cold_deinit_ns: u64 = 0; var calls: usize = 0; @@ -913,7 +910,6 @@ fn measureUndoOutput(core: *pardes.Pardes, counter: *Allocations, arena: *std.he } fn measureTerminalSession(io: std.Io, mib: usize, reps: usize, json: bool) !void { - if (comptime !pardes.terminal_panes) return error.TerminalsUnavailable; const requested_bytes = mib * 1024 * 1024; const samples = try gpa.alloc(u64, requested_bytes / 8192 + 1); defer gpa.free(samples); -- cgit v1.3