Performance issue with 'show spaces' and long lines
SD-1916, originally created on 10/16/2012 18:10:03 by Daniel Grunwald
-
Enable the "Show spaces" and "Show tabs" options
-
Create a new text file inside SharpDevelop
-
Copy this gist: https://gist.github.com/3899997 into the editor
-
Use operations like Ctrl+A or rectangular selection
Both step 3 and the operations in step 4 feel quite slow. With "Show tabs" and "Show spaces" disabled, it feels significantly faster.
This seems to be related to EnableEmailHyperlinks/EnableHyperlinks; turning these two features off increases performance noticably (though it's still slower than without "Show spaces").
Comment from Daniel Grunwald on 10/16/2012 18:14:46: AvalonEdit.Benchmark results from my notebook, "ModifyLongLine" with longLineLength=500, default window dimensions. With show spaces: 4 FPS With show spaces but without EnableEmailHyperlinks/EnableHyperlinks: 11 FPS Without show spaces: 20 FPS Disabling EnableEmailHyperlinks/EnableHyperlinks has no effect without show spaces.