Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Who’s up for a micro-benchmark? Jk, will definitely consider it




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: