Last active
April 6, 2017 22:19
-
-
Save sreedhar7/b50a225eeb68cab6acebca92ae907ed7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rumObj = new RumTracking({ | |
'web-ui-framework': 'EMBER' | |
}); | |
// App Launch - window.performance.timing.navigationStart is the start marker | |
rumObj.setPageKey('feed_page_key'); | |
// Do rendering | |
rumObj.appRenderComplete(); | |
// Subsequent navigation | |
rumObj.appTransitionStart(); | |
rumObj.setPageKey('profile_page_key'); | |
// Do rendering | |
rumObj.appRenderComplete(); |
@sreedhar7 it would be useful to know about the inner working for RumTracking. Does it use UserTiming and ResourceTiming for calculating the time ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@sreedhar7 do you have source code for RumTracking?