News for hackers. Stuff that matters.
Re:Go Things I Like: slog and clog by ImJasonH on Sunday August 11, 2024 @03:21PM (#41218657)
It might be noticeable at extreme levels, which I've never come anywhere to noticing.

I tend to only use `log := clog.FromContext(ctx)` once at the top of a method, and not `clog.InfoContext(ctx, "...")`, but that's mostly for style reasons and not performance.

Re:Go Things I Like: slog and clog by lcof on Sunday August 11, 2024 @04:15PM (#41219033)
Who’s up for a micro-benchmark? Jk, will definitely consider it