Skip to content

Instantly share code, notes, and snippets.

@vinothbabu
Created June 16, 2015 07:55
Show Gist options
  • Save vinothbabu/ac28d0c200bed8912d16 to your computer and use it in GitHub Desktop.
Save vinothbabu/ac28d0c200bed8912d16 to your computer and use it in GitHub Desktop.
angular.element(document.querySelector('[ng-app]').injector()
.invoke(function($rootScope){
var per = performance.now();
$rootScope.$apply();
console.log(performance.now() - per);
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment