Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Profiling
Search
Jasdev Singh
February 21, 2016
Technology
78
0
Share
Profiling
Chapter review from objc.io's Core Data book at Tumblr's iOS Book Club
Jasdev Singh
February 21, 2016
More Decks by Jasdev Singh
See All by Jasdev Singh
Tuning for Speed
jasdev
0
91
Hidden Gems in Swift
jasdev
6
1.4k
Tranformations - Core Animation
jasdev
0
110
Swift 2.2 & 3.0 Changes
jasdev
1
720
Accessing Data
jasdev
0
100
Lessons in Building APIs
jasdev
0
120
UVA ACM Interview Tips
jasdev
0
110
Other Decks in Technology
See All in Technology
TROCCOで始めるクラウドコストを民主化するためのFinOps
tk3fftk
3
560
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
330
Datadog 認定試験の概要と対策
uechishingo
0
230
生成 AI × MCP で切り拓く次世代 SRE!自律型運用への挑戦と開発者体験の進化
_awache
0
120
「気づいたら仕事が終わっている」バクラクAIエージェント本番運用の裏側 / layerx-bakuraku-aie2026
yuya4
18
9.1k
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
710
美味しいスイスチーズを作ろう🧀🐭
taigamikami
1
230
電子辞書Brainをネットに繋げてみた(自力編)
raspython3
0
430
Platform engineering for developers, architects & the rest of us (AI agents)
danielbryantuk
0
180
Platform Engineering as a Product: Criteria for Improvement and Multi-Tenant Design
kumorn5s
0
490
AI活用を推進するために ファインディが下した、一つの小さな決断
starfish719
0
230
「速く作る」から「正しく作る」へ ─ 生成AI時代の開発フロー改革の ロードマップと実行 ─
starfish719
0
6.1k
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.1k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
320
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
300
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
400
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
520
30 Presentation Tips
portentint
PRO
1
310
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
160
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Side Projects
sachag
455
43k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
130
Transcript
13 - Profiling Core Data iOS Book Club Jasdev Singh
SQL Debug Output The easiest way to gain insight into
what SQL is doing under the hood of Core Data is to enable debug output by adding -com.apple.CoreData.SQLDebug 1 as a launch argument in the Xcode Scheme Editor.
SQL Pro Tip Once you extract underlying queries from SQL,
you can use SQL's EXPLAIN command to get a further breakdown on the execution plan for it.
Core Data Instruments Predefined templates include the Fetches, Saves, Faults,
and Cache Misses instruments
Threading Guard Add the launch argument, - com.apple.CoreData.ConcurrencyDebug 1 to
have Core Data throw an exception whenever a managed object or managed object context are accessed from the wrong queue.
Summary 4 Launch flags to help investigate issues 4 Pair
SQL output with EXPLAIN 4 Core Data instruments are !