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.
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.