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
73
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
83
Hidden Gems in Swift
jasdev
6
1.4k
Tranformations - Core Animation
jasdev
0
96
Swift 2.2 & 3.0 Changes
jasdev
1
700
Accessing Data
jasdev
0
81
Lessons in Building APIs
jasdev
0
110
UVA ACM Interview Tips
jasdev
0
100
Other Decks in Technology
See All in Technology
2026-02-25 Tokyo dbt meetup プロダクトと融合したCI/CD で実現する、堅牢なデータパイプラインの作り方
y_ken
0
150
LINEヤフーにおけるAI駆動開発組織のプロデュース施策
lycorptech_jp
PRO
0
170
器用貧乏が強みになるまで ~「なんでもやる」が導いたエンジニアとしての現在地~
kakehashi
PRO
5
600
Digitization部 紹介資料
sansan33
PRO
1
6.9k
社内ワークショップで終わらせない 業務改善AIエージェント開発
lycorptech_jp
PRO
1
380
Microsoft Fabric のワークスペースと容量の設計原則
ryomaru0825
2
190
Introduction to Bill One Development Engineer
sansan33
PRO
0
370
primeNumber DATA MANAGEMENT CAMP #2:
masatoshi0205
1
600
Getting started with Google Antigravity
meteatamel
1
390
クラウド時代における一時権限取得
krrrr38
0
110
Master Dataグループ紹介資料
sansan33
PRO
1
4.4k
インシデント対応入門
grimoh
7
5.3k
Featured
See All Featured
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.3k
Paper Plane
katiecoart
PRO
0
47k
4 Signs Your Business is Dying
shpigford
187
22k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
200
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
82
Visualization
eitanlees
150
17k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
110
Marketing to machines
jonoalderson
1
5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Designing for humans not robots
tammielis
254
26k
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 !