You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although, when I inspect if the method is defined, on my Chrome 122.0.6261.128 instance , typeof performance.measureUserAgentSpecificMemory results in undefined?
I don't think there is a different API for it though.
This may get added back as part of #209. It's on track to be a standard, but it's marked experimental, so it depends on which way we lean. If experimental APIs lead to too many breakages, we may exclude them. @navaronbracke is correct here - you can expose your own types/APIs to workaround this.
In the DevTools flutter web app, we'd like to periodically check our memory usage to take action and release resources before OOMing (flutter/devtools#7002). To do this, I was looking at using the browser memory API:
https://developer.mozilla.org/en-US/docs/Web/API/Performance/measureUserAgentSpecificMemory
This doesn't appear to be available from the Performance API in package:web:
web/lib/src/dom/hr_time.dart
Line 39 in 2f13cd5
Are there plans to support this? Is there a better way we should be checking the total memory usage for the web app?
The text was updated successfully, but these errors were encountered: