Running Speedometer 2.0 on content_shell

113 views
Skip to first unread message

siri...@gmail.com

unread,
Sep 18, 2017, 12:07:46 PM9/18/17
to v8-dev
Hi, 

I am trying to run Speedometer 2.0 (downloaded from Webkit/Websites/browserbench.org/Speedometer2.0) on the content shell that I build out of Chromium source.


./content_shell index.html 

[5577:5577:0918/100222.033747:238519405135:INFO:CONSOLE(174)] "Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "null" from accessing a frame with origin "null". Protocols, domains, and ports must match.", source: file:///home/sirish/webkit/Websites/browserbench.org/Speedometer2.0/resources/benchmark-runner.js (174)

To be honest, I am not great on JavaScript yet. However, I am suspecting there might be "other" that I need to have on my system before I dig deep into Javascript. If that's the case, can some suggest/hint what I am missing?

Thanks.
Sirish

Jakob Kummerow

unread,
Sep 18, 2017, 5:51:50 PM9/18/17
to v8-...@googlegroups.com
Try serving the benchmark from a local webserver (one easy way: start python -m SimpleHTTPServer in the Speedometer directory).

--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sirish Pande

unread,
Sep 19, 2017, 11:36:38 AM9/19/17
to v8-...@googlegroups.com
Thanks Jacob. That does help. 

python -m SimpleHTTPServer &
./content_shell http://localhost:8000

Thanks.
Sirish

You received this message because you are subscribed to a topic in the Google Groups "v8-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-dev/qIQc0FrbQcE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-dev+unsubscribe@googlegroups.com.

Sirish Pande

unread,
Oct 23, 2017, 5:34:04 PM10/23/17
to v8-...@googlegroups.com
Hi V8 developers,

If I want to have a patch for review for performance improvment, what are the benchmarks that should be running before submitting the patch for review? I know only if Speedometer 2.0. Is there anything else? Is there a way to get performance numbers for each of the benchmarks of Speedometer 2.0 suite?

Thanks.
Sirish
Reply all
Reply to author
Forward
0 new messages