~/talk

10 secrets to improve Javascript Performance

Talkat JS Fest 2019 Autumn · 2019-11-08..11-09· [javascript, web-performance]
slides:none on file

Concrete wins and tools not platitudes: concrete code swaps like replacing sequential awaits with Promise.all halves wall time or turning three map/filter/reduce passes into one loop yield up to 10× speedups; swapping a package raises throughput from ~200 to ~2000 concurrent requests; adding a MongoDB index cuts queries from seconds to milliseconds. Observability and load tools are used — 0x, autocannon, Clinic.js — plus caching, PM2, streams over fs.readFile, and optional native C++ modules; each example includes what changed and how much it helped.

AI-written summary · about

  1. 0:00Introduction to performance
  2. 1:33Node.js lifecycle concepts
  3. 3:36Asynchronous operations
  4. 6:58Optimizing collection methods
  5. 10:45Caching strategies
  6. 13:37Process management with PM2
  7. 15:53HTTP/3 and network efficiency
  8. 17:52Database and boundary tuning
  9. 21:21API design considerations
  10. 24:33Performance monitoring tools
  11. 29:05Observability and logging
  12. 30:57Leveraging streams in Node.js
  13. 34:32Native modules and C++
  14. 37:16Conclusion 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.