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
59
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
64
Hidden Gems in Swift
jasdev
6
1.3k
Tranformations - Core Animation
jasdev
0
80
Swift 2.2 & 3.0 Changes
jasdev
1
660
Accessing Data
jasdev
0
66
Lessons in Building APIs
jasdev
0
92
UVA ACM Interview Tips
jasdev
0
91
Other Decks in Technology
See All in Technology
フォーイット_エンジニア向け会社紹介資料_Forit_Company_Profile.pdf
forit_tech
1
1.7k
AWSではじめる Web APIテスト実践ガイド / A practical guide to testing Web APIs on AWS
yokawasa
8
800
「頑張る」を「楽しむ」に変換する技術
tomoyakitaura
1
120
20250309 無冠のわたし これからどう先生きのこれる?
akiko_pusu
6
350
2025/3/1 公共交通オープンデータデイ2025
morohoshi
0
110
マルチアカウント環境における組織ポリシーについて まとめてみる
nrinetcom
PRO
2
110
IAMのマニアックな話2025
nrinetcom
PRO
6
1.5k
困難を「一般解」で解く
fujiwara3
8
2.4k
Introduction to OpenSearch Project - Search Engineering Tech Talk 2025 Winter
tkykenmt
2
230
人生を左右する「即答」のススメ: 一瞬の判断を間違えないためにするべきこと
takasyou
2
130
サバイバルモード下でのエンジニアリングマネジメント
konifar
23
7.6k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership, regardless of position
madoxten
25
15k
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Being A Developer After 40
akosma
89
590k
Embracing the Ebb and Flow
colly
84
4.6k
Adopting Sorbet at Scale
ufuk
75
9.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
440
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
A Tale of Four Properties
chriscoyier
158
23k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Fireside Chat
paigeccino
35
3.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Become a Pro
speakerdeck
PRO
26
5.2k
Git: the NoSQL Database
bkeepers
PRO
428
65k
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 !