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
61
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
69
Hidden Gems in Swift
jasdev
6
1.3k
Tranformations - Core Animation
jasdev
0
82
Swift 2.2 & 3.0 Changes
jasdev
1
670
Accessing Data
jasdev
0
68
Lessons in Building APIs
jasdev
0
95
UVA ACM Interview Tips
jasdev
0
93
Other Decks in Technology
See All in Technology
LangChainとLangGiraphによるRAG・AIエージェント実践入門「10章 要件定義書生成Alエージェントの開発」輪読会スライド
takaakiinada
0
120
GitHub MCP Serverを使って Pull Requestを作る、レビューする
hiyokose
2
700
DuckDB MCPサーバーを使ってAWSコストを分析させてみた / AWS cost analysis with DuckDB MCP server
masahirokawahara
0
410
「家族アルバム みてね」を支えるS3ライフサイクル戦略
fanglang
4
650
クォータ監視、AWS Organizations環境でも楽勝です✌️
iwamot
PRO
1
230
はじめてのSDET / My first challenge as a SDET
bun913
1
190
NLP2025 参加報告会 / NLP2025
sansan_randd
4
500
似たような課題が何度も蘇ってくるゾンビふりかえりを撲滅するため、ふりかえりのテーマをフォーカスしてもらった話 / focusing on the theme
naitosatoshi
0
370
CBになったのでEKSのこともっと知ってもらいたい!
daitak
1
150
アセスメントで紐解く、10Xのデータマネジメントの軌跡
10xinc
1
330
.mdc駆動ナレッジマネジメント/.mdc-driven knowledge management
yodakeisuke
24
10k
JPOUG Tech Talk #12 UNDO Tablespace Reintroduction
nori_shinoda
1
110
Featured
See All Featured
Become a Pro
speakerdeck
PRO
27
5.3k
Embracing the Ebb and Flow
colly
85
4.6k
BBQ
matthewcrist
88
9.6k
Docker and Python
trallard
44
3.3k
Java REST API Framework Comparison - PWX 2021
mraible
30
8.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.1k
A better future with KSS
kneath
239
17k
Building Flexible Design Systems
yeseniaperezcruz
329
38k
Testing 201, or: Great Expectations
jmmastey
42
7.4k
The Cost Of JavaScript in 2023
addyosmani
49
7.7k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
104
19k
The World Runs on Bad Software
bkeepers
PRO
67
11k
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 !