Benchmarking Google Chrome from Command Line

235 views
Skip to first unread message

Fernando Carvalho

unread,
Aug 25, 2012, 5:16:30 PM8/25/12
to chromium...@chromium.org
Hi everyone,

I would like to ask if is it possible to get frame rate (FPS) information on the command line, in order to benchmark webpages, against a large number of computers running different hardware.
My idea is to create a script that starts chrome and it prints FPS information on the command line, so I could read it after some time to compile the information.
It would be very useful for people that are going to develop WebGL applications, to see how their changes affects different hardware.
Currently, I'm only interested in testing on Linux, but a general way to test would be great.
I've been already told about ChromeDriver, but I haven't found enough information to set that up.
If someone could help me finding a quick way to benchmark Google Chrome, I would be very glad.

Thanks in advance,

PhistucK

unread,
Aug 26, 2012, 2:29:40 AM8/26/12
to fernandocar...@gmail.com, chromium...@chromium.org
console.log or console.error (I forget which, maybe both of them) should be appended to the log when you enable logging, so I guess that could work for you.
Also, I think I read somewhere recently (so Chrome 23, not the current stable release) that the log output can go to the terminal (command prompt), but I am not sure about that or about how to make it work (perhaps it just works when you enable logging and start it from a terminal).

PhistucK



--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Fernando Carvalho

unread,
Aug 26, 2012, 8:26:21 AM8/26/12
to PhistucK, chromium...@chromium.org
Thanks for your valuable information.
I've done what I was looking for, for a pretty long time and haven't found.
I've modified Aquarium demo to log it's FPS and starting chrome with the logging enabled was pretty easy to get the FPS on the terminal.
With that, I sent it to Phoronix, so they could analyse and maybe integrate on their benchmark suit.
--
Fernando
Reply all
Reply to author
Forward
0 new messages