Avoid hidden allocations in hot paths
Watch for small per-item allocations inside loops, parsers, serializers, and request paths.
Watch for small per-item allocations inside loops, parsers, serializers, and request paths.
Use traces, counters, profiles, and focused benchmarks before changing code for performance.
Use seek-based pagination when users move through large ordered result sets.
Create unrelated asynchronous operations first, then await them together.
Use HybridCache for expensive shared lookups where many callers can miss at once.