Skip to content
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

fix(profiling) invalid unicode handling in timeline #2988

Closed
wants to merge 1 commit into from

Conversation

realFlowControl
Copy link
Member

Description

Fixes handling of invalid unicode for errors in timeline

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

@realFlowControl realFlowControl requested a review from a team as a code owner December 11, 2024 08:08
@github-actions github-actions bot added profiling Relates to the Continuous Profiler tracing labels Dec 11, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.90%. Comparing base (b0da77f) to head (d8dea67).
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2988   +/-   ##
=========================================
  Coverage     72.90%   72.90%           
  Complexity     2741     2741           
=========================================
  Files           137      137           
  Lines         14978    14978           
  Branches       1016     1016           
=========================================
  Hits          10920    10920           
  Misses         3506     3506           
  Partials        552      552           
Flag Coverage Δ
appsec-extension 67.84% <ø> (ø)
tracer-php 74.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b0da77f...d8dea67. Read the comment docs.

@pr-commenter
Copy link

pr-commenter bot commented Dec 11, 2024

Benchmarks [ profiler ]

Benchmark execution time: 2024-12-11 09:09:44

Comparing candidate commit d8dea67 in PR branch florian/fix-unicode with baseline commit b0da77f in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 30 metrics, 6 unstable metrics.

@realFlowControl realFlowControl requested a review from a team as a code owner December 11, 2024 08:46
/// Converts the `const char *` into a `zai_str`. A None as well as empty
/// strings will be converted into a string view to a static empty string
/// (single byte of null, len of 0).
pub fn zai_str_from_cstr(cstr: *const c_char) -> zai_str<'static>;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The <'static> lifetime might be a lie 😞

@pr-commenter
Copy link

pr-commenter bot commented Dec 11, 2024

Benchmarks [ tracer ]

Benchmark execution time: 2024-12-11 09:28:54

Comparing candidate commit d8dea67 in PR branch florian/fix-unicode with baseline commit b0da77f in branch master.

Found 2 performance improvements and 0 performance regressions! Performance is the same for 176 metrics, 0 unstable metrics.

scenario:TraceFlushBench/benchFlushTrace

  • 🟩 execution_time [-1000.000ns; -1000.000ns] or [-50.000%; -50.000%]

scenario:TraceSerializationBench/benchSerializeTrace

  • 🟩 execution_time [-9.918µs; -4.282µs] or [-4.804%; -2.074%]

@realFlowControl realFlowControl deleted the florian/fix-unicode branch December 11, 2024 19:02
@realFlowControl
Copy link
Member Author

Superseded by #2990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
profiling Relates to the Continuous Profiler tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants