Use headless rendering for performance test

This commit is contained in:
Shing Lyu 2016-10-28 15:05:07 +08:00
parent d941c5b916
commit 9aaa088624
2 changed files with 31 additions and 25 deletions

View file

@ -43,6 +43,7 @@ def get_servo_command(url):
ua_script_path = "{}/user-agent-js".format(os.getcwd())
return ["../../../target/release/servo", url,
"--userscripts", ua_script_path,
"--headless",
"-x", "-o", "output.png"]