MicrosoftEdge / MicrosoftEdge/WebView2Feedback
Get render process information from ICoreWebView2 object
@Lakshmisha-KS is already working on this.
Since Feb 12, 2025.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
We have multiple features that use the browser function, and now we really want to have such a requirement.
We want to count the CPU and Memory usage of each feature, that is, count the CPU and Memory usage of a certain feature for the Render process. So I hope that Webview2 can provide an interface to get the corresponding set of Render process IDs from the ICoreWebView2 object.
If this interface is provided, the usage process is as follows:
- Get feature1's ICoreWebView2 object.
- Call API
GetRenderProssesprovided by ICoreWebView2 object. - Calculate the memory usage of the process returned by
GetRenderProsses.
Although Webview2 provides the GetProcessInfos interface, this interface obtains all the process information related to Webview2, we still cannot know the Render process information corresponding to an ICoreWebView2.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.