Avoid calling Logf on the hot path when logging is disabled.
The call to commonOp.Logf in sendBazilfuseResponse is extremely hot for allocations, presumably because it needs to allocate an argument slice. It is normally not needed at all, so why pay for it?
Showing
Please register or sign in to comment