~/talk

Redex, Your Build, And You

Talkat droidcon San Francisco 2017 · 2017-11-05..11-06· [android]
links:none on file

Redex is a Dalvik (.dex) optimizer that runs after DX on APKs, works alongside Proguard, and Facebook measures roughly a 25% reduction in cold-start time and APK size. It compacts ARSC resource tables, deduplicates dimensions/colors, and inlines some resource values (an example saving about 100 kilobytes from a repeated 12dp). Class reordering via the interdex pass (using an HPROF-derived classes.ext) collapses a low-end cold start from 22s → 2s. Gradle integration uses Tim Mutton’s plugin and the redex debug/release tasks.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 2:04What is Redex and why use it
  3. 5:13How Redex works with DEX files
  4. 10:09Whole program optimizations
  5. 17:11DEX file layout and performance impact
  6. 25:40Real-world performance gains
  7. 26:01How to integrate Redex in Gradle
  8. 30:12Using the interdex pass for ordering
  9. 31:00Conclusion and Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.