# Your Compose Code, on More Screens and Less CPU

DevFeed: [Your Compose Code, on More Screens and Less CPU](<https://devfeed.tech/articles/your-compose-code-on-more-screens-and-less-cpu-109731.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/compose-on-more-screens/>)

Author: Shai Almog

Published: 2026-10-31T00:00:00Z

Content type: opinion

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [compose-multiplatform](<https://devfeed.tech/topics/compose-multiplatform.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [builds](<https://devfeed.tech/topics/builds.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [battery](<https://devfeed.tech/tags/battery.md>), [battery-life](<https://devfeed.tech/tags/battery-life.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [build](<https://devfeed.tech/tags/build.md>), [builds](<https://devfeed.tech/tags/builds.md>), [button](<https://devfeed.tech/tags/button.md>), [bytecode](<https://devfeed.tech/tags/bytecode.md>), [card](<https://devfeed.tech/tags/card.md>), [class](<https://devfeed.tech/tags/class.md>), [code](<https://devfeed.tech/tags/code.md>), [codename](<https://devfeed.tech/tags/codename.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [components](<https://devfeed.tech/tags/components.md>), [compose](<https://devfeed.tech/tags/compose.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [screen](<https://devfeed.tech/tags/screen.md>)

## AI overview

Codename One can build Kotlin Multiplatform Compose code from the same `commonMain` sources: Kotlin compiles to JVM bytecode with the Compose compiler plugin, uses upstream Compose runtime and coroutines, and maps the UI layer to Codename One components before ParparVM creates native binaries. In the Keynote app benchmark, all three release builds reached the same frame rate, while Compose on Codename One used about 4 ms of CPU per frame versus about 17 ms for Compose Multiplatform. The measurements used an iPhone 17 Pro simulator, programmatic scrolling, and five runs; startup comparisons are limited because the Compose Multiplatform marker precedes drawing and most startup time came from iOS. The article reports a 16.8 MB executable versus 22.9 MB for Compose Multiplatform, and says imperative Java on Codename One was faster and about half the size of its Compose version. Teams can mix Compose and Codename One components per screen. The port is incomplete: `LazyColumn(reverseLayout = true)` is unsupported, and its build targets JVM 11.

## Source excerpt

Kotlin Multiplatform code with Compose now builds as a Codename One app, with about a quarter of the CPU work per frame on our benchmark screen.