Spaces:
Running
Running
nacho commited on
Commit ·
e8a828e
1
Parent(s): 072194e
perf: 添加额外的 site-isolation-trials 和 process 限制参数,进一步压榨单实例进程数与线程数
Browse files- deepseek_browser.py +4 -0
deepseek_browser.py
CHANGED
|
@@ -59,6 +59,10 @@ class DeepSeekBrowser:
|
|
| 59 |
"--disable-sync",
|
| 60 |
"--mute-audio",
|
| 61 |
"--no-sandbox",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
"--js-flags=--max-old-space-size=128", # 限制 V8 引擎内存
|
| 63 |
"--renderer-process-limit=1", # 限制渲染进程
|
| 64 |
]
|
|
|
|
| 59 |
"--disable-sync",
|
| 60 |
"--mute-audio",
|
| 61 |
"--no-sandbox",
|
| 62 |
+
"--disable-setuid-sandbox",
|
| 63 |
+
"--disable-site-isolation-trials",
|
| 64 |
+
"--disable-features=IsolateOrigins,site-per-process,AudioServiceOutOfProcess",
|
| 65 |
+
"--disable-software-rasterizer",
|
| 66 |
"--js-flags=--max-old-space-size=128", # 限制 V8 引擎内存
|
| 67 |
"--renderer-process-limit=1", # 限制渲染进程
|
| 68 |
]
|