Re: [v8-users] Is it possible to turn off the interpreter (i.e. Ignition ) when running the v8

2018-03-26 Thread 李弘毅
Thanks a lot!☺

2018-03-27 2:38 GMT+08:00 Jakob Kummerow :

> Yes, that's Turbofan; and yes, it's enabled by default.
>
> On Sun, Mar 25, 2018 at 11:27 PM 李弘毅  wrote:
>
>> Sorry, I have another little question: when running the latest v8, is
>> that "new optimizing compiler" (I guess that is Turbofan, right?)
>> enabled by default?
>>
>> 2018-03-24 9:31 GMT+08:00 Jakob Kummerow :
>>
>>> You cannot turn off the interpreter, nor build V8 without it. Without
>>> the interpreter, V8 would be unable to execute any JavaScript.
>>>
>>> V8 used to have a non-optimizing compiler and an optimizing compiler.
>>> Now it has an interpreter and a new optimizing compiler, replacing the
>>> former two. What hasn't changed is that all executed code still goes
>>> through the first stage of the pipeline first, and then is eventually
>>> optimized if it runs hot enough.
>>>
>>> So I think for your purposes, the fact that the non-optimizing compiler
>>> was replaced with an interpreter is an internal implementation detail that
>>> you don't need to care about. Just go ahead and run your benchmarks :-)
>>>
>>>
>>> On Fri, Mar 23, 2018 at 5:54 PM Howie Lee  wrote:
>>>
 Hi, everyone!

 I need to run some benchmarks on the v8 to test the performance of a
 DBT (a dynamic binary translator). I am wondering how to turn off the
 interpreter in the v8, or is it possible to build v8 without the
 interpreter? Though I know that I can build the v8 5.5.x which does not
 have the interpreter, yet my professor prefer to use the latest v8 by
 turning off the interpreter. The very reason is that our dbt is written
 when v8 doesn't have an interpreter and my professor would like to restore
 the same environment to run benchmarks on our dbt again without degrading
 the version of v8. Since we'd like to use our old dbt in another pro, we
 are afraid the version of v8 will be a drawback to publishing a paper.

 Thanks a lot!

 --
 --
 v8-users mailing list
 v8-users@googlegroups.com
 http://groups.google.com/group/v8-users
 ---
 You received this message because you are subscribed to the Google
 Groups "v8-users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to v8-users+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>> --
>>> --
>>> v8-users mailing list
>>> v8-users@googlegroups.com
>>> http://groups.google.com/group/v8-users
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "v8-users" group.
>>> To unsubscribe from this topic, visit https://groups.google.com/d/
>>> topic/v8-users/Gv6yrGkkLpA/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> v8-users+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> --
>> v8-users mailing list
>> v8-users@googlegroups.com
>> http://groups.google.com/group/v8-users
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to v8-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/v8-users/Gv6yrGkkLpA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [v8-users] Is it possible to turn off the interpreter (i.e. Ignition ) when running the v8

2018-03-26 Thread Jakob Kummerow
Yes, that's Turbofan; and yes, it's enabled by default.

On Sun, Mar 25, 2018 at 11:27 PM 李弘毅  wrote:

> Sorry, I have another little question: when running the latest v8, is that
> "new optimizing compiler" (I guess that is Turbofan, right?) enabled by
> default?
>
> 2018-03-24 9:31 GMT+08:00 Jakob Kummerow :
>
>> You cannot turn off the interpreter, nor build V8 without it. Without the
>> interpreter, V8 would be unable to execute any JavaScript.
>>
>> V8 used to have a non-optimizing compiler and an optimizing compiler. Now
>> it has an interpreter and a new optimizing compiler, replacing the former
>> two. What hasn't changed is that all executed code still goes through the
>> first stage of the pipeline first, and then is eventually optimized if it
>> runs hot enough.
>>
>> So I think for your purposes, the fact that the non-optimizing compiler
>> was replaced with an interpreter is an internal implementation detail that
>> you don't need to care about. Just go ahead and run your benchmarks :-)
>>
>>
>> On Fri, Mar 23, 2018 at 5:54 PM Howie Lee  wrote:
>>
>>> Hi, everyone!
>>>
>>> I need to run some benchmarks on the v8 to test the performance of a DBT
>>> (a dynamic binary translator). I am wondering how to turn off the
>>> interpreter in the v8, or is it possible to build v8 without the
>>> interpreter? Though I know that I can build the v8 5.5.x which does not
>>> have the interpreter, yet my professor prefer to use the latest v8 by
>>> turning off the interpreter. The very reason is that our dbt is written
>>> when v8 doesn't have an interpreter and my professor would like to restore
>>> the same environment to run benchmarks on our dbt again without degrading
>>> the version of v8. Since we'd like to use our old dbt in another pro, we
>>> are afraid the version of v8 will be a drawback to publishing a paper.
>>>
>>> Thanks a lot!
>>>
>>> --
>>> --
>>> v8-users mailing list
>>> v8-users@googlegroups.com
>>> http://groups.google.com/group/v8-users
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "v8-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to v8-users+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> --
>> v8-users mailing list
>> v8-users@googlegroups.com
>> http://groups.google.com/group/v8-users
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "v8-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/v8-users/Gv6yrGkkLpA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> v8-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [v8-users] Is it possible to turn off the interpreter (i.e. Ignition ) when running the v8

2018-03-26 Thread 李弘毅
Sorry, I have another little question: when running the latest v8, is that "new
optimizing compiler" (I guess that is Turbofan, right?) enabled by default?

2018-03-24 9:31 GMT+08:00 Jakob Kummerow :

