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

Add Rails/ActiveSupport hooks support for Vernier profiles #289

Closed
palkan opened this issue May 4, 2024 · 0 comments · Fixed by #295
Closed

Add Rails/ActiveSupport hooks support for Vernier profiles #289

palkan opened this issue May 4, 2024 · 0 comments · Fixed by #295
Labels
good first issue hackday RailsConf Hack Day challenges

Comments

@palkan
Copy link
Collaborator

palkan commented May 4, 2024

Context

Vernier allows adding event markers from Active Support Notifications.

This functionality must be explicitly enabled via the hooks: [:rails] option for the Collector.

This will add more insights to the resulting report. For example, we can see which initializers are being executed during the application boot and how much time did they take:

image

TODO

Add new configuration parameter to the Vernier wrapper (test_prof/vernier.rb) to add hooks: [:rails] when initializing the collector.

This should be possible via both Ruby and env variables (TEST_VERNIER_HOOKS=rails).

See also

@palkan palkan added hackday RailsConf Hack Day challenges good first issue labels May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue hackday RailsConf Hack Day challenges
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant