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
63
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
72
Hidden Gems in Swift
jasdev
6
1.3k
Tranformations - Core Animation
jasdev
0
84
Swift 2.2 & 3.0 Changes
jasdev
1
680
Accessing Data
jasdev
0
70
Lessons in Building APIs
jasdev
0
96
UVA ACM Interview Tips
jasdev
0
94
Other Decks in Technology
See All in Technology
ObsidianをMCP連携させてみる
ttnyt8701
2
140
Prox Industries株式会社 会社紹介資料
proxindustries
0
200
LinkX_GitHubを基点にした_AI時代のプロジェクトマネジメント.pdf
iotcomjpadmin
0
160
知識を整理して未来を作る 〜SKDとAI協業への助走〜
yosh1995
0
140
実践! AIエージェント導入記
1mono2prod
0
140
新卒3年目の後悔〜機械学習モデルジョブの運用を頑張った話〜
kameitomohiro
0
390
Model Mondays S2E02: Model Context Protocol
nitya
0
190
Amplifyとゼロからはじめた AIコーディング 成果と展望
mkdev10
1
360
Observability infrastructure behind the trillion-messages scale Kafka platform
lycorptech_jp
PRO
0
130
Agentic Workflowという選択肢を考える
tkikuchi1002
1
380
2025/6/21 日本学術会議公開シンポジウム発表資料
keisuke198619
2
470
CIでのgolangci-lintの実行を約90%削減した話
kazukihayase
0
340
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Designing for humans not robots
tammielis
253
25k
Faster Mobile Websites
deanohume
307
31k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
We Have a Design System, Now What?
morganepeng
52
7.6k
Scaling GitHub
holman
459
140k
Stop Working from a Prison Cell
hatefulcrawdad
270
20k
Documentation Writing (for coders)
carmenintech
71
4.9k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
Fireside Chat
paigeccino
37
3.5k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
124
52k
Done Done
chrislema
184
16k
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 !