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

feature: profiling / timing #58

Open
3 tasks
talss89 opened this issue May 3, 2023 · 0 comments
Open
3 tasks

feature: profiling / timing #58

talss89 opened this issue May 3, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@talss89
Copy link
Member

talss89 commented May 3, 2023

It makes sense to me that developers will need to perf check any hooks they monkey-patch in some way.

It would be nice to include a basic API for this. Perhaps something like:

define('GORILLA_PROFILE', true);

/* Do something with hooks */

gorillaclaw_perf_report();

Feature criteria:

  • Need: Minimal performance impact
  • Need: No performance impact when disabled (default)
  • Want: Some kind of machine readable output, so we can integrate with CI pipelines
@talss89 talss89 added documentation Improvements or additions to documentation enhancement New feature or request labels May 3, 2023
@talss89 talss89 self-assigned this May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant