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
0
66
Profiling
Chapter review from objc.io's Core Data book at Tumblr's iOS Book Club
Jasdev Singh
February 21, 2016
Tweet
Share
More Decks by Jasdev Singh
See All by Jasdev Singh
Tuning for Speed
jasdev
0
78
Hidden Gems in Swift
jasdev
6
1.4k
Tranformations - Core Animation
jasdev
0
88
Swift 2.2 & 3.0 Changes
jasdev
1
680
Accessing Data
jasdev
0
71
Lessons in Building APIs
jasdev
0
100
UVA ACM Interview Tips
jasdev
0
95
Other Decks in Technology
See All in Technology
Autify Company Deck
autifyhq
2
44k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
18k
20250718_ITSurf_“Bet AI”を支える文化とコストマネジメント
helosshi
0
100
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
サイバーエージェントグループのSRE10年の歩みとAI時代の生存戦略
shotatsuge
4
1k
「現場で活躍するAIエージェント」を実現するチームと開発プロセス
tkikuchi1002
3
380
ソフトウェアテストのAI活用_ver1.25
fumisuke
1
610
公開初日に Gemini CLI を試した話や FFmpeg と組み合わせてみた話など / Gemini CLI 初学者勉強会(#AI道場)
you
PRO
0
1.3k
[SRE NEXT 2025] すみずみまで暖かく照らすあなたの太陽でありたい
carnappopper
2
470
CDK Vibe Coding Fes
tomoki10
1
630
Digitization部 紹介資料
sansan33
PRO
1
4.5k
Amazon SNSサブスクリプションの誤解除を防ぐ
y_sakata
3
190
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
51
8.6k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Statistics for Hackers
jakevdp
799
220k
Making Projects Easy
brettharned
116
6.3k
Building Applications with DynamoDB
mza
95
6.5k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
The Cult of Friendly URLs
andyhume
79
6.5k
Optimizing for Happiness
mojombo
379
70k
Building Adaptive Systems
keathley
43
2.7k
For a Future-Friendly Web
brad_frost
179
9.8k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
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 !