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
58
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
78
Swift 2.2 & 3.0 Changes
jasdev
1
650
Accessing Data
jasdev
0
64
Lessons in Building APIs
jasdev
0
92
UVA ACM Interview Tips
jasdev
0
89
Other Decks in Technology
See All in Technology
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
490
pg_bigmをRustで実装する(第50回PostgreSQLアンカンファレンス@オンライン 発表資料)
shinyakato_
0
100
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
Qiita埋め込み用スライド
naoki_0531
0
5.2k
日本版とグローバル版のモバイルアプリ統合の開発の裏側と今後の展望
miichan
1
130
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
230
WACATE2024冬セッション資料(ユーザビリティ)
scarletplover
0
210
社外コミュニティで学び社内に活かす共に学ぶプロジェクトの実践/backlogworld2024
nishiuma
0
270
Google Cloud で始める Cloud Run 〜AWSとの比較と実例デモで解説〜
risatube
PRO
0
110
Storage Browser for Amazon S3
miu_crescent
1
250
PHP ユーザのための OpenTelemetry 入門 / phpcon2024-opentelemetry
shin1x1
3
940
非機能品質を作り込むための実践アーキテクチャ
knih
5
1.5k
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
Gamification - CAS2011
davidbonilla
80
5.1k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
Speed Design
sergeychernyshev
25
670
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
KATA
mclloyd
29
14k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
A Philosophy of Restraint
colly
203
16k
Into the Great Unknown - MozCon
thekraken
33
1.5k
Unsuck your backbone
ammeep
669
57k
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 !