Re: [v8-users] Is it possible to get the memory for one of v8::Object ?

2018-07-20 Thread Jakob Kummerow
I don't think there is a direct way to do this. There is v8::internal::HeapObject::Size(), but it only gives you a form of "shallow" size. Under the hood, most (JavaScript-level) objects are composed of several (heap) objects; e.g. for an Array, all the elements are stored in a separate backing st

[v8-users] Is it possible to get the memory for one of v8::Object ?

2018-07-19 Thread czczcheng
Is it possible to get the memory for one of v8::Object ? I want to count how much memory was used during a single call of a function. -- -- 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 G