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

feat(profiling) support new ZendMM api #2969

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

realFlowControl
Copy link
Member

@realFlowControl realFlowControl commented Nov 20, 2024

Description

This PR changes the way we hook into the ZendMM starting from PHP 8.4 thanks to the new ZendMM API that got introduced in php/php-src#13432

PROF-10116

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

@github-actions github-actions bot added the profiling Relates to the Continuous Profiler label Nov 20, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.82%. Comparing base (a2b1c2d) to head (9c9742c).
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2969   +/-   ##
=========================================
  Coverage     74.82%   74.82%           
  Complexity     2741     2741           
=========================================
  Files           110      110           
  Lines         10863    10863           
=========================================
  Hits           8128     8128           
  Misses         2735     2735           
Flag Coverage Δ
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 a2b1c2d...9c9742c. Read the comment docs.

@pr-commenter
Copy link

pr-commenter bot commented Nov 20, 2024

Benchmarks [ profiler ]

Benchmark execution time: 2024-12-05 11:21:30

Comparing candidate commit 9c9742c in PR branch florian/new-zendmm with baseline commit a2b1c2d in branch master.

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

@realFlowControl realFlowControl force-pushed the florian/new-zendmm branch 5 times, most recently from 1ef435b to 9f23f8d Compare November 26, 2024 15:16
@realFlowControl realFlowControl marked this pull request as ready for review November 29, 2024 09:48
@realFlowControl realFlowControl requested a review from a team as a code owner November 29, 2024 09:48
@realFlowControl realFlowControl force-pushed the florian/new-zendmm branch 4 times, most recently from 146d1ec to ca68121 Compare December 2, 2024 15:47
@realFlowControl realFlowControl marked this pull request as draft December 2, 2024 15:49
@realFlowControl realFlowControl force-pushed the florian/new-zendmm branch 2 times, most recently from 840daa4 to e0e3862 Compare December 2, 2024 16:51
@realFlowControl realFlowControl marked this pull request as ready for review December 4, 2024 10:40
profiling/build.rs Show resolved Hide resolved
profiling/src/allocation/mod.rs Outdated Show resolved Hide resolved
@realFlowControl realFlowControl force-pushed the florian/new-zendmm branch 2 times, most recently from 93a3d63 to 4bd7be9 Compare December 5, 2024 11:00
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants