~/talk

Fail Fast and Profile On: Towards a miniKanren Profiler

Talkat miniKanren 2022 · on Thursday, 2022-09-15· [testing]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Prototype miniKanren profiler instruments states to count encounters, successes, and failures per program point, and collects failed-state samples. Using those stats it recommends fail-fast reordering of conjuncts; one stalled query finishes in 37 ms after swapping a high-failure recursive call, and a selection‑sort run finds 5 of 6 permutations within 1,000 steps until a length check is added to eliminate long spurious candidates and recover all six.

AI-written summary · about

  1. 0:00miniKanren profiler intro
  2. 1:04Project overview and motivation
  3. 3:05Running examples with profiler
  4. 4:12Debugging non-terminating queries
  5. 6:32Program point metrics analysis
  6. 8:00Statistics tracking implementation
  7. 10:44Debugging membero with paths
  8. 14:43Rejected states in selection sort
  9. 17:00Sampling failed states
  10. 19:18Future work and limitations
  11. 20:01Q&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.