Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: hoist log.ExpensiveLogEnabled outside loop in appendRefreshSpans
This commit hoists the call to `log.ExpensiveLogEnabled` outside of the per-span loop in `txnSpanRefresher.appendRefreshSpans`. The function is too expensive to call once per span. Release justification: low risk change that may close perf gap. Release note: None.
- Loading branch information