Re: PHP extension for compilation and optimization of PHP code
| From: | Elettar Istari | Date: | Mon, 06 Sep 2010 12:00:32 +0000 |
| Subject: | Re: PHP extension for compilation and optimization of PHP code | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7597@lists.php.net to get a copy of this message | ||
Thanks for your remarks,
I know the Nuno's extension but nothing seems to be done for 2 years
and there is no release on PECL. And since I prefer to start with my own
bases (which are a bit different than Nuno's work) I have decided to make a
new extension.
For the license I will certainly use the PHP License.
I compile for Windows with a VC++ project but it was done with the previous
version of LLVM and I need to make some changes to be compatible with the
new one. I have some informations about how to write a config.w32 but no
about how to use it, does anyone know where I can find this ?
I didn't have any benchmarks yet, I just do simple tests. For the moment it
improves all code from a file (not from eval function), except the first
time because of the compilation, but you can really see it only when there
are not too many loops and function calls otherwise the improvement becomes
relatively too small.
For the config.m4 it is the first time I use this kind of tool, so it is
certainly far from optimal, I will work on it a bit more.
Elettar