@marcinmoskala.bsky.social
🚀 Want to dive deeper into performance and Kotlin best practices?
Join me for the upcoming open workshop – Kotlin Mastery, October 23–24, where we’ll explore performance optimization and much more!
Join me for the upcoming open workshop – Kotlin Mastery, October 23–24, where we’ll explore performance optimization and much more!
September 18, 2025 at 8:01 AM
🚀 Want to dive deeper into performance and Kotlin best practices?
Join me for the upcoming open workshop – Kotlin Mastery, October 23–24, where we’ll explore performance optimization and much more!
Join me for the upcoming open workshop – Kotlin Mastery, October 23–24, where we’ll explore performance optimization and much more!
On Android the modern standard for testing is Macrobenchmark and Microbenchmark frameworks. They can measure startup times, performance of all kinds of UI operations, and much more.
September 18, 2025 at 8:01 AM
On Android the modern standard for testing is Macrobenchmark and Microbenchmark frameworks. They can measure startup times, performance of all kinds of UI operations, and much more.
In backend, we often choose something in-between, like when we connect to a real application, but some of its repositories are faked. That is often simpler to setup.
September 18, 2025 at 8:01 AM
In backend, we often choose something in-between, like when we connect to a real application, but some of its repositories are faked. That is often simpler to setup.
The problem is that such a test is harder to profile, harder to setup, and gives less predictable outcomes, but it better shows us how our application behaves under certain stress.
September 18, 2025 at 8:01 AM
The problem is that such a test is harder to profile, harder to setup, and gives less predictable outcomes, but it better shows us how our application behaves under certain stress.
On the other hand, you can write a local E2E performance test. On backend it means starting application locally, local database, and local fake services it uses. Such a test measures much more, including database use, serialization/deserialization, etc.
September 18, 2025 at 8:01 AM
On the other hand, you can write a local E2E performance test. On backend it means starting application locally, local database, and local fake services it uses. Such a test measures much more, including database use, serialization/deserialization, etc.
During execution we can profile execution time and memory use to know what to optimise. For more precise measurements, we can use a framework like JMH, but that limits our profiling capabilities.
September 18, 2025 at 8:01 AM
During execution we can profile execution time and memory use to know what to optimise. For more precise measurements, we can use a framework like JMH, but that limits our profiling capabilities.
Let’s start with the simplest approach: Testing an element in separation. A class often needs some fake dependencies, and we fill them with fake data, to simulate a specific scenarios.
September 18, 2025 at 8:01 AM
Let’s start with the simplest approach: Testing an element in separation. A class often needs some fake dependencies, and we fill them with fake data, to simulate a specific scenarios.
🤔
And what about memory usage when you run millions of concurrent tasks? 🤔
If any of these questions keep you up at night, join my upcoming webinar—I’ll walk you through the answers.
webinar.kt.academy/kotlin-corou...
And what about memory usage when you run millions of concurrent tasks? 🤔
If any of these questions keep you up at night, join my upcoming webinar—I’ll walk you through the answers.
webinar.kt.academy/kotlin-corou...
August 25, 2025 at 3:02 PM
🤔
And what about memory usage when you run millions of concurrent tasks? 🤔
If any of these questions keep you up at night, join my upcoming webinar—I’ll walk you through the answers.
webinar.kt.academy/kotlin-corou...
And what about memory usage when you run millions of concurrent tasks? 🤔
If any of these questions keep you up at night, join my upcoming webinar—I’ll walk you through the answers.
webinar.kt.academy/kotlin-corou...
Want to see how Loom really compares against Kotlin Coroutines?
On Sept 1, I’ll be live comparing them side-by-side — strengths, weaknesses, and when to use each.
Two time slots, free to join.
Reserve your seat → webinar.kt.academy/kotlin-corou...
On Sept 1, I’ll be live comparing them side-by-side — strengths, weaknesses, and when to use each.
Two time slots, free to join.
Reserve your seat → webinar.kt.academy/kotlin-corou...
August 22, 2025 at 4:02 PM
Want to see how Loom really compares against Kotlin Coroutines?
On Sept 1, I’ll be live comparing them side-by-side — strengths, weaknesses, and when to use each.
Two time slots, free to join.
Reserve your seat → webinar.kt.academy/kotlin-corou...
On Sept 1, I’ll be live comparing them side-by-side — strengths, weaknesses, and when to use each.
Two time slots, free to join.
Reserve your seat → webinar.kt.academy/kotlin-corou...
🥵 Are your frustred by mistakes like these? That’s just one of many subtle pitfalls we tackle in Coroutines Mastery.
If you want to master Kotlin’s concurrency tools — and avoid the mistakes that slow teams down — join our course.
coroutinesmastery.com?utm_source=l...
If you want to master Kotlin’s concurrency tools — and avoid the mistakes that slow teams down — join our course.
coroutinesmastery.com?utm_source=l...
August 21, 2025 at 4:05 PM
🥵 Are your frustred by mistakes like these? That’s just one of many subtle pitfalls we tackle in Coroutines Mastery.
If you want to master Kotlin’s concurrency tools — and avoid the mistakes that slow teams down — join our course.
coroutinesmastery.com?utm_source=l...
If you want to master Kotlin’s concurrency tools — and avoid the mistakes that slow teams down — join our course.
coroutinesmastery.com?utm_source=l...
Starting from square one? Come hang out at my live session “Why You Should Use Kotlin Coroutines.” this Thursday. We’ll unpack why they’re worth the learning and how to do it painless. 👇
webinar.kt.academy/why-you-shou...
#KotlinCoroutines #KotlinFlow #SoftwareEngineering #DeveloperTips
webinar.kt.academy/why-you-shou...
#KotlinCoroutines #KotlinFlow #SoftwareEngineering #DeveloperTips
August 12, 2025 at 8:01 AM
Starting from square one? Come hang out at my live session “Why You Should Use Kotlin Coroutines.” this Thursday. We’ll unpack why they’re worth the learning and how to do it painless. 👇
webinar.kt.academy/why-you-shou...
#KotlinCoroutines #KotlinFlow #SoftwareEngineering #DeveloperTips
webinar.kt.academy/why-you-shou...
#KotlinCoroutines #KotlinFlow #SoftwareEngineering #DeveloperTips