Measuring Performance of AngularJS applications

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

Measuring Performance of AngularJS applications

Opbeat for AngularJS

Kenneth Auchenberg

December 11, 2015

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

56 slides
  1. Trace levels App framework Browser primitives App Template Caching Storage

    HTTP XHR/WebSocket MutationObservers LocalStorage Reflow Paint Rasterize Compose viewport engine
  2. What to instrument? AngularJS $resource $http $templateRequest $httpBackend $compile $module

    $service $controller $cacheFactory $templateCache $directives ngBind, ngClass, ngMode, ngIf, ngInclude, ngRepeat, ngSrc, ngStyle, ngSwitch, ngTransclude
  3. Bootstrap module.config $decorate $rootScope $viewContentLoaded Router Route controller $stateChangeSuccess $routeChangeStart

    Start transaction Instrument TraceBuffer ngOpbeat TransactionStore ngView $viewContentLoaded End transaction $routeChangeStart opbeatFunctionWrapper new Trace() Transport scheduler Processing Instrumentation flow

More Decks by Kenneth Auchenberg

Other Decks in Programming