Skip to content

Some performance improvements#39

Merged
FollowTheProcess merged 1 commit into
mainfrom
perf/improvements
May 24, 2026
Merged

Some performance improvements#39
FollowTheProcess merged 1 commit into
mainfrom
perf/improvements

Conversation

@FollowTheProcess
Copy link
Copy Markdown
Owner

Summary

Implement some perf improvements from reading https://github.com/golang/example/blob/master/slog-handler-guide/README.md#general-considerations.

I know this isn't a slog.Handler but the same tricks apply!

@FollowTheProcess FollowTheProcess added the performance Performance label May 24, 2026
@FollowTheProcess FollowTheProcess merged commit f1224b7 into main May 24, 2026
9 checks passed
@FollowTheProcess FollowTheProcess deleted the perf/improvements branch May 24, 2026 10:34
@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2026

Codecov Report

❌ Patch coverage is 93.82716% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.66%. Comparing base (511c952) to head (c8a916b).

Files with missing lines Patch % Lines
log.go 95.58% 2 Missing and 1 partial ⚠️
level.go 83.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   96.36%   86.66%   -9.70%     
==========================================
  Files           3        3              
  Lines         110      150      +40     
==========================================
+ Hits          106      130      +24     
- Misses          3       19      +16     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant