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

graph.keys.wasted is not actually the value of wasted keys #98

Open
StoneISStephan opened this issue Apr 16, 2018 · 0 comments
Open

graph.keys.wasted is not actually the value of wasted keys #98

StoneISStephan opened this issue Apr 16, 2018 · 0 comments

Comments

@StoneISStephan
Copy link

'value' => $stats['num_cached_keys'] - $stats['num_cached_scripts'],

From what I understand, the difference between num_cached_keys and num_cached_scripts does not equal the amount of wasted keys.
OPcache Keys are all the relative and absolute paths leading to a script.
So there are naturally more Keys than there are Scripts, the difference here however is not the amount of wasted keys.

https://image.slidesharecdn.com/yoopeecacheopcacheinternals-140222091502-phpapp02/95/yoopee-cache-op-cache-internals-45-638.jpg?cb=1445541473
https://www.slideshare.net/jpauli/yoopee-cache-op-cache-internals

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

No branches or pull requests

1 participant