How to analyze and improve performance of your Jetpack Compose app

preview_player
Показать описание
Help your Jetpack Compose app run smoothly by reading system traces with Perfetto to find slow parts of your UI and recognize sub-compositions, recompositions, heavy compositions, and more. We'll also share how to discover and fix common lag causes using tools, not rules, to fix, and validate issues with benchmarks.

Speakers: Tomáš Mlynarič, Ben Trengrove

Watch more:

#GoogleIO #Featured #JetpackCompose #AndroidDevelopers

Products Mentioned: Android Jetpack Compose
Event: Google I/O 2024
Рекомендации по теме
Комментарии
Автор

00:08 Performance analysis and improvement process using a scientific approach
02:22 Add a baseline profile to improve performance
06:57 Using benchmarks to measure app performance
09:16 Measure runtime performance using system traces
14:09 Identify and investigate red frames for performance improvements.
16:31 Loading network images off the main thread and optimizing image placeholders
20:29 Optimizing performance using coroutines and composition local
22:36 Using composition locals for managing dynamic values in Jetpack Compose app
27:08 Running benchmarks and avoiding unnecessary recompositions
28:56 Improve performance by deferring state reads in Jetpack Compose app
32:57 Improving performance by deferring read operations and implementing custom layout
35:07 Avoid unnecessary recompositions for improved performance
39:00 Enable strong skipping mode for improved performance
41:09 Improve stability of Jetpack Compose app
45:13 Improve Jetpack Compose app performance
=

mr.mohameddahir
Автор

Thank you for great example on how we can use trace, microbenchmark and Perfetto to find sluggish parts. Great jobs!

anhtuannd
Автор

I wish more videos on I/O were so helpful as this video

romanpavliuk
Автор

What an information dense video. Thanks for making it!

GakisStylianos
Автор

great workshop ⭐ we need more ones like these on other topics.

abdonasr
Автор

Thanks for the presentation, u save my time to investigation

evgenysamarin
Автор

I love Android development, it challenge me to learn every day new stuffs

oscarescam
Автор

wont' the box scope be the nearest scope for the recomposition? Am I missing something?

kushiskinng
Автор

interesting that pguys used they macbook for android development and stickered apple icon on it :)

ps I am android dev with macbook too, waiting for similiar fast and silent device to use

suleimenovsultan
Автор

Ok, where do I get that sticker of a duck with Android hat - asking important questions here

ScanaRch
Автор

You are seriously requiring developers to upload a trace file to a website to check for performance?? My gosh, the Android team is really out of touch.

SnoopyDoofie