Skip to content

Instantly share code, notes, and snippets.

@jeremypele
Created August 6, 2015 13:05
Show Gist options
  • Save jeremypele/4cb23df234c7d673fc86 to your computer and use it in GitHub Desktop.
Save jeremypele/4cb23df234c7d673fc86 to your computer and use it in GitHub Desktop.
[Chrome Snippets] Ng-Digest-Performance
console.log("___Digest Time")
angular.element(document).injector().invoke(function($rootScope) { var a = performance.now(); $rootScope.$apply(); console.log(performance.now()-a); })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment