ModernUO/Projects
Kamron Batman f7c0c9c036
perf(saves): strip worker-balance logging from Release builds
Debug-level output only exists in DEBUG builds (LogFactory gates
MinimumLevel.Debug behind #if DEBUG), so Release builds paid for the stat
summing loop, five boxed longs, and the params array inside the freeze for a
log line Serilog would always discard. [Conditional("DEBUG")] removes the
call site entirely in Release.

The per-worker counters stay: since the segment logs landed, per-record
counting is structurally required (RecordCount), and the remaining accounting
is one add per chunk plus two field writes per drain - sub-microsecond per
save - and the drain tests assert against those totals.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 22:38:47 -07:00
..
Application fix: Bumps dependencies. (#2531) 2026-07-14 15:17:55 -07:00
BuildTool fix: Bumps dependencies. (#2531) 2026-07-14 15:17:55 -07:00
Logger fix: Bumps dependencies. (#2531) 2026-07-14 15:17:55 -07:00
Server perf(saves): strip worker-balance logging from Release builds 2026-07-16 22:38:47 -07:00
Server.Tests perf(saves): drop the 9-byte per-entity placement state; write snapshots from worker segment logs 2026-07-16 22:38:47 -07:00
UOContent perf(saves): drop the 9-byte per-entity placement state; write snapshots from worker segment logs 2026-07-16 22:38:47 -07:00
UOContent.Tests fix: Items dropped on the ground never decay (#2536) 2026-07-16 18:51:04 -07:00