Comprehensive Guide to Mobile App Performance Testing and the ETest Tool

This article outlines mobile performance testing methods—including startup time, page response time, basic metrics, Monkey testing, and image‑recognition techniques—reviews third‑party tools, and introduces the in‑house ETest solution with its features and future development plans.

Qunar Tech Salon
Qunar Tech Salon
Qunar Tech Salon
Comprehensive Guide to Mobile App Performance Testing and the ETest Tool

1. Performance testing scope covers startup time (first‑install, cold, hot launches), page response time (time from user tap to full page render), basic metrics (CPU, memory, network, API size, battery, temperature), Monkey testing for stability, and comparative testing between versions or competing apps.

2. Page response time testing methods

• High‑speed camera : record the UI at high frame rates and count frames to estimate latency, though it is inefficient and subjective.

• Log instrumentation : insert two logs in successive Activities and compute the timestamp difference; accuracy depends on correct log placement and requires a maintenance model.

• Embedded SDK : integrate a monitoring SDK into the app to automatically collect activity response times, offering the highest efficiency.

• Image‑recognition approach : use tools like STF and Sikuli to capture screen images and detect when a target UI element appears, allowing script‑based timing without deep code changes.

3. Basic metric collection techniques include Android shell commands (top, dumpsys), Android SDK APIs (ActivityManager.getProcessMemoryInfo, TrafficStats), IDE plugins, and third‑party tools such as GT, WeTest, Emmagee, and EasyTest.

4. Principles of third‑party testing tools are illustrated by Emmagee’s source code, showing data collection via shell commands and SDK interfaces.

5. The ETest performance testing tool built on Emmagee adds:

• Precise activity response time measurement, a feature lacking in many commercial tools.

• Real‑time data rendering for immediate insight, eliminating CSV export delays.

• Deep log utilization to correlate performance spikes with debug logs.

• Historical data analysis for averaging, max‑value calculations, and cross‑run comparisons.

Images illustrating ETest’s UI and analysis charts are included in the original source.

6. Future plans involve integrating Monkey with automated test suites, adding iOS support, exposing SDK and REST API for easy integration, and open‑sourcing the tool.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

AndroidAutomationMetricsPerformance Testingmobile appETestpage response time
Qunar Tech Salon
Written by

Qunar Tech Salon

Qunar Tech Salon is a learning and exchange platform for Qunar engineers and industry peers. We share cutting-edge technology trends and topics, providing a free platform for mid-to-senior technical professionals to exchange and learn.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.