Open DevTools (F12) → Sources/Debugger panel → click Run report, then:
BREAK HERE
items
totals
Run report Slow loop (time it)