From 55492ffa53d7df11a38c6639f8fde6cdc87800c7 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:43:45 -0300 Subject: Find, Grep: their output traits, Output's sort of a Find's whole filenames above its walk notes, and fs.WalkNotes go, as both search on the disk engine (Stream.zig, which keeps the walk's depth as max_walk_depth) and nothing makes a .cmd = .Find or .Grep pane; the tests that filled one fill a .search or query pane (ctl.zig's is now "workspace symbols, Symbols and Diagnostics share their directory's one +Search"), and the Find sort test keeps its half on next location ("next location uses numeric columns") Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/locations_bench.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/locations_bench.zig') diff --git a/test/locations_bench.zig b/test/locations_bench.zig index 54cebb59..ecf2649d 100644 --- a/test/locations_bench.zig +++ b/test/locations_bench.zig @@ -50,7 +50,7 @@ test "locations benchmark cold and warm formatting" { _ = p.scratch.reset(.retain_capacity); const data = try gpa.dupe(u8, input.written()); const t = now(); - try pds.panes.Output.fillResults(p, 0, "/bench", .{ .cmd = .Grep }, "BENCH_MATCH", data, null); + try pds.panes.Output.fillResults(p, 0, "/bench", .{ .query = .references }, "BENCH_MATCH", data, null); const elapsed = now() - t; const modes = [_][]const u8{ "off", "ordinary", "tree_sitter", "both" }; std.debug.print("{s},{s},{d},{d},{s},{d},{d}\n", .{ @tagName(layout), modes[mode], functions, source.written().len, if (rep == 0) "cold" else "warm", rep, elapsed }); -- cgit v1.3