wp-browser
wp-browser copied to clipboard
[DOC] wpbrowser.wptestkit.dev performance issues when blocking Sentry
Environment n/a
Can you perform the test manually? n/a
Codeception configuration file
n/a
Suite configuration file n/a
Describe the bug When blocking sentry.io, the page experiences severe performance issues.
Output Here's a Chrome profile where I clicked each modules link from top to bottom. It took 20 sec to finally load the WPWebDriver page.
To Reproduce Install uBlock Origin in either Chrome or Firefox and then rapidly click various links in the sidebar. The page will become unresponsive after a few clicks, and if you keep the pace up it will OOM.
Expected behavior The page should be as fast or faster than when not blocking sentry.io.
Screenshots

Additional context
@stefanfisk thanks for the report.
The documentation site is hosted on GitBook and I would not know what I could do to avoid it if not by changing hosting provider for the documentation.
Any ideas? Any specific reason you're blocking sentry.io? Asking out of curiosity.
uBlock Origin blocks Sentry by default, so I've never actually given it any thought. Since it's a popular extension among techies I'd guess that it affects a fair amount of GitBook's visitors. Maybe you could raise the issue with them?
Since this this is quite a boring and somewhat self inflicted issue, I totally understand if you feel it's not worth spending time on!
This should be no more an issue with the new documentation site