[v8-users] Re: V8 snapshots

2017-09-01 Thread Zac Hansen
Can you post a minimal complete example that reproduces your problem?

On Friday, September 1, 2017 at 8:57:51 AM UTC-7, Francisco Moraes wrote:
>
> Hello,
>
> I am trying to create a snapshot that includes most of code but I ran into 
> the following assertion:
>
>   CHECK(isolate->handle_scope_implementer()->blocks()->is_empty());
>
> Any clarifications about what would generate it that our JS code is doing 
> and is not legal? I found that creating Unsafe Arrays is also not permitted 
> but that is relatively easy to work around.
>
> Francisco
>

-- 
-- 
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] How to log javascript calls

2017-09-01 Thread Jakob Kummerow
Have you found the existing --trace flag? Does it fit your needs?

On Fri, Sep 1, 2017 at 8:45 AM, Huginn  wrote:

> Hi, I would like to be able to make a patch that allows one to log all
> javascript calls when loading a webpage. I was wondering what resources i
> would need to look at to achieve this. Thanks
>
> --
> --
> 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] V8 snapshots

2017-09-01 Thread Francisco Moraes
Hello,

I am trying to create a snapshot that includes most of code but I ran into 
the following assertion:

  CHECK(isolate->handle_scope_implementer()->blocks()->is_empty());

Any clarifications about what would generate it that our JS code is doing 
and is not legal? I found that creating Unsafe Arrays is also not permitted 
but that is relatively easy to work around.

Francisco

-- 
-- 
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] How to log javascript calls

2017-09-01 Thread Huginn
Hi, I would like to be able to make a patch that allows one to log all 
javascript calls when loading a webpage. I was wondering what resources i 
would need to look at to achieve this. Thanks

-- 
-- 
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] How extract the pure javascript from real-world website, in order to test V8 js engine performance?

2017-09-01 Thread michael lee
Hi Jakob,

Thanks for your answer. Originally, I focused on the Telemetry testing 
framework, and the trace files, such as .html and .json files, were 
generated. But I need still to figure out the Javascript execution 
durations from the .html files. So I expect to get some pure JS on 
real-world websites. Thanks again. 

Best Regards,
Michael

On Wednesday, August 30, 2017 at 7:35:03 PM UTC+2, Jakob Kummerow wrote:
>
> Hi Michael,
>
> extracting JavaScript from websites is really difficult, due to the fact 
> that it usually interacts with the DOM and the network (as well as possibly 
> various browser APIs like Service Workers, IndexedDB, etc). If you find a 
> good way to do this, please let us know!
>
> The best solution we have so far is Web Page Replay 
> . It requires a full 
> browser, not just d8.
>
> Good luck!
>
> Jakob
>
> On Wed, Aug 30, 2017 at 8:42 AM, michael lee  > wrote:
>
>> Hi guys,
>>
>> I am new to v8 and trying to test v8 javascript engine performance with 
>> the pure javascript on some top real-world websites, such as youtube, 
>> facebook, etc.
>> I know how to test v8 with octane benchmark suite, but expect to run some 
>> JS on real-world websites.
>> Very appreciate it.
>>
>> Best Regards.
>>
>> -- 
>> -- 
>> v8-users mailing list
>> v8-u...@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+u...@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.