- Notifications
You must be signed in to change notification settings - Fork 54
Description
Hi there. I've been using this on a Drupal project where we need to highlight the differences between the rendered output of two nodes, and it works alright for most of our content, but a few seem to take far longer to generate, and sometimes hit the PHP max execution time limit (30 seconds on the remote server, 120 on the local dev).
I've tried to figure out exactly what might be causing such a big variation in diff times, without success:
-
Made sure that the strings provided for diffing were not triggering the use of PHP multi-byte string functions. (See Processing time is very long on large diffs #57 and Major decrease in speed after upgrading from v0.1.5 to v0.1.7 #77)
-
Disabled isolated list diffing.
-
Disabled almost all Drupal input filters, especially ones that added extra data and attributes to the output.
My last resort if this can't be resolved is likely to be to do the diffing asynchronously, but I'd prefer to avoid having to implement that if I can. Any advice?