Menu

#2453 jEdit 4.3Pre2 Performance Issue with Soft Word-Wrap

closed-wont-fix
nobody
None
5
2011-11-12
2005-09-01
Ken Turner
No

The following is a performance issue rather than a bug.
But as I find it a bit of a nuisance, I'll report it here.

I recently switched from jEdit 4.1Final to 4.3Pre2. I
noticed it was quite sluggish. Things like saving files
and splitting the view are noticeably slow. After a lot
of experimentation I discovered the cause.

If I have word wrap (buffer.wrap property) set to soft,
it's very slow. If I have this set to none, it behaves
normally. I see the same behaviour if I use -nosettings
and -noplugins, so I believe it's a core issue.

As jEdit 4.1 doesn't exhibit this issue, it's something
that's changed in 4.2 or 4.3.

In case it's relevant, my text font is Lucida Sans
Typewriter 12, my OS is Windows XP, my JVM is 1.5.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I can confirm this: for examples, moving the slider that
    vertically separates two buffers causes a delay of about 1
    sec in 4.3pre2.

     
  • Robert Schwenn

    Robert Schwenn - 2007-02-11

    Logged In: YES
    user_id=1486645
    Originator: NO

    I'd say, it happens only, if soft wrap enabled AND wrap margin is set to 0.

    jEdit 4.3pre9
    java 1.5.0_11
    WinXP SP2

     
  • Robert Schwenn

    Robert Schwenn - 2008-03-02

    Logged In: YES
    user_id=1486645
    Originator: NO

    For me, nothing has changed:
    If soft wrap is enabled AND wrap margin is set to 0, jedit slows down (depending on the file size).

    jEdit 4.3pre12
    java 1.6.0_03
    WinXP SP2

     
  • Alan Ezust

    Alan Ezust - 2009-02-24

    Soft wrap to margin 0 is one of the last things Slava did before he quit jEdit development. just fyi.
    It is also the feature missing from 4.2 that was present in 4.3pre2 that made me want to keep using jEdit.
    If it performed faster, that would certainly be a good thing. I imagine it's not easy to get it right and also fast though.

     
  • Alan Ezust

    Alan Ezust - 2009-02-24
    • priority: 5 --> 6
     
  • Joseph Hill

    Joseph Hill - 2009-02-24

    I reported a similar bug here https://sourceforge.net/tracker/?func=detail&atid=100588&aid=2625436&group_id=588

    In my case, this only occurred when I upgraded to 4.2pre16, which for me is simply unusable. 4.2pre15 and previous versions work just fine for me, so I'm compelled to stick with 4.2pre15 for the moment.

    4.2pre16 is painfully slow (I mean it takes 4 or 5 seconds for words to appear) when I'm typing on a very long line (20 or more wrapped lines), whereas it's only slightly delayed when typing on shorter lines. If I turn off soft-wrap, the delay almost goes away but not completely. It doesn't matter what I set the wrap margin to.

     
  • Alan Ezust

    Alan Ezust - 2011-11-12

    closed. won't fix.

     
  • Alan Ezust

    Alan Ezust - 2011-11-12
    • priority: 6 --> 5
    • status: open --> closed-wont-fix
     

Log in to post a comment.