DEV: Improve performance of system tests by disabling GPU in chrome (#21882)
It seems like the overhead of GPU acceleration is not worth it and is slowing down our system tests. Locally the following command completes in `2 minutes 8.6 seconds` with GPU disabled as compared to `2 minutes 45.4 seconds` with GPU enabled.
This commit is contained in:
parent
30e4ebd19b
commit
128d67ba56
|
@ -650,6 +650,7 @@ def apply_base_chrome_options(options)
|
|||
options.add_argument("--disable-dev-shm-usage")
|
||||
options.add_argument("--mute-audio")
|
||||
options.add_argument("--force-device-scale-factor=1")
|
||||
options.add_argument("--disable-gpu")
|
||||
end
|
||||
|
||||
class SpecSecureRandom
|
||||
|
|
Loading…
Reference in New Issue