Skip to content

Commit

Permalink
Docs: Set use_login_shell=False for localhost in performance benc…
Browse files Browse the repository at this point in the history
…hmark (#5847)

As noted previously, using a login shell can impact performance.
Let's disable the login shell for the performance benchmark script.
  • Loading branch information
ltalirz authored Dec 20, 2022
1 parent f2c0f2c commit 56ad8fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def main(code, number, daemon):
scheduler_type='core.direct',
workdir=tempfile.gettempdir(),
).store()
computer.configure(safe_interval=0.0)
computer.configure(safe_interval=0.0, use_login_shell=False)
echo.echo_success(f'Created and configured temporary `Computer` {label} for localhost.')
computer_created = True

Expand Down

0 comments on commit 56ad8fa

Please sign in to comment.