wp-browser icon indicating copy to clipboard operation
wp-browser copied to clipboard

[DOC] wpbrowser.wptestkit.dev performance issues when blocking Sentry

Open stefanfisk opened this issue 4 years ago • 2 comments

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.

Profile-20211021T084413.zip

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 gscreenshot_2021-10-21-085123

Additional context

stefanfisk avatar Oct 21 '21 06:10 stefanfisk

@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.

lucatume avatar Oct 22 '21 08:10 lucatume

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!

stefanfisk avatar Oct 26 '21 10:10 stefanfisk

This should be no more an issue with the new documentation site

lucatume avatar Sep 11 '23 12:09 lucatume