> You cannot turn off the interpreter, nor build V8 without it. Without the
> interpreter, V8 would be unable to execute any JavaScript.
>
> V8 used to have a non-optimizing compiler and an optimizing compiler. Now
> it has an interpreter and a new optimizing compiler, replacing the former
> two. What hasn't changed is that all executed code still goes through the
> first stage of the pipeline first, and then is eventually optimized if it
> runs hot enough.
>
> So I think for your purposes, the fact that the non-optimizing compiler
> was replaced with an interpreter is an internal implementation detail that
> you don't need to care about. Just go ahead and run your benchmarks :-)
>
>
> On Fri, Mar 23, 2018 at 5:54 PM Howie Lee  wrote:
>
>> Hi, everyone!
>>
>> I need to run some benchmarks on the v8 to test the performance of a DBT
>> (a dynamic binary translator). I am wondering how to turn off the
>> interpreter in the v8, or is it possible to build v8 without the
>> interpreter? Though I know that I can build the v8 5.5.x which does not
>> have the interpreter, yet my professor prefer to use the latest v8 by
>> turning off the interpreter. The very reason is that our dbt is written
>> when v8 doesn't have an interpreter and my professor would like to restore
>> the same environment to run benchmarks on our dbt again without degrading
>> the version of v8. Since we'd like to use our old dbt in another pro, we
>> are afraid the version of v8 will be a drawback to publishing a paper.
>>
>> Thanks a lot!
>>
>> --
>> --
>> v8-users mailing list
>> v8-users@googlegroups.com
>> http://groups.google.com/group/v8-users
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to v8-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/v8-users/Gv6yrGkkLpA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [v8-users] Is it possible to turn off the interpreter (i.e. Ignition ) when running the v8

2018-03-25 Thread 李弘毅
Thanks for your response!

2018-03-24 9:31 GMT+08:00 Jakob Kummerow :

> You cannot turn off the interpreter, nor build V8 without it. Without the
> interpreter, V8 would be unable to execute any JavaScript.
>
> V8 used to have a non-optimizing compiler and an optimizing compiler. Now
> it has an interpreter and a new optimizing compiler, replacing the former
> two. What hasn't changed is that all executed code still goes through the
> first stage of the pipeline first, and then is eventually optimized if it
> runs hot enough.
>
> So I think for your purposes, the fact that the non-optimizing compiler
> was replaced with an interpreter is an internal implementation detail that
> you don't need to care about. Just go ahead and run your benchmarks :-)
>
>
> On Fri, Mar 23, 2018 at 5:54 PM Howie Lee  wrote:
>
>> Hi, everyone!
>>
>> I need to run some benchmarks on the v8 to test the performance of a DBT
>> (a dynamic binary translator). I am wondering how to turn off the
>> interpreter in the v8, or is it possible to build v8 without the
>> interpreter? Though I know that I can build the v8 5.5.x which does not
>> have the interpreter, yet my professor prefer to use the latest v8 by
>> turning off the interpreter. The very reason is that our dbt is written
>> when v8 doesn't have an interpreter and my professor would like to restore
>> the same environment to run benchmarks on our dbt again without degrading
>> the version of v8. Since we'd like to use our old dbt in another pro, we
>> are afraid the version of v8 will be a drawback to publishing a paper.
>>
>> Thanks a lot!
>>
>> --
>> --
>> v8-users mailing list
>> v8-users@googlegroups.com
>> http://groups.google.com/group/v8-users
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "v8-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to v8-users+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/v8-users/Gv6yrGkkLpA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [v8-users] Is it possible to turn off the interpreter (i.e. Ignition ) when running the v8

2018-03-23 Thread Jakob Kummerow
You cannot turn off the interpreter, nor build V8 without it. Without the
interpreter, V8 would be unable to execute any JavaScript.

V8 used to have a non-optimizing compiler and an optimizing compiler. Now
it has an interpreter and a new optimizing compiler, replacing the former
two. What hasn't changed is that all executed code still goes through the
first stage of the pipeline first, and then is eventually optimized if it
runs hot enough.

So I think for your purposes, the fact that the non-optimizing compiler was
replaced with an interpreter is an internal implementation detail that you
don't need to care about. Just go ahead and run your benchmarks :-)


On Fri, Mar 23, 2018 at 5:54 PM Howie Lee  wrote:

> Hi, everyone!
>
> I need to run some benchmarks on the v8 to test the performance of a DBT
> (a dynamic binary translator). I am wondering how to turn off the
> interpreter in the v8, or is it possible to build v8 without the
> interpreter? Though I know that I can build the v8 5.5.x which does not
> have the interpreter, yet my professor prefer to use the latest v8 by
> turning off the interpreter. The very reason is that our dbt is written
> when v8 doesn't have an interpreter and my professor would like to restore
> the same environment to run benchmarks on our dbt again without degrading
> the version of v8. Since we'd like to use our old dbt in another pro, we
> are afraid the version of v8 will be a drawback to publishing a paper.
>
> Thanks a lot!
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to the Google Groups
> "v8-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[v8-users] Is it possible to turn off the interpreter (i.e. Ignition ) when running the v8

2018-03-23 Thread Howie Lee
Hi, everyone! 

I need to run some benchmarks on the v8 to test the performance of a DBT (a 
dynamic binary translator). I am wondering how to turn off the interpreter 
in the v8, or is it possible to build v8 without the interpreter? Though I 
know that I can build the v8 5.5.x which does not have the interpreter, yet 
my professor prefer to use the latest v8 by turning off the interpreter. 
The very reason is that our dbt is written when v8 doesn't have an 
interpreter and my professor would like to restore the same environment to 
run benchmarks on our dbt again without degrading the version of v8. Since 
we'd like to use our old dbt in another pro, we are afraid the version of 
v8 will be a drawback to publishing a paper.

Thanks a lot!

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.