Why isn’t it enough to simply measure network performance? In this post, I will try to explain how UI response time is different than network performance.
Let's say you own a mobile application for hotel reservations. This is a highly competitive market, and you are trying to achieve the best user experience and make your application as fast as possible.
Processing Time
When a user enters their selection for hotel search, the application contacts the server and asks for the relevant search results. For efficiency, the server sends the results in a very efficient and compact format.
When the application receives the data, it has to process it.
First, it might need to decompress the data.
Secondly, the hotel’s list has to be sorted per user preferences. If hotel images are also displayed, the images must be opened and displayed. This processing takes time. And sometimes, it takes a lot of time.
The processing time also varies depending on the device. When the display is larger (as it is on tablets), your app needs to process more items because more items are visible. It also takes longer on weaker CPU devices. Each user experiences the performance differently, even if network time is the same.
Simply put, UI Response Time is the time elapsed from when the user clicks the hotel search button until the screen is loaded with the search results. No more, no less. This is the time you want to see in your monitoring tool.
Background Operations
Suppose your hotel search application has a great feature – once every ten minutes, it contacts a few external servers for price alerts. This is a background process – it will happen regardless of what the user is doing with the application.
Most importantly – these network operations don’t affect user experience at all! When you try to prioritize your work according to the monitoring results, it is very important to distinguish between these operations, and give them lower priority than operations that actually impact user experience.
Out-Of-Screen Content
Here’s another trick your developers are using to improve user experience: when a search request is sent, only part of the data is retrieved from the server. Usually it is just enough data to fully occupy the screen, and a little bit more (for scrolling).
But what about the rest of the data? In the old days of Web 1.0, a long list of results was divided into pages, with “next” and “previous” buttons to navigate between them. More modern applications are using a different approach – they will continue to fetch the rest of the search results in the background, allowing the user to interact with what they already see on the screen. This is probably one of the biggest benefits of Web 2.0.
Measuring the UI response times of such actions is very tricky. The reported time should be from the user’s perspective – meaning the report has to ignore network operations that don’t result directly in screen rendering. If the user selects one of the hotels for details, the results of those out-of-screen operations have no effect on the UI response time.
Look for a tool that will monitor your mobile application’s real user experience - and more specifically user-perceived UI response time.
Amichai Nitsan is a Senior Architect at HP Software.
The Latest
In 2024 the number one challenge facing IT teams is a lack of skilled workers, and many are turning to automation as an answer, according to IT Trends: 2024 Industry Report ...
Organizations are continuing to embrace multicloud environments and cloud-native architectures to enable rapid transformation and deliver secure innovation. However, despite the speed, scale, and agility enabled by these modern cloud ecosystems, organizations are struggling to manage the explosion of data they create, according to The state of observability 2024: Overcoming complexity through AI-driven analytics and automation strategies, a report from Dynatrace ...
Organizations recognize the value of observability, but only 10% of them are actually practicing full observability of their applications and infrastructure. This is among the key findings from the recently completed Logz.io 2024 Observability Pulse Survey and Report ...
Businesses must adopt a comprehensive Internet Performance Monitoring (IPM) strategy, says Enterprise Management Associates (EMA), a leading IT analyst research firm. This strategy is crucial to bridge the significant observability gap within today's complex IT infrastructures. The recommendation is particularly timely, given that 99% of enterprises are expanding their use of the Internet as a primary connectivity conduit while facing challenges due to the inefficiency of multiple, disjointed monitoring tools, according to Modern Enterprises Must Boost Observability with Internet Performance Monitoring, a new report from EMA and Catchpoint ...
Choosing the right approach is critical with cloud monitoring in hybrid environments. Otherwise, you may drive up costs with features you don’t need and risk diminishing the visibility of your on-premises IT ...
Consumers ranked the marketing strategies and missteps that most significantly impact brand trust, which 73% say is their biggest motivator to share first-party data, according to The Rules of the Marketing Game, a 2023 report from Pantheon ...
Digital experience monitoring is the practice of monitoring and analyzing the complete digital user journey of your applications, websites, APIs, and other digital services. It involves tracking the performance of your web application from the perspective of the end user, providing detailed insights on user experience, app performance, and customer satisfaction ...
Enterprises are experiencing a 13% year-over-year increase in customer-facing incidents, reflecting rising levels of complexity and risk as businesses drive operational transformation at scale, according to the 2024 State of Digital Operations study from PagerDuty ...
According to Grafana Labs' 2024 Observability Survey, it doesn't matter what industry a company is in or the number of employees they have, the truth is: the more mature their observability practices are, the more time and money they save. From AI to OpenTelemetry — here are four key takeaways from this year's report ...