Interesting, I'm not aware of anything specific that slows down
Context::New. Could you perhaps narrow down the regression further & file a
bug? The build flags below look fine to me.

On Tue, Jul 17, 2018 at 1:14 AM, jzw <wanzhichun1...@gmail.com> wrote:

> I narrowed down to context creation time.
> when I measure the time around v8::Context::New(), I noticed 30%-40%
> increase with the newer version. This is with snapshot enabled. I am
> wondering if I could further reduce the time for context creation or have
> to accept it?
> Thank you!
>
>
> On Friday, July 13, 2018 at 5:47:53 PM UTC-7, jzw wrote:
>>
>> Hello,
>> We recently upgraded v8 from 5.3 to 6.7. And when doing a profiling test
>> after embedding, I found the speed with the new build is slower than the
>> old one(quite significant). I know there is fair chance that our old way of
>> embedding v8 causes inefficiency. Apart from that, may I get some
>> suggestions to make the build faster (for release at least).
>>
>> Currently I compiled v8 with the following options
>> is_debug = false
>> is_official_build = true
>> is_component_build = true
>> is_cfi = false
>> is_clang = false
>> use_custom_libcxx = false
>> use_sysroot = false
>>
>> is the build with the above options already most optimized one? Any more
>> options I could use?
>>
>

-- 
-- 
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.

Reply via email to