diff options
Diffstat (limited to 'test/rollback_bench.zig')
| -rw-r--r-- | test/rollback_bench.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rollback_bench.zig b/test/rollback_bench.zig index 1260f47e..d734f5cf 100644 --- a/test/rollback_bench.zig +++ b/test/rollback_bench.zig @@ -68,7 +68,7 @@ fn writeFile(path: []const u8, lines: usize) !void { } fn build(s: Session, dir: []const u8, a: std.mem.Allocator) !*pardes.Pardes { - const core = try pardes.Pardes.init(a, .{ .tty_only = true, .image_allocator = a, .pdf_allocator = a, .tree_sitter_allocator = a, .frame_allocator = a }); + const core = try pardes.Pardes.init(a, .{ .tty_only = true, .image_allocator = a, .tree_sitter_allocator = a, .frame_allocator = a }); core.update(.{ .resize = .{ .cols = 200, .rows = 60 } }); pump(core); // The shell: pane 0 of a tty boot, its output fed as a pty's. @@ -203,7 +203,7 @@ pub fn main(init: std.process.Init) !void { const bytes = try pardes.dump.dumpBytes(core); const t1 = nowNs(); dump_len = bytes.len; - const loaded = try pardes.dump.load(gpa, .{ .tty_only = true, .image_allocator = gpa, .pdf_allocator = gpa, .tree_sitter_allocator = gpa, .frame_allocator = gpa }, bytes, null); + const loaded = try pardes.dump.load(gpa, .{ .tty_only = true, .image_allocator = gpa, .tree_sitter_allocator = gpa, .frame_allocator = gpa }, bytes, null); y.* = nowNs() - t1; x.* = t1 - t0; loaded.deinit(); |
