~/talk

JS performance in mobile web and hybrid apps… because science!

Talkat JSConf.Asia 2015 · 2015-11-19..11-20· [web-performance, javascript]
slides:none on file

Measured Cordova apps run inside a webview and pay real costs: Android Cordova shows much larger memory footprint and much slower startup (slow‑motion frames used to quantify launches). Webview bridge latency scales linearly but stays tiny for common payloads; a 5MB crossing is still ~300ms. DOM notes: layout thrashing causes ~4s vs 56ms by interleaving reads/writes; simpler DOMs and virtualization cuts memory from ~350MB to <100MB and makes scrolling fluid. Chrome DevTools, Nexus 9, heap snapshots and simple Cordova plugins produce these concrete, actionable numbers.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10What is Cordova
  3. 2:47Performance
  4. 4:55Methodology
  5. 6:26Differences
  6. 7:12WebView Tax
  7. 7:40Memory Footprint
  8. 8:26Browser
  9. 8:37Cordova
  10. 9:31Memory
  11. 10:26iOS
  12. 13:06Data transfer time
  13. 15:10Simple vs complex DOM
  14. 18:56thrashing
  15. 21:18infinite scroll
  16. 23:48memory consumption
  17. 24:44CSS gradients
  18. 25:17Performance vs maintainability
  19. 27:37Garbage collector
  20. 28:09Garbage collector in action
  21. 30:17Single event handler
  22. 31:54Single event handler demo
  23. 35:24Switch statement demo
  24. 35:46Heap snapshot
  25. 39:10Destroy all unused objects
  26. 39:25Outro
~/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.