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

Stop traversing zend_execute_data when certain conditions are met #159

Open
sj-i opened this issue Feb 9, 2022 · 0 comments
Open

Stop traversing zend_execute_data when certain conditions are met #159

sj-i opened this issue Feb 9, 2022 · 0 comments

Comments

@sj-i
Copy link
Member

sj-i commented Feb 9, 2022

On another optimization idea.

In tracing applications using frameworks such as Laravel, there are calls inside the framework in closer to the root of the call hierarchy, and you may not be interested in the performance inside the framework.

Since traversing zend_execute_data goes from the end of the call hierarchy towards the root, it is possible to stop traversing once the entry point from the framework to the application is detected by specifying a regular expression or something similar.

This method is incompatible with #158, but it is worth a try since the total amount of memory copy can be reduced in this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant