[v8-users] Benefits of inline caching

2015-10-09 Thread dmonji
Is there any way to figure out how many and what accesses in JavaScript program are actually utilizing inline caching technique? or are majorly contributing to improve overall performance using inline caching? -- -- v8-users mailing list v8-users@googlegroups.com

[v8-users] Re: Benefits of inline caching

2015-10-09 Thread dmonji
each method and operator. > I think the Inline Caches are used to improve overall performance, but I'm > not sure if I understood correctly your question. > > On Friday, October 9, 2015 at 10:16:29 AM UTC+2, dmonji wrote: >> >> Is there any way to figure out how many and wha

[v8-users] Usefulness of inline caching and hidden classes

2015-10-07 Thread dmonji
Is the design of hidden classes for object representation in V8 is always beneficial? Are there any cases, in which using inline caching will actually degrade the performance? -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this

Re: [v8-users] Property access time in JavaScript programs

2015-09-30 Thread dmonji
l depends on so many things... > > I can't think of a way to take an existing program and accurately measure > what fraction of its running time is spent on property accesses. > > On Fri, Sep 18, 2015 at 1:13 PM, dmonji <monika...@gmail.com > > wrote: > >>

[v8-users] Usefulness of inline caching in v8

2015-09-30 Thread dmonji
I understand that inline caching is helpful only when a particular accesses is repeatedly executed at the same location. It does not consider the accesses made seperately. For example, for(i=0;i<1000;i++) obj.x; Here Inline caching will be helpful. But consider following obj.x; obj.x;

[v8-users] Runtime functions in V8

2015-09-24 Thread dmonji
1) In v8, ic.cc, i see functions like *RUNTIME_FUNCTION(Runtime_KeyedLoadIC_Miss)*. I don't understand how are they invoked. Is there some connection with * __ TailCallRuntime(Runtime::kKeyedLoadIC_Miss, arg_count, 1);* from ic-.cc? 2) what is the difference between

[v8-users] Re: Property accesses in JavaScript

2015-09-24 Thread dmonji
(for example, array or objects) it may slightly vary. On Monday, 21 September 2015 18:18:32 UTC+5:30, dmonji wrote: > > I want to understand the property accesses in JavaScript programs using v8. > > I am looking for property access code in objects.cc in v8. But I am yet >

[v8-users] Property accesses in JavaScript

2015-09-21 Thread dmonji
I want to understand the property accesses in JavaScript programs using v8. I am looking for property access code in objects.cc in v8. But I am yet not successful in figuring that out. Can someone point to related function or piece of code? I am trying to print the list of properties

[v8-users] proto in dictionary

2015-09-18 Thread dmonji
I understand that when too many properties are added or a property is deleted from the object, object representation changes to slow(dictionary) mode. In this case, does proto property still exist? If not, how is inheritance handled in case of dictionary object representation? -- -- v8-users

[v8-users] prooto in dictionary

2015-09-18 Thread dmonji
I understand that when too many properties are added or a property is deleted from the object, object representation changes to slow(dictionary) mode. In this case, does proto property still exist? If not, how is inheritance handled in case of dictionary object representation? -- -- v8-users

Re: [v8-users] Property access time in JavaScript programs

2015-09-18 Thread dmonji
y, 18 September 2015 16:30:42 UTC+5:30, Jakob Kummerow wrote: > > Property access time is not measured separately. > > On Fri, Sep 18, 2015 at 12:56 PM, dmonji <monika...@gmail.com > > wrote: > >> I want to compute the proportion of time spent on property accesses in

[v8-users] Property access time in JavaScript programs

2015-09-18 Thread dmonji
I want to compute the proportion of time spent on property accesses in JavaScript programs. I am aware of code.com/svn/branches/bleeding_edge/tools/profviz/profviz.html which is a cpu profiler. But it is not clear what exactly does "execution" refer to since "ic cache"