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
77
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
89
Hidden Gems in Swift
jasdev
6
1.4k
Tranformations - Core Animation
jasdev
0
100
Swift 2.2 & 3.0 Changes
jasdev
1
710
Accessing Data
jasdev
0
92
Lessons in Building APIs
jasdev
0
120
UVA ACM Interview Tips
jasdev
0
110
Other Decks in Technology
See All in Technology
はじめての MagicPod生成AI機能 機能紹介から活用方法まで
magicpod
0
100
Good Enough Types: Heuristic Type Inference for Ruby
riseshia
1
240
クラウドネイティブな開発 ~ 認知負荷に立ち向かうためのコンテナ活用
literalice
0
140
コードや知識を組み込む / Incorporate Code and Knowledge
ks91
PRO
0
160
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
320
AIはハッカーを減らすのか、増やすのか?──現役ホワイトハッカーから見るAI時代のリアル【MEGU-Meet】
cscengineer
0
170
M5Stack CoreS3とZephyr(RTOS)で Edge AIっぽいことしてみた
iotengineer22
0
250
MLOps導入のための組織作りの第一歩
akasan
0
340
エージェントスキルを作って自分のインプットに役立てよう
tsubakimoto_s
0
380
小説執筆のハーネスエンジニアリング
yoshitetsu
0
710
EarthCopilotに学ぶマルチエージェントオーケストレーション
nakasho
0
300
20260423_執筆の工夫と裏側 技術書の企画から刊行まで / From the planning to the publication of technical book
nash_efp
3
410
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Done Done
chrislema
186
16k
Side Projects
sachag
455
43k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
480
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
130
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Building AI with AI
inesmontani
PRO
1
910
Become a Pro
speakerdeck
PRO
31
5.9k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
Technical Leadership for Architectural Decision Making
baasie
3
330
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 !