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
50
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
58
Hidden Gems in Swift
jasdev
6
1.3k
Tranformations - Core Animation
jasdev
0
71
Swift 2.2 & 3.0 Changes
jasdev
1
640
Accessing Data
jasdev
0
59
Lessons in Building APIs
jasdev
0
84
UVA ACM Interview Tips
jasdev
0
75
Other Decks in Technology
See All in Technology
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
900
EMとして2023年度に頑張ったこと / What we did well in FY2023 as a EM
pauli
1
200
Handling focus in 2024
tahia910
0
200
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
690
LLM開発・活用の舞台裏@2024.04.25
yushin_n
3
1.1k
今年のRubyKaigiはProfiler Year🤘
osyoyu
0
310
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
6
1.1k
Python と Snowflake はズッ友だょ!~ Snowflake の Python 関連機能をふりかえる ~
__allllllllez__
2
140
「スニダン」開発組織の構造に込めた意図 ~組織作りはパッションや政治ではない!~
rinchsan
4
610
IPUT App Dev. Co. -Overview 2024/4
iputapp
0
120
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
20分で完全に理解するGrafanaダッシュボード
hamadakoji
5
870
Featured
See All Featured
What the flash - Photography Introduction
edds
64
11k
Building Effective Engineering Teams - LeadDev
addyosmani
31
1.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
33
6k
Scaling GitHub
holman
457
140k
The Power of CSS Pseudo Elements
geoffreycrofte
61
5k
The Invisible Customer
myddelton
114
12k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
18k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
222
21k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
26
2.3k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
Visualization
eitanlees
137
14k
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 !