Following @saqimtiaz’s advice (found here) I tried rewriting a single $list that generated hundreds of $buttons and converted them <span> elements – another to <a> elements. I was quite astonished at the difference. I’m talking about the kind of delay that causes a “Hmm – that’s slow” being entirely eradicated.