Tagged articles
Instruments
11 articles · Page 1 of 1
This beginner‑level guide explains iOS virtual‑memory and heap fundamentals, demonstrates how autorelease‑pool buildup and retain‑cycle leaks cause out‑of‑memory crashes, and shows step‑by‑step use of Xcode’s Memory Graph, Instruments Allocations, and leak detection tools, plus tips on weak versus unowned references.
AutoreleasePoolInstrumentsLeaks
0 likes · 17 min read

This article explains how to use the macOS Instruments Time Profiler to perform CPU‑time profiling of Rust programs, demonstrates a sample π‑calculation benchmark, shows the required Cargo configuration, walks through recording and inspecting trace files, and applies the method to diagnose performance regressions in the Rspack project.
InstrumentsRspackmacOS
0 likes · 8 min read

This article explains how iOS app launch works, presents methods for measuring startup time using system calls and Xcode Instruments, shares a detailed case study of the Maimai app, and offers concrete pre‑main and post‑main optimization techniques—including binary reordering, dynamic‑library reduction, concurrency control, and unconventional tricks—to achieve sub‑second launch performance.
Binary ReorderingInstrumentsapp startup
0 likes · 25 min read

This guide explains how to improve iOS app performance by monitoring eight key metrics—battery, launch time, hang rate, memory, disk writes, scrolling, termination, and MXSignposts—using Xcode Organizer, MetricKit, Instruments, XCTest, and the App Store Connect API.
App OptimizationInstrumentsMetricKit
0 likes · 9 min read

This article explains essential iOS performance metrics, compares Xcode Instruments, third‑party SDKs, and custom instrumentation, and provides code examples for measuring startup time, memory, CPU, frame rate, network latency, UI blocking, and power consumption.
InstrumentsMetricsiOS
0 likes · 20 min read

This article provides a detailed tutorial on measuring and optimizing iOS app performance, covering startup and load times, memory and CPU usage, smoothness metrics, and practical code snippets using Apple Instruments and other tools to obtain reliable data across devices.
CPUInstrumentsLoad Time
0 likes · 11 min read

This article provides a detailed, step‑by‑step guide for iOS developers on measuring and optimizing app performance across CPU usage, GPU‑related stutter, network conditions, and energy consumption using built‑in Instruments, Activity Monitor, Network Link Conditioner, and Charles.
CPUEnergyGPU
0 likes · 11 min read

This article explains iOS memory performance testing by covering static analysis via Xcode's Analyze feature and dynamic analysis tools such as Leaks, Activity Monitor, Allocations, and Zombies, illustrating how to detect memory leaks, unreasonable memory usage, and EXC_BAD_ACCESS errors with practical examples and step‑by‑step guidance.
Dynamic AnalysisInstrumentsiOS
0 likes · 7 min read

This article explains how to assess and improve iOS app performance by using Xcode's Instruments tool to measure resource consumption, startup time, and other metrics, and provides practical steps, UI commands, and configuration tips for accurate time profiling and code‑level optimization.
InstrumentsStartup timeiOS
0 likes · 8 min read

This article explains practical methods for measuring iOS app performance—including startup time, page load, memory, CPU and smoothness—by instrumenting code, using Apple Instruments tools, analyzing webview loading, and employing runtime techniques such as dynamic library hooking and script‑driven profiling.
CPUInstrumentsiOS
0 likes · 10 min read

This guide details the required Mac hardware, essential software tools, Xcode and Instruments usage, and step‑by‑step procedures for performing iOS automation testing, including UIAutomation scripting and common terminal commands for developers.
AutomationTestingInstrumentsMobileDevelopment
0 likes · 8 min read
