Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Profiling
Search
Jasdev Singh
February 21, 2016
Technology
0
69
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
80
Hidden Gems in Swift
jasdev
6
1.4k
Tranformations - Core Animation
jasdev
0
91
Swift 2.2 & 3.0 Changes
jasdev
1
690
Accessing Data
jasdev
0
74
Lessons in Building APIs
jasdev
0
110
UVA ACM Interview Tips
jasdev
0
98
Other Decks in Technology
See All in Technology
エンジニアリングをやめたくないので問い続ける
estie
2
1k
乗りこなせAI駆動開発の波
eltociear
1
1.1k
Kubernetes Multi-tenancy: Principles and Practices for Large Scale Internal Platforms
hhiroshell
0
120
Ruby で作る大規模イベントネットワーク構築・運用支援システム TTDB
taketo1113
1
240
グレートファイアウォールを自宅に建てよう
ctes091x
0
140
OCI Oracle Database Services新機能アップデート(2025/09-2025/11)
oracle4engineer
PRO
0
100
AWS re:Invent 2025で見たGrafana最新機能の紹介
hamadakoji
0
290
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
MLflowで始めるプロンプト管理、評価、最適化
databricksjapan
1
130
AI活用によるPRレビュー改善の歩み ― 社内全体に広がる学びと実践
lycorptech_jp
PRO
1
200
Overture Maps Foundationの3年を振り返る
moritoru
0
170
打 造 A I 驅 動 的 G i t H u b ⾃ 動 化 ⼯ 作 流 程
appleboy
0
270
Featured
See All Featured
A better future with KSS
kneath
240
18k
Music & Morning Musume
bryan
46
7k
KATA
mclloyd
PRO
32
15k
4 Signs Your Business is Dying
shpigford
186
22k
Building an army of robots
kneath
306
46k
Mobile First: as difficult as doing things right
swwweet
225
10k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Documentation Writing (for coders)
carmenintech
76
5.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
BBQ
matthewcrist
89
9.9k
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 !