On Wed, Mar 4, 2015 at 11:21 AM, Joe Watkins wrote:
> Just-In-Time-At-Once JITAO
>
file at once, function at once, trace at once, basic block at once - just
different JIT approaches.
The bigger part we analyze at once the more information we may get for
optimization, but the slower compilation.
Just-In-Time-At-Once JITAO
It is a bit different to the thing we think of as JIT ... new names are
good if old names don't fit ...
Cheers
Joe
On Wed, Mar 4, 2015 at 8:03 AM, Xinchen Hui wrote:
> On Wed, Mar 4, 2015 at 3:44 PM, Dmitry Stogov wrote:
> > On Tue, Mar 3, 2015 at 10:55 PM, Anthony
On Wed, Mar 4, 2015 at 3:44 PM, Dmitry Stogov wrote:
> On Tue, Mar 3, 2015 at 10:55 PM, Anthony Ferrara
> wrote:
>
>> Dmitry,
>>
>> >> So, let's put that to the test, shall we. I compiled and ran the "JIT"
>> >> compiler (can we please stop calling it that, it's not).
>> >
>> >
>> > This is JIT!
On Tue, Mar 3, 2015 at 10:55 PM, Anthony Ferrara
wrote:
> Dmitry,
>
> >> So, let's put that to the test, shall we. I compiled and ran the "JIT"
> >> compiler (can we please stop calling it that, it's not).
> >
> >
> > This is JIT!
>
> My apologies. I interpreted your reply to an earlier email tha
Dmitry,
>> So, let's put that to the test, shall we. I compiled and ran the "JIT"
>> compiler (can we please stop calling it that, it's not).
>
>
> This is JIT!
My apologies. I interpreted your reply to an earlier email that you
were doing all of the code generation at compile time, not at runtim
>> > To: Zeev Suraski
>> > Cc: PHP Internals
>> > Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced
>> >
>> > Now, to the point that "gcc uses output buffering".
>>
>> Not gcc, glibc's stdout.
>
> CLI uses unbuffered write() sy
> On 3 במרץ 2015, at 19:08, Anthony Ferrara wrote:
>
> Zeev,
>
> On Tue, Mar 3, 2015 at 11:32 AM, Zeev Suraski wrote:
>>> It wins on uneven ground.
>>
>> Without the output buffering code it's a LOT more uneven, as the PHP version
>> is flushing every byte - approx. 6,000 such flushes.
>
> T
Zeev,
On Tue, Mar 3, 2015 at 11:32 AM, Zeev Suraski wrote:
>> It wins on uneven ground.
>
> Without the output buffering code it's a LOT more uneven, as the PHP version
> is flushing every byte - approx. 6,000 such flushes.
Then the benchmark should suffer because of that. You're testing the
ful
On Tue, Mar 3, 2015 at 6:57 PM, Zeev Suraski wrote:
> > -Original Message-
> > From: Anthony Ferrara [mailto:ircmax...@gmail.com]
> > Sent: Tuesday, March 03, 2015 5:44 PM
> > To: Zeev Suraski
> > Cc: PHP Internals
> > Subject: Re: [PHP-DEV] Re
On Tue, Mar 3, 2015 at 6:44 PM, Anthony Ferrara wrote:
> Zeev,
>
> On Tue, Mar 3, 2015 at 8:05 AM, Zeev Suraski wrote:
> >> So I do apologize to the person. I don't to the code.
> >
> > I wanted to verify whether my gut was correct (minimal amount of output,
> and
> > stdout is in fact buffered
> It wins on uneven ground.
Without the output buffering code it's a LOT more uneven, as the PHP version
is flushing every byte - approx. 6,000 such flushes.
> Which was the very initial point that I
> made. One writes to interactive output within the loop (even if
> buffered, it's flushed 69 tim
Zeev,
On Tue, Mar 3, 2015 at 10:57 AM, Zeev Suraski wrote:
>> -Original Message-
>> From: Anthony Ferrara [mailto:ircmax...@gmail.com]
>> Sent: Tuesday, March 03, 2015 5:44 PM
>> To: Zeev Suraski
>> Cc: PHP Internals
>> Subject: Re: [PHP-DEV]
> -Original Message-
> From: Anthony Ferrara [mailto:ircmax...@gmail.com]
> Sent: Tuesday, March 03, 2015 5:44 PM
> To: Zeev Suraski
> Cc: PHP Internals
> Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced
>
> Zeev,
>
> On Tue, Mar 3, 2015 at 8:05 AM, Zee
Zeev,
On Tue, Mar 3, 2015 at 8:05 AM, Zeev Suraski wrote:
>> So I do apologize to the person. I don't to the code.
>
> I wanted to verify whether my gut was correct (minimal amount of output, and
> stdout is in fact buffered - output shouldn't move the needle) and asked
> Dmitry to rerun the C te
> -Original Message-
> From: julienpa...@gmail.com [mailto:julienpa...@gmail.com] On Behalf Of
> Julien Pauli
> Sent: Tuesday, March 03, 2015 5:11 PM
> To: Zeev Suraski
> Cc: Anthony Ferrara; PHP Internals
> Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced
>
>
On Tue, Mar 3, 2015 at 2:05 PM, Zeev Suraski wrote:
> > So I do apologize to the person. I don't to the code.
>
> I wanted to verify whether my gut was correct (minimal amount of output,
> and
> stdout is in fact buffered - output shouldn't move the needle) and asked
> Dmitry to rerun the C test
> So I do apologize to the person. I don't to the code.
I wanted to verify whether my gut was correct (minimal amount of output, and
stdout is in fact buffered - output shouldn't move the needle) and asked
Dmitry to rerun the C test on the same system, but this time with the output
code completely
> -Original Message-
> From: Anthony Ferrara [mailto:ircmax...@gmail.com]
> Sent: Friday, February 27, 2015 10:54 PM
> To: Zeev Suraski
> Cc: Dmitry Stogov; PHP Internals
> Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced
>
> Zeev,
>
> On Fri, Feb 27, 2015 a
> >> To: Dmitry Stogov
> >> Cc: Zeev Suraski; Jordi Boggiano; PHP Internals
> >> Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced
> >>
> >> Dmitry,
> >>
> >> > Sneaky sneaky. Also completely fake.
> >>
> >> It's
Zeev,
On Fri, Feb 27, 2015 at 3:36 PM, Zeev Suraski wrote:
>> -Original Message-
>> From: Anthony Ferrara [mailto:ircmax...@gmail.com]
>> Sent: Friday, February 27, 2015 10:21 PM
>> To: Dmitry Stogov
>> Cc: Zeev Suraski; Jordi Boggiano; PHP Internals
>
> -Original Message-
> From: Anthony Ferrara [mailto:ircmax...@gmail.com]
> Sent: Friday, February 27, 2015 9:36 PM
> To: Dmitry Stogov
> Cc: Zeev Suraski; Jordi Boggiano; PHP Internals
> Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced
>
> And looking at the code
> -Original Message-
> From: Anthony Ferrara [mailto:ircmax...@gmail.com]
> Sent: Friday, February 27, 2015 10:21 PM
> To: Dmitry Stogov
> Cc: Zeev Suraski; Jordi Boggiano; PHP Internals
> Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced
>
> Dmitry,
>
> &g
On Fri, Feb 27, 2015 at 11:21 PM, Anthony Ferrara
wrote:
> Dmitry,
>
> > Sneaky sneaky. Also completely fake.
>
> It's been brought to my attention that some people have taken what I
> said completely out of context and insinuated it as a direct insult to
> you. I assure you that was not the inte
On Fri, Feb 27, 2015 at 10:36 PM, Anthony Ferrara
wrote:
> Dmitry,
>
> >> That's not to say there's anything wrong with this approach, nor that
> >> there isn't a ton we can learn from it. I think it's a fantastic
> >> research effort and plan on digging through it myself. Thank you for
> >> open
Dmitry,
> Sneaky sneaky. Also completely fake.
It's been brought to my attention that some people have taken what I
said completely out of context and insinuated it as a direct insult to
you. I assure you that was not the intent (I called the benchmark
sneaky and fake, which it is).
So if you in
On Fri, Feb 27, 2015 at 10:36 PM, Anthony Ferrara
wrote:
> Dmitry,
>
> >> That's not to say there's anything wrong with this approach, nor that
> >> there isn't a ton we can learn from it. I think it's a fantastic
> >> research effort and plan on digging through it myself. Thank you for
> >> open
Dmitry,
>> That's not to say there's anything wrong with this approach, nor that
>> there isn't a ton we can learn from it. I think it's a fantastic
>> research effort and plan on digging through it myself. Thank you for
>> open sourcing it.
>
>
> Thanks for good words :)
>
> This work may be adop
On Fri, Feb 27, 2015 at 9:55 PM, Anthony Ferrara
wrote:
> Zeev,
>
> >> 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.
> >
> > Just to slightly further clarify - we don't compile the whole
Zeev,
>> 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.
>
> Just to slightly further clarify - we don't compile the whole codebase at
> once, but we keep the existing semantics that every file
> -Original Message-
> From: Dmitry Stogov [mailto:dmi...@zend.com]
> Sent: Friday, February 27, 2015 7:31 PM
> To: Anthony Ferrara
> Cc: Jordi Boggiano; PHP Internals
> Subject: Re: [PHP-DEV] Re: Zend JIT Open Sourced
>
> On Fri, Feb 27, 2015 at 7:30 PM,
On Fri, Feb 27, 2015 at 7:30 PM, Anthony Ferrara
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
> > m
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)
Th
Dmitry Stogov wrote on 27/02/2015 15:56:
On Fri, Feb 27, 2015 at 6:40 PM, Jordi Boggiano wrote:
>On 27/02/2015 15:19, Andi Gutmans wrote:
>
>>
>> On Feb 27, 2015, at 7:12 AM, Anthony Ferrara
>>>wrote:
>>>
>>>Dmitry and Zend,
>>>
>>>Thank you for sharing your code. I look forward to playing
On Fri, Feb 27, 2015 at 6:40 PM, Jordi Boggiano wrote:
> On 27/02/2015 15:19, Andi Gutmans wrote:
>
>>
>> On Feb 27, 2015, at 7:12 AM, Anthony Ferrara
>>> wrote:
>>>
>>> Dmitry and Zend,
>>>
>>> Thank you for sharing your code. I look forward to playing with it.
>>>
>>> Perhaps after 7 stabiliz
On 27/02/2015 15:19, Andi Gutmans wrote:
On Feb 27, 2015, at 7:12 AM, Anthony Ferrara wrote:
Dmitry and Zend,
Thank you for sharing your code. I look forward to playing with it.
Perhaps after 7 stabilizes (and ships) you could write up your
thoughts around it? Why decisions were made and th
Am 27.02.2015 um 16:12 schrieb Anthony Ferrara:
> Thank you for sharing your code. I look forward to playing with it.
>
> Perhaps after 7 stabilizes (and ships) you could write up your
> thoughts around it? Why decisions were made and the findings that you
> have?
What Joe and Anthony said :-) T
> On Feb 27, 2015, at 7:12 AM, Anthony Ferrara wrote:
>
> Dmitry and Zend,
>
> Thank you for sharing your code. I look forward to playing with it.
>
> Perhaps after 7 stabilizes (and ships) you could write up your
> thoughts around it? Why decisions were made and the findings that you
> have?
37 matches
Mail list logo