I did a test and it seems the performance regression is only related
to meld. It happens also when syntax highlighting is disabled.
On the same 8000 lines file meld-3.13.1 takes less than 2s to display
the first difference, it tooks 14s with meld-3.16.3, on the same
computer.
Should I open a bug ?