---
title: "How a Kotlin compiler plugin cut Android time to first render by 30%"
url: https://daily.dev/posts/how-a-kotlin-compiler-plugin-cut-android-time-to-first-render-by-30--r7zdhzviv
source_url: https://expo.dev/blog/how-a-kotlin-compiler-plugin-cut-android-time-to-first-render
type: article
source: "Expo Blog"
published: 2026-06-10T14:01:56.195Z
updated: 2026-06-11T07:49:29.324Z
tags: ["performance", "android", "kotlin"]
reading_time: 10
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How a Kotlin compiler plugin cut Android time to first render by 30%

**[Expo Blog](https://daily.dev/sources/expo-blog)** · 10 min read · 0 upvotes · 0 comments

## Summary

Expo SDK 56 introduces a Kotlin compiler plugin that eliminates runtime reflection from Expo Modules on Android. The plugin intercepts calls to type resolution functions and Record property lookups at compile time, replacing them with pre-computed descriptors and direct field accessors. Results on a module-heavy test app show 70% faster module initialization, 30% reduction in time to first render, and 6x faster Record conversions. App developers get the gains automatically; module maintainers can opt into the Record speedup with a single @OptimizedRecord annotation. The post explains why code generation approaches (kapt, KSP) were rejected in favor of the K2 compiler IR API, which allows surgical in-place transformations rather than generating parallel code files.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://expo.dev/blog/how-a-kotlin-compiler-plugin-cut-android-time-to-first-render>

## Similar posts on daily.dev

- [Enabling Kotlin Incremental Compilation on Buck2](https://daily.dev/posts/enabling-kotlin-incremental-compilation-on-buck2-qrfsyzmpn) · Facebook Engineering
 · 0 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#android](https://daily.dev/tags/android), [#kotlin](https://daily.dev/tags/kotlin)

[View this post on daily.dev](https://daily.dev/posts/how-a-kotlin-compiler-plugin-cut-android-time-to-first-render-by-30--r7zdhzviv)
