Tagged articles
11 articles
Page 1 of 1
Sohu Tech Products
Sohu Tech Products
Nov 27, 2024 · Mobile Development

Beginner's Guide to iOS Memory Analysis: Virtual Memory, Heap, Autoreleasepool, and Leaks

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
Beginner's Guide to iOS Memory Analysis: Virtual Memory, Heap, Autoreleasepool, and Leaks
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 29, 2024 · Operations

Profiling Rust Applications with macOS Instruments Time Profiler

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.

InstrumentsProfilingRspack
0 likes · 8 min read
Profiling Rust Applications with macOS Instruments Time Profiler
Sohu Tech Products
Sohu Tech Products
Aug 11, 2021 · Mobile Development

iOS App Startup Optimization: Process, Measurement, and Practical Solutions

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 ReorderingInstrumentsMobile Development
0 likes · 25 min read
iOS App Startup Optimization: Process, Measurement, and Practical Solutions
Baidu Intelligent Testing
Baidu Intelligent Testing
Nov 16, 2016 · Mobile Development

iOS Memory Performance Testing: Static and Dynamic Analysis Tools

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
iOS Memory Performance Testing: Static and Dynamic Analysis Tools