Tag

stack sampling

0 views collected around this technical thread.

DeWu Technology
DeWu Technology
Nov 23, 2021 · Mobile Development

iOS Lag Monitoring and Performance Optimization Using Runloop Detection and Flame Graphs

The article describes an iOS lag‑monitoring system that uses RunLoop state checks to detect main‑thread stalls, captures and caches stack traces, employs a Fibonacci‑based annealing algorithm to limit overhead, symbolises addresses on a server, and visualises results with flame graphs while maintaining low CPU and memory impact.

Flame GraphLag MonitoringRunLoop
0 likes · 13 min read
iOS Lag Monitoring and Performance Optimization Using Runloop Detection and Flame Graphs