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 middleware to record YJIT code_region_size #53

Merged
merged 5 commits into from
Feb 26, 2024
Merged

Conversation

errm
Copy link
Owner

@errm errm commented Feb 23, 2024

* We are using the rack.after_reply hook for this to not impact response
  times - https://github.blog/2022-04-11-performance-at-github-deferring-stats-with-rack-after_reply/
* Just a simple implimentation now, so we can optimise --yjit-exec-mem-size on applications, but this
  should be simple to extend to record the other metrics exposed by runtime_stats if they are needed.
@errm errm merged commit 3abace1 into master Feb 26, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

1 participant