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

Will compiled variables be cached? #209

Open
milesdong opened this issue Apr 10, 2015 · 1 comment
Open

Will compiled variables be cached? #209

milesdong opened this issue Apr 10, 2015 · 1 comment

Comments

@milesdong
Copy link

I have notice that run_init costs lots of time which displayed by xhprof when I have a class with a large static array, say a config file:
class Conf {
public static $conf = array(...);
}
I have read the opcodes dumped by vld and read some docs which clames that this is a compiled variable, so will CV cache by opcode cache? If yes, why it still cost a lot of time to load it?
Thanks.

@milesdong
Copy link
Author

Seems like the xhprof's inaccuracy, which should be sloved by aggregate profilling. But reply is still appreciate:)

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