v1.0.2
Changes in 1.0.2
Less code in mods, more profiling for free. No change to the host data/wire protocol or the bridge ABI, so
existing integrations keep working.
Added
- Auto-instrumentation: while sampling, every other loaded mod's per-frame methods (
OnUpdate,OnFixedUpdate,
OnLateUpdate,OnGUI) are timed automatically and shown as<Mod>.OnUpdate- per-mod frame cost with zero
code on the mod's side. Toggle with theAutoInstrumentpreference. - Zero-wiring registration: a mod's
SnitchProbe.Register()is now discovered and called by the host
automatically when sampling starts, so a mod no longer wires a registration call into itsOnInitializeMelon.
Changed
- Modder API shim class renamed
Snitch.Api.Snitch->Snitch.Api.Profiler(drops theusing Prof = ...
alias; justusing Snitch.Api;thenProfiler.Sample(...)). The bridge contract is unchanged, so previously
shipped shims still bind and report. - Cheaper no-op path: the shim's pre-bind host lookup no longer scans every loaded assembly each call.