From 638967cfa887f6f3655eaef8e2fa988529541ee5 Mon Sep 17 00:00:00 2001 From: Navid EMAD Date: Thu, 3 Sep 2026 13:06:20 +0200 Subject: [PATCH] bench(receiver-resolution): rebaseline for the Zig lang-resolution fixtures The receiver-resolution gate (#2856/#2899) landed on main after this branch forked and counts call drops over test/fixtures/lang-resolution, which this branch extends with the zig-* fixture projects. Regenerated with `measure.mjs --update-baseline`: callDrops 102 -> 113, all 11 new drops in .zig files, shape `no-chain`. Every new drop is a call whose callee has no node in the corpus, not a resolver regression: `std.Build.Module.addImport` in the three build.zig fixtures (7, classified in-program), `std.sort.pdq` in Sorter.zig (2, unknown), `std.Thread.Mutex{}` / `std.mem.Allocator{}` literals in zig-qualified-literal (2, unknown, the fixture asserts std stays external), and one `.init()` decl literal on a generic instantiation (`const u: Stack(u16) = .init()`, in-program). Shape arm unchanged. --- gitnexus/bench/receiver-resolution/baseline.json | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gitnexus/bench/receiver-resolution/baseline.json b/gitnexus/bench/receiver-resolution/baseline.json index cf8b8abeb..c89c2c6e3 100644 --- a/gitnexus/bench/receiver-resolution/baseline.json +++ b/gitnexus/bench/receiver-resolution/baseline.json @@ -199,15 +199,16 @@ } }, "countArm": { - "callDrops": 102, - "totalDropsAllKinds": 148, + "callDrops": 113, + "totalDropsAllKinds": 159, "bySiteKind": { - "call": 102, + "call": 113, "read": 27, "write": 19 }, "callDropsByExtension": { ".java": 49, + ".zig": 11, ".cs": 8, ".ts": 7, ".cpp": 7, @@ -224,14 +225,14 @@ "callDropsByShape": { "chain-field": 60, "chain-call": 27, - "no-chain": 12, + "no-chain": 23, "chain-mixed": 2, "chain-unwrap": 1 }, "callDropsByOrigin": { "external": 44, - "in-program": 36, - "unknown": 22 + "in-program": 43, + "unknown": 26 } } }