~/talk

Effective Browser JavaScript Debugging

Talkat Dutch PHP Conference 2017 · 2017-06-29..07-01· [javascript, web-performance]
links:none on file
slides:none on file

Chrome DevTools are used as a live IDE: source maps map minified bundles back to original ES2015 files so breakpoints, watch expressions and stepping hit real code; the Performance/Timeline and flame charts highlight blocking JavaScript and show CPU throttling. Replacing per-iteration DOM appends with a document fragment cuts a 390ms blocking append to ~57ms for 1,000 items. Deferring work with setTimeout reduces blocking, while requestAnimationFrame yields smooth 60 FPS by batching renders at the browser’s paint cadence; XHR breakpoints and workspace file mapping let you edit and hot-test fixes.

AI-written summary · about

  1. 0:00Intro
  2. 1:09About Vance Lucas
  3. 3:11Browser is your IDE
  4. 6:55Element Inspector
  5. 9:02Source Window
  6. 12:25Time Line Graph
  7. 13:56Memory Profile
  8. 14:26Demo
  9. 15:07Blocking JavaScript
  10. 15:36Whats Blocking
  11. 17:25Transpiling
  12. 18:22Source Maps
  13. 22:28watch expression
  14. 24:25performance measurement
  15. 25:45penloop example
  16. 26:39flame graph
  17. 29:43parse HTML
  18. 30:58vanilla JS
  19. 32:06layoutcalculation
  20. 32:43CPU throttling
  21. 33:39Set timeout
  22. 36:00Call graph
  23. 38:07Appending DOM nodes
~/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.