Single page applications are a problem for RUM tools, because there is no easy way to tell when a new page component has been requested asynchronously as a result of an intentional user action.
Many network requests are back-end service calls initiated periodically by the app, for example: a ping to check if content has been updated or to check if the current user should still be signed in to their account.
Even with requests that are initiated by a user action, not all may fit into the definition of a “page view.” For example, a user typing into a search box that has auto-complete capabilities will often result in network requests, but these requests result in very small amounts of data transfer, happen very frequently, and do not count towards page-views.
The scene is further complicated by SPA frameworks like Angular, Backbone, and others.
In this talk, we will learn some of the tricks used by boomerang to measure the performance of single page applications, going as far as capturing errors and waterfall information across browsers.
Nic Jansma is a software developer building high-performance websites, apps, and open source tools at SOASTA, where he works on mPulse and boomerang. He is also a Microsoft MVP for IE.
©2015, O’Reilly UK Ltd • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • firstname.lastname@example.org