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
69
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
80
Hidden Gems in Swift
jasdev
6
1.4k
Tranformations - Core Animation
jasdev
0
91
Swift 2.2 & 3.0 Changes
jasdev
1
690
Accessing Data
jasdev
0
74
Lessons in Building APIs
jasdev
0
110
UVA ACM Interview Tips
jasdev
0
98
Other Decks in Technology
See All in Technology
セマンティックHTMLによる アクセシビリティ品質向上の基礎
zozotech
PRO
0
110
AI エージェントを評価するための温故知新と Spec Driven Evaluation
icoxfog417
PRO
0
170
国産クラウドを支える設計とチームの変遷 “技術・組織・ミッション”
kazeburo
3
850
Progressive Deliveryで支える!スケールする衛星コンステレーションの地上システム運用 / Ground Station Operation for Scalable Satellite Constellation by Progressive Delivery
iselegant
1
190
Proxmox × HCP Terraformで始めるお家プライベートクラウド
lamaglama39
1
210
仕様駆動 x Codex で 超効率開発
ismk
2
1.5k
[CV勉強会@関東 ICCV2025 読み会] World4Drive: End-to-End Autonomous Driving via Intention-aware Physical Latent World Model (Zheng+, ICCV 2025)
abemii
0
230
Amazon ECS デプロイツール ecspresso の開発を支える「正しい抽象化」の探求 / YAPC::Fukuoka 2025
fujiwara3
13
3.8k
Error.prototype.stack の今と未来
progfay
1
180
『HOWはWHY WHATで判断せよ』 〜『ドメイン駆動設計をはじめよう』の読了報告と、本質への探求〜
panda728
PRO
5
2.1k
ABEJA FIRST GUIDE for Software Engineers
abeja
0
3.2k
マルチドライブアーキテクチャ: 複数の駆動力でプロダクトを前進させる
knih
0
1.5k
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
BBQ
matthewcrist
89
9.9k
Site-Speed That Sticks
csswizardry
13
960
Code Reviewing Like a Champion
maltzj
527
40k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
11
930
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
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 !