Sign in

Tomáš Mlynarič

@mlykotom.dev
95 followers 175 following 14 posts

DevRel @Google. Working on KMP, previously Jetpack Compose Performance.

PostsRepliesMedia
Reposted by Tomáš Mlynarič
Google for Developers @developers.google.com · 08/07/2026
The next era of Android Bench! 🧵
Large white text reads "Android Bench" in the upper-left corner of a dark background. Below the text, four slanted, overlapping rectangles in varying shades of green rise diagonally from the bottom, accented by small green four-pointed star icons. The graphic represents a title card or logo for an Android benchmarking project.
1122
Reposted by Tomáš Mlynarič
Marcello Galhardo @marcellogalhardo.dev · 01/11/2025
Just published "NavigationEvent Info". marcellogalhardo.dev/posts/naviga... #AndroidDev #Kotlin #KMP #CMP
marcellogalhardo.dev
NavigationEvent Info
NavigationEvent is a Kotlin Multiplatform library for handling system gestures - back and forward - on all platforms. It works on Android, iOS and Desktop with Web support coming next. Android used to...
0217
Tomáš Mlynarič @mlykotom.dev · 31/10/2025
🆕Yesterday we published updates on #KMP on d.android.com/kmp! We finally have the Jetpack libraries that are compatible with KMP .. and CMP! Want to get into KMP? We have a course goo.gle/kmp-course. Pros can check their skills in the quiz at the end 😁.
d.android.com
Kotlin Multiplatform  |  Android Developers
0194
Tomáš Mlynarič @mlykotom.dev · 22/09/2025
We've got several banners on developer.android.com pointing to the Jetpack library integration pages for #Kotlin Multiplatform (goo.gle/kmp). Can you find them all? 👀 🕵🏻
020
Tomáš Mlynarič @mlykotom.dev · 22/09/2025
It's available from Android 14 (SDK 34). You need to enable AIDL calls if you want to get it purely with Perfetto. Macrobenchmark enables it automatically.
100
Tomáš Mlynarič @mlykotom.dev · 19/09/2025
This effectively removes the runtime cost of running the JVM verification, which happens only for debuggable apps. The results were promising, but overshadowed by interpreter improvements on Android 15. Release apps are always completely verified during app install.
010
Tomáš Mlynarič @mlykotom.dev · 19/09/2025
One of the things we tried improving for debug builds (not for measuring performance though) was to allow skipping JVM verification that was taking significant time at runtime on debuggable apps. This can be enabled in Studio Canaries - "Skip bytecode verification for debuggable apps..".
110
Tomáš Mlynarič @mlykotom.dev · 19/09/2025
Yeah, I wasn't very happy about this advice, but back then there was no other choice. Thankfully that's changed for some time. You can get information about the binder transaction from the binder reply. It' automatically enabled in stable Macrobenchmark versions.
131
Tomáš Mlynarič @mlykotom.dev · 19/09/2025
Thanks for the comments! (omg, I'm ashamed it took me 2 weeks to reply)
010
Tomáš Mlynarič @mlykotom.dev · 08/08/2025
Documentation 📃 for Room KMP just got upgraded. It finally contains all the information on how to set it up, how to migrate from Android-only and even what features are (unfortunately) not available in KMP. Give it a go! 🟢 d.android.com/kotlin/multi...
developer.android.com
Room (Kotlin Multiplatform)  |  Android Developers
081
Tomáš Mlynarič @mlykotom.dev · 27/05/2025
I see! For some reason I thought that you're mocking the responses from within the app to prevent any network latency. I did that in the past for testing purposes. We had a bunch of JSON responses in the assets that were returned by intercepting requests.
100
Tomáš Mlynarič @mlykotom.dev · 26/05/2025
That means that you're shipping the mock server with the actual app? (I don't know whether R8 is smart enough to remove it from the app, maybe it is)
100
Tomáš Mlynarič @mlykotom.dev · 24/05/2025
How do you mock it? Do you have a custom interceptor in the benchmark buildType sourceSet?
200
Reposted by Tomáš Mlynarič
Ben Trengrove @bentrengrove.dev · 23/05/2025
There are a lot of amazing KMP talks coming out right now but here is our talk from I/O! Dustin and I give an update on our latest KMP releases and then explain the build setup for an Android KMP app. youtu.be/gP5Y-ct6QXI?...
youtu.be
Demystify KMP builds and structure
YouTube video by Android Developers
0299
Tomáš Mlynarič @mlykotom.dev · 23/05/2025
If you're new to #KMP we have 2 new codelabs: 1️⃣ Get started - goo.gle/kmp-get-started-codelab 2️⃣ Migrate Room - goo.gle/kmp-migrate-room-codelab Try it out, let us know what you miss! 🤖🍏 Thanks to everyone that attended the code-along at #KotlinConf 😊
goo.gle
Get Started With Kotlin Multiplatform  |  Android Developers
Learn how to get started with Kotlin Multiplatform from two separate Android and iOS projects. In this codelab you will learn how to add a Kotlin Multiplatform (KMP) module to share code between Andro...
0207
Tomáš Mlynarič @mlykotom.dev · 14/05/2025
You weren't supposed to notice it for a week! 😄
030
Tomáš Mlynarič @mlykotom.dev · 18/12/2024
My laptop just said it needs a system update. I hope it'll be forced during the stream 😅
000