mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use headless rendering for performance test
This commit is contained in:
parent
d941c5b916
commit
9aaa088624
2 changed files with 31 additions and 25 deletions
|
@ -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"]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue