Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Android Studio 3.0 profilerハンズオン
zaki50
October 09, 2017
Technology
2
520
Android Studio 3.0 profilerハンズオン
zaki50
October 09, 2017
Tweet
Share
More Decks by zaki50
See All by zaki50
I/O Extended 2018 @Tokyo Android1
zaki50
3
1.2k
簡単高速なDIライブラリToothpick
zaki50
1
170
Realm Japan meetup #23_Java
zaki50
0
440
Realm Japan meetup #22_Java
zaki50
1
320
Realm World Tour Osaka Recent Java Updates
zaki50
0
300
Realm World Tour - ErrorProne in Realm Java
zaki50
2
300
Realm World Tour Tokyo Recent Java Updates
zaki50
3
520
Realm World Tour - ErrorProne in Realm Java
zaki50
2
440
オフラインファーストなアプリケーション開発
zaki50
1
2.2k
Other Decks in Technology
See All in Technology
なぜ変化を起こすのが難しいのか? - 数年以上にわたって難しさに向き合い・考え取り組んできたこと / The reason why changing organization is so hard - What I thought and faced for more than several years
iwashi86
26
17k
Startup Studio Sereal / Culture Deck
sereal
0
590
EMになって最初の失敗談 - コミュニケーション編 -
fukuiretu
1
320
データサイエンティストとしてどう学んでいくべきか/東京大学講義: データマイニング概論: #10
yp_genzitsu
10
5.9k
Observability & APM 入門 〜2023年のIT運用/監視の流行語はこれだ!
tkhresk
0
260
Lyssa Adkins : Agilists Superpower and Challenge
kawaguti
PRO
1
170
Technologies for developing editors / Webエディタ開発を支える技術
shuta13
1
220
デスマーチから身を守るたったひとつの方法
kwappa
1
2.7k
PHPのimmutable arrayとは
hnw
1
130
OCI DevOps 概要 / OCI DevOps overview
oracle4engineer
PRO
0
470
NGINXENG JP#2 - 3-NGINX Plus・プロダクトのアップデート
hiropo20
0
110
マネーフォワードクラウドを支える事業者基盤
machisuke
0
180
Featured
See All Featured
Statistics for Hackers
jakevdp
784
210k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
15
1.2k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
13
1.1k
Designing the Hi-DPI Web
ddemaree
273
32k
The Web Native Designer (August 2011)
paulrobertlloyd
76
2.2k
Creatively Recalculating Your Daily Design Routine
revolveconf
207
11k
Writing Fast Ruby
sferik
613
58k
Building Flexible Design Systems
yeseniaperezcruz
314
35k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
109
16k
Product Roadmaps are Hard
iamctodd
38
7.7k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
349
27k
Why You Should Never Use an ORM
jnunemaker
PRO
49
7.9k
Transcript
AS 3.0 Profiler ϋϯζΦϯ DevFest Tokyo 2017 YAMAZAKI Makoto (@zaki50)
ϋϯζΦϯͷ༰ • CPUϓϩϑΝΠϦϯά • ϝϞϦʔϓϩϑΝΠϦϯά • ωοτϫʔΫϓϩϑΝΠϦϯά AS 3.0Ͱಋೖ͞ΕͨAndroid ProfilerͷػೳΛ࣮ࡍʹͬͯΈ·͢
Clone and import to AS http://bit.ly/devfest_profiling
• ্هϓϩδΣΫτΛϒϥβͰ։͖git clone • Android StudioʹΠϯϙʔτ • ΤϛϡϨʔλʔ࣮͘͠ػͰ࣮ߦ http://bit.ly/devfest_profiling
ΤϛϡϨʔλʔͷ߹ Play Storeͳ͠ Oreoਪ
Clone and import to AS http://bit.ly/devfest_profiling
CPUৄࡉ Clone and import to AS http://bit.ly/devfest_profiling
Memoryৄࡉ Clone and import to AS http://bit.ly/devfest_profiling
Networkৄࡉ Clone and import to AS http://bit.ly/devfest_profiling
ΠϯϙʔτͰ͖·͔ͨ͠ʁ Clone and import to AS http://bit.ly/devfest_profiling
ΞϓϦͷઆ໌
Advanced Profiling༗ޮԽ OreoͰෆཁ
SystraceʹΑΔνΣοΫ
Systraceͷ͍ํ $ python systrace.py --time=5 -o trace.html sched gfx view
wm $ python systrace.py --set-tags=gfx,view,wm $ adb shell stop $ adb shell start $ python systrace.py --cpu-freq --cpu-load --time=5 -o trace.html Android 4.3Ҏ߱ Android 4.2Ҏલ <android-sdk>/platform-tools/systrace ʹଘࡏ͢ΔίϚϯυϥΠϯπʔϧ ཁPython ࢀߟ: https://developer.android.com/studio/profile/systrace.html
https://developer.android.com/studio/preview/ features/android-profiler.html https://developer.android.com/studio/profile/ systrace.html Analyzing UI Performance with Systrace Android
Profiler in Android Studio 3.0