The 44-Minute CI Job (and the One Query Behind It) — Recall Blog
kept by elaramirez
An unindexed CTE made a fuzzy-search query balloon CI benchmark time from ~9 minutes to 44 minutes; switching to a temp table cut it to ~1 second.