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
63
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
72
Hidden Gems in Swift
jasdev
6
1.3k
Tranformations - Core Animation
jasdev
0
84
Swift 2.2 & 3.0 Changes
jasdev
1
680
Accessing Data
jasdev
0
70
Lessons in Building APIs
jasdev
0
96
UVA ACM Interview Tips
jasdev
0
94
Other Decks in Technology
See All in Technology
Claude Code Actionを使ったコード品質改善の取り組み
potix2
PRO
4
1.5k
VCpp Link and Library - C++ breaktime 2025 Summer
harukasao
0
220
JSX - 歴史を振り返り、⾯⽩がって、エモくなろう
pal4de
3
1.1k
Oracle Audit Vault and Database Firewall 20 概要
oracle4engineer
PRO
2
1.6k
登壇ネタの見つけ方 / How to find talk topics
pinkumohikan
3
270
知識を整理して未来を作る 〜SKDとAI協業への助走〜
yosh1995
0
140
Observability в PHP без боли. Олег Мифле, тимлид Altenar
lamodatech
0
270
~宇宙最速~2025年AWS Summit レポート
satodesu
1
1.2k
AIの最新技術&テーマをつまんで紹介&フリートークするシリーズ #1 量子機械学習の入門
tkhresk
0
120
BrainPadプログラミングコンテスト記念LT会2025_社内イベント&問題解説
brainpadpr
0
150
20250623 Findy Lunch LT Brown
3150
0
760
BigQuery Remote FunctionでLooker Studioをインタラクティブ化
cuebic9bic
2
220
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Navigating Team Friction
lara
187
15k
We Have a Design System, Now What?
morganepeng
52
7.6k
Statistics for Hackers
jakevdp
799
220k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
940
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
137
34k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
The Invisible Side of Design
smashingmag
299
51k
Adopting Sorbet at Scale
ufuk
77
9.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 !