summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-06 05:19:39 -0300
committerGabriel Schneider <[email protected]>2026-11-06 05:57:34 -0300
commitdf565b90c77608548de73d179c0982cd8fd74499 (patch)
tree0d90cba3340da077c180ab52f2abafc7a5735008 /build.zig
parentc8553032ef84aec74cbb5d07d07f934eecf3d4a9 (diff)
downloadpardes-df565b90c77608548de73d179c0982cd8fd74499.tar.gz
pardes-df565b90c77608548de73d179c0982cd8fd74499.zip
kinds #10, image-frame: the medium perf set gains a frame with a 640x400 picture's pane (the image addon's) alone in the window; 163 us in Debug against render's 89 (the Debug paint-purity hash is over the kind's memory, so there it costs the picture's bytes: 1478 us at 2560x1600), 46 us in ReleaseFast against render's 81, of which the kind's clear and scan of its 4,366 cells are 2.2 us (2.7% of a text frame, under §16.1's 5%); test/perf-baseline-tui-debug.json and -gui-debug.json re-keyed to the harness and given the cell
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.zig b/build.zig
index 5178b735..0e01cdec 100644
--- a/build.zig
+++ b/build.zig
@@ -1371,6 +1371,7 @@ pub fn build(b: *std.Build) void {
.terminal_simd = ghostty_simd,
.prebuilt_shaders = platform == .gui and prebuilt_shaders,
});
+ perf_options.addOptionPath("image_addon", image_addon.getEmittedBin());
const perf = b.addExecutable(.{
.name = "pardes-perf",
.root_module = b.createModule(.{