How to set real-time priority for WebView2 in a Tauri application? #13005
-
I have an application scenario with high real-time requirements. In the Rust backend, I attempted to improve real-time performance using the following code:
After launching, the Task Manager shows that the Rust process successfully achieved real-time priority, but the WebView2 process remains at normal priority. How can I elevate the real-time priority of the WebView2 process created by my Tauri application? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
MicrosoftEdge/WebView2Feedback#4610 not supported directly. i wonder if iterating over all the children processes to find webview2 and then using that same prio api works? (may only work after building the app. in dev the processes are sometimes a bit weird iirc) |
Beta Was this translation helpful? Give feedback.
MicrosoftEdge/WebView2Feedback#4610 not supported directly. i wonder if iterating over all the children processes to find webview2 and then using that same prio api works? (may only work after building the app. in dev the processes are sometimes a bit weird iirc)