-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of some bitwise checking in ddog_shall_log #2539
Conversation
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
c77d8a1
to
8b3ba1b
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #2539 +/- ##
============================================
+ Coverage 78.30% 78.73% +0.43%
Complexity 267 267
============================================
Files 112 112
Lines 13458 13485 +27
============================================
+ Hits 10538 10618 +80
+ Misses 2920 2867 -53
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 8 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
BenchmarksBenchmark execution time: 2024-02-27 15:57:05 Comparing candidate commit b436003 in PR branch Found 14 performance improvements and 1 performance regressions! Performance is the same for 167 metrics, 0 unstable metrics. scenario:HookBench/benchHookOverheadInstallHookOnFunction
scenario:HookBench/benchHookOverheadInstallHookOnFunction-opcache
scenario:HookBench/benchHookOverheadInstallHookOnMethod
scenario:HookBench/benchHookOverheadInstallHookOnMethod-opcache
scenario:LogsInjectionBench/benchLogsInfoInjection
scenario:MessagePackSerializationBench/benchMessagePackSerialization
scenario:PDOBench/benchPDOBaseline-opcache
scenario:PDOBench/benchPDOOverhead-opcache
scenario:PDOBench/benchPDOOverheadWithDBM-opcache
scenario:SpanBench/benchDatadogAPI
scenario:SpanBench/benchDatadogAPI-opcache
scenario:SpanBench/benchOpenTelemetryAPI
scenario:TraceAnnotationsBench/benchTraceAnnotationOverhead-opcache
scenario:TraceSerializationBench/benchSerializeTrace
scenario:TraceSerializationBench/benchSerializeTrace-opcache
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This micro-optimization has some really nice improvements 😃
Hum, there seems to be an issue compiling ddtelemetry (Rust).
bd4e1ec
to
c533eb6
Compare
c533eb6
to
b436003
Compare
Description
Micro-optimization for logging
Reviewer checklist