AvalonEdit icon indicating copy to clipboard operation
AvalonEdit copied to clipboard

Performance issue with 'show spaces' and long lines

Open dgrunwald opened this issue 11 years ago • 0 comments

SD-1916, originally created on 10/16/2012 18:10:03 by Daniel Grunwald

  1. Enable the "Show spaces" and "Show tabs" options

  2. Create a new text file inside SharpDevelop

  3. Copy this gist: https://gist.github.com/3899997 into the editor

  4. 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.

dgrunwald avatar Jul 13 '14 11:07 dgrunwald