Home / Companies / Sentry / Blog / Post Details
Content Deep Dive

Building a Performant iOS Profiler

Blog post from Sentry

Post Details
Company
Date Published
Author
Indragie Karunaratne
Word Count
1,555
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

The development of a performant iOS profiler requires careful consideration of performance overhead, sampling frequency, thread suspension methods, and data collection techniques. A sampling profiler collects data by periodically capturing call stacks on each thread and interpolating function durations between samples. The choice of sampling frequency, thread suspension method, and data collection technique can significantly impact the profiler's performance and accuracy. By leveraging Apple's Darwin kernel APIs for managing threads and reducing code execution while a thread is suspended, the Sentry iOS profiler achieves low overhead and high-quality profiling data from real user devices in production.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.