Thanks for the kind words @rsdenijs1 BTW I guess some of these things come down to platform differences. FWIW I finally ran the original code on OSX/Safari and it seemed very snappy on my laptop.
Edit: @rsdenijs1 I guess it’s also worth asking what version you are using? Some older versions had very bad layout performance. I was running with the latest 2.3