How extract the pure javascript from real-world website, in order to test V8 js engine performance?

24 views
Skip to first unread message

michael lee

unread,
Aug 30, 2017, 11:42:34 AM8/30/17
to v8-users, "v8-...@googlegroups.com
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.

Jakob Kummerow

unread,
Aug 30, 2017, 1:35:03 PM8/30/17
to v8-users
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

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

michael lee

unread,
Sep 1, 2017, 11:09:55 AM9/1/17
to v8-users
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
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages