Skip to content

Instantly share code, notes, and snippets.

@sreedhar7
Last active April 6, 2017 22:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sreedhar7/b50a225eeb68cab6acebca92ae907ed7 to your computer and use it in GitHub Desktop.
Save sreedhar7/b50a225eeb68cab6acebca92ae907ed7 to your computer and use it in GitHub Desktop.
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();
@fizerkhan
Copy link

@sreedhar7 do you have source code for RumTracking?

@abhinavgalodha
Copy link

@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