Problem/Motivation
Pages with a very large DOM may experience extremely poor performance.
Steps to reproduce
Load a diff on a page with 4000+ DOM elements. Observe the diff takes upwards of 30 seconds to crunch through.
Proposed resolution
Rearchitect the VisualInlineHtmlDiffLayout to not extend VisualInlineDiffLayout, but rather DiffLayoutBase instead. This should let half of the processing time be dropped.
API changes
No longer extending VisualInlineDiffLayout, but rather DiffLayoutBase.
Issue fork diff_plus-3336278
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
luke.leber