I've heard that compose in release mode enables a ...
# compose
d
I've heard that compose in release mode enables a lot of optimizations and feels more snappy. I wonder what does "release mode" mean here? I have a "custom" build type which has "debuggable = true; minifyEnabled = true", so I guess R8 does run. But app still feels not very snappy on older devices (especially around
LazyColumn
). Will setting
debuggable = false
improve things? Or maybe something else?
👌 3
c
I'm also interested if Romain can chime in here or something. I almost want to be able to test my code in "release" mode, but still be in debug mode. I guess just writing that out, it sounds laughable and conflicting, but yeah. I'm hoping compose 1.0 brings some kind of blog post about how to test this sort of stuff.
r
debuggable has an impact (which is why the benchmarking libraries warn you when it’s on). There are other things to take into account too (interpreted vs JIT vs AOT).