8000 hope it can support php artisan schedule:work and php artisan queue:listen · Issue #128 · preinheimer/xhprof · GitHub
[go: up one dir, main page]

Skip to content

hope it can support php artisan schedule:work and php artisan queue:listen #128

Open

Description

@zh7314

I hope to add performance analysis for operations running in cli mode, such as scheduled tasks, queue listeners, and php artisan schedule:work
php artisan queue:listen

Activity

  1. aik099 commented on Aug 6, 2025

    @aik099
    Collaborator

    The toggle that enables profiling comes from a cookie value that is automatically set when a _profile request variable is present. If you can improve that logic to also look in the environment variable, when executed from CLI, then probably it will work.

    You might get a bunch of notices because of accessing $_REQUEST from CLI, but that is fixable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0