diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 10:45:48 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 10:57:08 -0300 |
| commit | 856bf4a8ed36cc6ec38dc9001f753a8838106da2 (patch) | |
| tree | 22e170f5b738935bb474dc350ddb02131a866680 /test/lspbench.zig | |
| parent | e6a9e2a3bbc5954d2c562019b3ce2983bb98b9cc (diff) | |
| download | pardes-856bf4a8ed36cc6ec38dc9001f753a8838106da2.tar.gz pardes-856bf4a8ed36cc6ec38dc9001f753a8838106da2.zip | |
lsp: the in-process ZLS backend's last traces go: Lspinfo's +Lsp starts with its language servers (`language servers:`), where it said `backend: lsp-client` and `protocol servers (lsp-client):` from when Zig files had a backend of their own, and lsp.backend_name with it (lspbench's report and the tests that quoted the line follow); docs/lsp-evaluation.md's decision says what the tree is, one protocol client for every language, zls found on PATH, and what a user must install
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/lspbench.zig')
| -rw-r--r-- | test/lspbench.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/lspbench.zig b/test/lspbench.zig index 9857b61c..4b107b25 100644 --- a/test/lspbench.zig +++ b/test/lspbench.zig @@ -175,7 +175,6 @@ fn runOnce(gpa: std.mem.Allocator, req_in: lsp.Req, expected: []const u8, r: *Re fn reportText(rs: []const Result, rss: u64) void { const o = std.debug.print; - o("backend: {s}\n\n", .{lsp.backend_name}); o("{s:<24} {s:>9} {s:>7} {s:>10} {s:>10} {s}\n", .{ "kind", "supports", "rows", "cold(us)", "warm(us)", "verdict" }); o("{s}\n", .{&@as([78]u8, @splat('-'))}); var claimed: usize = 0; @@ -206,7 +205,7 @@ fn reportText(rs: []const Result, rss: u64) void { fn reportJson(rs: []const Result, rss: u64) void { const o = std.debug.print; - o("{{\"backend\":\"{s}\",\"rss_kib\":{d},\"probes\":[", .{ lsp.backend_name, rss }); + o("{{\"rss_kib\":{d},\"probes\":[", .{rss}); for (rs, 0..) |r, i| { if (i > 0) o(",", .{}); o("{{\"kind\":\"{s}\",\"supports\":{},\"rows\":{d},\"correct\":{},\"cold_us\":{d},\"warm_us\":{d}}}", .{ |
