Performance issue with 'show spaces' and long lines #9

Open
opened 2014-07-13 06:12:06 -05:00 by dgrunwald · 0 comments
dgrunwald commented 2014-07-13 06:12:06 -05:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-icsharpcode/AvalonEdit#9
No description provided.