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
62
Hidden Gems in Swift
jasdev
6
1.3k
Tranformations - Core Animation
jasdev
0
78
Swift 2.2 & 3.0 Changes
jasdev
1
640
Accessing Data
jasdev
0
64
Lessons in Building APIs
jasdev
0
91
UVA ACM Interview Tips
jasdev
0
89
Other Decks in Technology
See All in Technology
複雑なState管理からの脱却
sansantech
PRO
1
140
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
940
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
Evangelismo técnico: ¿qué, cómo y por qué?
trishagee
0
360
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
190
OCI Network Firewall 概要
oracle4engineer
PRO
0
4.1k
Why does continuous profiling matter to developers? #appdevelopercon
salaboy
0
190
Python(PYNQ)がテーマのAMD主催のFPGAコンテストに参加してきた
iotengineer22
0
470
これまでの計測・開発・デプロイ方法全部見せます! / Findy ISUCON 2024-11-14
tohutohu
3
370
適材適所の技術選定 〜GraphQL・REST API・tRPC〜 / Optimal Technology Selection
kakehashi
1
170
DMARC 対応の話 - MIXI CTO オフィスアワー #04
bbqallstars
1
160
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
0
110
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Building Adaptive Systems
keathley
38
2.3k
RailsConf 2023
tenderlove
29
900
Raft: Consensus for Rubyists
vanstee
136
6.6k
A Philosophy of Restraint
colly
203
16k
How to Ace a Technical Interview
jacobian
276
23k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
GitHub's CSS Performance
jonrohan
1030
460k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
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 !