-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate delayed execution of bricks in resource-starved browsers #6581
Comments
@twschiller I need some ideas on how to deal with the results of this experiment. Since we don't have access to the runtime, we can't know which part of the code actually slowed us down. This means we'd only have a log that looks like:
Is that useful? Maybe it can be used as aggregated data to detect slowdowns of the product over time, but it might just be noise and we probably don't have a dashboard to track this. Maybe we should report the specific messages, as part of the messenger itself, e.g.
My best guess is that slowdowns happen when the user has a lot of tabs open, which since #5899 can be a lot. Maybe it's best to focus on that specific issue |
A challenge is that some of the messages (e.g., ADD_TO_SPREADSHEET) call remote APIs. So if we naively track total execution time, we'll get false-positive warnings Thoughts on performance metrics:
Other complicating factors for low-resource browsers:
Brainstorming here:
Agree that could be helpful |
I opened: I'll finalize: As for the discarded tabs:
Discarded tabs are essentially closed. When revived, they even get a new tab ID. The This last piece of information was found when working on fregante/webext-inject-on-install#3 I'm tentatively closing this issue. Feel free to reopen or create a more specific one, if one isn't already open. |
Extracted from https://www.notion.so/pixiebrix/1616f10d218a480daef33c9daf5d19b5?v=04fca6e992154de0af71244552114961&p=2b5ac55c820f4c4e80deca015abe10d4&pm=s
Where/how should we report this data? Where are non-error events reported?
The text was updated successfully, but these errors were encountered: