-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Xhprof is abonond, document why is still a prod requirement #20317
Comments
@tsteur would you mind commenting this one? I'm actually not sure if the requirement ist still needed. Unless someone wants to debug a productive system I don't think it's needed or am I wrong? |
As long as it is possible to still collect data on production, then we could remove it and let people know they will need to view them locally. Looking at #17939 it may be required to profile locally? |
@tsteur We could remove that from core maybe and provide that dependency with a plugin instead. That way everyone who wants to debug could install the plugin. |
That could work. Or maybe there's an alternative package we can use that's being updated? Just thinking that might be simpler for us and for users. Also then we won't need to worry re adding support for all the different profiling like |
Couldn't find any other package that is still maintained. Moving it to a plugin sound like the most viable solution for me. I'll put it to prio queue, so we can consider doing that at some point. |
As, I understand it, xhprof, doesn't work in PHP8, it should be removed from core, for those want to run it, and are still on PHP 7, it should be a plugin. |
FYI xhprof and tideways profiler do work with PHP 8, we used it just two weeks ago |
Found the following fork which is being kept up to date the fork does not have a composer.json file and is not listed on packagist but I have raised a PR to add a composer.json file to the fork. Have also created the following branch of matomo which replaces the current version of xhprof. |
We are also on track to providing ddev configuration for Matomo and ddev already comes with xhprof support which uses the fork Kirk found, so I would probably wait a bit until that's finalised, allowing us to perhaps save some time and not double up on the work. |
lox/xhprof is an abandoned project, and have no updates since 2015.
There should be documentation why this still is needed as a prod requirement.
The text was updated successfully, but these errors were encountered: