On Fri, Feb 27, 2015 at 7:30 PM, Anthony Ferrara <ircmax...@gmail.com>
wrote:

> Dmitry,
>
>
> > It's not a single request cycle. JIT integrated into opcache, it compiles
> > php script(s) of first access and stores code in shared memory.
> > On following requests precompiled code is executed directly from shared
> > memory.
> >
> > - The first request may be extremely slow (few minutes)
>
> That sounds more along the lines of AOT like I did with Recki rather
> than a true JIT (which compiles when a function is called).
>
> Judging from the jit_init() function, it appears like you're compiling
> the entire codebase ahead of time.
>
> Is that correct?
>

Right now it compiles script (php file) at once.
So yes, our JIT uses some kind of AOT approach, but completely
transparently for the rest of PHP.

We also tried few different approaches to collect formation about hot
functions and generate code only for them.
Unfortunately, this didn't change the picture.

Thanks. Dmitry.


>
> Anthony
>

Reply via email to