graceguo-supercat opened a new pull request #9733:
URL: https://github.com/apache/incubator-superset/pull/9733


   ### CATEGORY
   
   Choose one
   
   - [ ] Bug Fix
   - [x] Enhancement (new features, refinement)
   - [ ] Refactor
   - [ ] Add tests
   - [ ] Build / Development Environment
   - [ ] Documentation
   
   ### SUMMARY
   When dashboard is landed in a hidden browser tab, charts are not fetched 
until user focus on the browser tab again. See this doc: 
https://developers.google.com/web/updates/2017/03/background_tabs
   
   When airbnb measure dashboard performance, we count page load time is from 
navigation start till all charts are loaded and rendered in the dashboard. When 
user open dashboard in a hidden tab, for example, ctrl+click a dashboard link, 
charts will not be loaded until user come back to this tab, and the whole 
hidden mode time is counted as dashboard load time.
   
   This PR is to add a timing_event in dashboard perf logging data. It should 
log the total duration time that dashboard is in the hidden tab.
   
   ### TEST PLAN
   Manual test.
   
   
   ### REVIEWERS
   @etr2460 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to