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
57
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
59
Hidden Gems in Swift
jasdev
6
1.3k
Tranformations - Core Animation
jasdev
0
77
Swift 2.2 & 3.0 Changes
jasdev
1
640
Accessing Data
jasdev
0
62
Lessons in Building APIs
jasdev
0
89
UVA ACM Interview Tips
jasdev
0
86
Other Decks in Technology
See All in Technology
アプリをリリースできる状態に保ったまま 段階的にリファクタリングするための 戦略と戦術 / Strategies and tactics for incremental refactoring
yanzm
6
1.4k
AIで変わるテスト自動化:最新ツールの多様なアプローチ/ 20240910 Takahiro Kaneyama
shift_evolve
0
240
事前準備が肝!AI活用のための業務改革
layerx
PRO
1
380
JTCや セキュリティチェックリストが夢の跡
nikinusu
1
640
Technical Writing Meetup vol.35
soracom
PRO
2
120
突撃! 隣のAmazon Bedrockユーザー 〜YouはどうしてAWSで?〜
minorun365
PRO
3
390
Next.js のページ遷移を全力で止める
ypresto
7
3.3k
20240912 JJUGナイトセミナー
mii1004
0
140
社内の学びの場・コミュニティ形成とエンジニア同士のリレーションシップ構築/devreljapan2024
nishiuma
3
290
ロリポップ! for Gamersを支えるインフラ/lolipop for gamers infrastructure
takumakume
0
130
グイグイ系QAマネージャーの仕事
sadonosake
0
340
たった1人からはじめる【Agile Community of Practice】~ソース原理とFearless Changeを添えて~
ktc_corporate_it
1
480
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
363
22k
It's Worth the Effort
3n
182
27k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
36
2.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
30
2.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
26
5.1k
Done Done
chrislema
180
16k
Building a Modern Day E-commerce SEO Strategy
aleyda
36
6.8k
Scaling GitHub
holman
458
140k
Why Our Code Smells
bkeepers
PRO
334
56k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
663
120k
How to name files
jennybc
75
98k
Into the Great Unknown - MozCon
thekraken
29
1.4k
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 !