Skip to content

Measure concurrent load requests #6190

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

Draft
wants to merge 11 commits into
base: develop
Choose a base branch
from

Conversation

0nko
Copy link
Member

@0nko 0nko commented Jun 6, 2025

Task/Issue URL:

Description

The PR adds a counter that measures all concurrent load requests across all BrowserWebViewClient instances. It uses AtomicInteger and ConcurrentHashMap to track the requests in progress and the count is reported to the PageLoadedHandler.

For the counter, there's a 30s time-out (maybe it should be longer?) so that we don't count requests that never finish.

Steps to test this PR

Add ### to the logcat filter to see the counter logs or $$$ to see the page load logs.

  • Enable swipingTabs feature flag
  • Make sure you have a couple of tabs in the browser
  • Start the app
  • Try loading a tab without swiping
  • Verify that there are 0 concurrent load requests reported
  • Swipe fast a couple of times between tabs
  • Notice that the concurrent tab requests are reported

Base automatically changed from fix/ondrej/tab-swiping-load-time to develop June 9, 2025 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant