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
82
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
93
Hidden Gems in Swift
jasdev
6
1.4k
Tranformations - Core Animation
jasdev
0
110
Swift 2.2 & 3.0 Changes
jasdev
1
720
Accessing Data
jasdev
0
100
Lessons in Building APIs
jasdev
0
130
UVA ACM Interview Tips
jasdev
0
120
Other Decks in Technology
See All in Technology
[2026-07-15] AI Ready なはずだったアーキテクチャと、見えてきた課題・次に目指す状態
wxyzzz
9
4k
CIで使うClaude
iwatatomoya
0
290
関数型の考えを TypeScript に持ち込んで、テストしやすい純粋関数を増やす / Pure at the Core, Effects at the Edge: Bringing Functional Thinking into TypeScript
kaminashi
2
130
kaonavi Tech Night#1
kaonavi
0
110
発表と総括 / Presentations and Summary
ks91
PRO
0
140
2年前に削除したPHPクラスが、 ある日突然決済をエラーにした
ykagano
1
370
「守りたい体験」を渡すだけで E2E を生成させられるようになった話
hinac0
1
600
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
450
SoccerMaster: A Vision Foundation Model for Soccer Understanding
kzykmyzw
0
150
オブザーバビリティ、本当に活用できてる? 〜API連携×生成AIで成熟度を自動評価〜
dmmsre
1
3.6k
人を動かすのは時間ではなく、納得感 〜新任EMが入社3ヶ月、組織を2回変えた話〜
kakehashi
PRO
3
270
ZOZOTOWNの進化と信頼性を両立する負荷試験
zozotech
PRO
2
250
Featured
See All Featured
The browser strikes back
jonoalderson
0
1.4k
Color Theory Basics | Prateek | Gurzu
gurzu
0
390
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Between Models and Reality
mayunak
4
370
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
220
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
460
Design in an AI World
tapps
1
260
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
For a Future-Friendly Web
brad_frost
183
10k
Building the Perfect Custom Keyboard
takai
2
810
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 !