~/talk

Finding Broken Promises in Asynchronous JavaScript Programs

Talkat OOPSLA 2018 · 2018-11-07..11-09· [javascript]
links:none on file
slides:none on file

PromiseKeeper instruments Node.js programs to build extended promise graphs that model ES6 features (default reactions, exceptions, race/all) via dynamic traces and flags common anti-patterns. Applied to 12 projects (≈115K LOC) it constructs ~2,700 function nodes and ~1,500 value nodes and records ~4,100 unsettled promises, 209 rejections and ~4,300 fulfillments. The tool finds real bugs — e.g., seven unhandled rejections in node-fetch — and reports visualized graphs with acceptable runtime overhead.

AI-written summary · about

  1. 0:00Start
  2. 0:47Finding Broken Promises in Asynchronous Javascript
  3. 2:57Create a Promise Object
  4. 7:45Promise Graphs
  5. 14:37Anti Patterns
~/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.