Re: Feature Request: inline pseudo-instruction

From: Date: Tue, 04 Oct 2016 19:27:27 +0000
Subject: Re: Feature Request: inline pseudo-instruction
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-96240@lists.php.net to get a copy of this message
Hi, On 10/04/2016 01:33 PM, Pascal KISSIAN wrote:
Hi everybody, I have an application where a small file is included at multiple places. So far so good. The problem is that this include consists in a small piece of code which is inside a multi-level loop. The include is done about an average of 100.000 times . When I manually replace the include with the code which is inside, the performance boost is about a 50-100 factor.. (with opcache enabled, it is far worst without opcache).
Despite the fact that your code really seems to be of bad quality as others mentioned: Did you configure your opcache not to check the file system each time if the file changed in the meantime? Regards Thomas

« previous php.internals (#96240) next »