Menu

Performance

qwesp
2008-02-27
2012-11-13
  • qwesp

    qwesp - 2008-02-27

    I like notepad++ and I'll be using it because of many plugins and advatages over other editors but, I dont understand, why has it so poor performance in text highlighting. I thought that the reason simply is th scintilla component. But the I searched little bit for an editor based on scintilla too. And I found 'Programmer's notepad'. I tried it's performance and it is ok. So what am I talking about is, simply moving the cursor over the text from left to right or through the rows from up to down. Could anyone explain this ? Anyone using notepad++ on a similar machine ?

    My machine spec:
    AMD Athlon 2000+
    512MB RAM
    Win XP

     
    • Alexander Iljin

      Alexander Iljin - 2008-02-27

      I can't see any performance issues (except while Finction List or Explorer update themselves).
      Try removing the plugins one by one to pinpoint the problem source.

       
      • qwesp

        qwesp - 2008-06-18

        Hello, i've noticed the performance hit by function list. I disabled it. To 'pinpoint' my first problem. I mentioned  "simply moving the cursor over the text from left to right or through the rows from up to down.". The actual performance hit is, when the cursor moves over this chars: { } ( ). This chars are highlighted when moved over them.  It seems that the performance of redrawing the scintilla component is lower than for example in already mentioned 'Programmers notepad'. The slow performance is also visible when Page-ing-Up or PageDown. If anybody with my specs , or at least with cpu clock 2000 Mhz could try this.
        The second issue is, with bigger files, or maybe just longer lines, the performance is also poor. But this might be the scintilla's problem.

         
        • Don HO

          Don HO - 2008-06-19

          I suppose you're talking about v5 Beta?
          If yes, may I send you an enhanced version to test?

          BTW, what's your FunctionList version?

          Don

           
          • qwesp

            qwesp - 2008-06-19

              Hi Don, thanx for great editor! :).
             
              I am talking about v4.9.2, but because this issue was not discussed very much, i think it will remain the same in v5 (Beta). YES, you might send me an enhanced version (even if its v5). My FunctioList version is 1.2, but as i said, i can see the 'lag' even when FunctionList turned off, and even when not writing (i suppose that FunctionList does nothing when not typing in). I am just moving cursor around braces.
              Today, i have taken a look at this problem again,...and realized that this problem is not as markable, when the document is not large enough (speaking about 2000 lines,...or maybe 1000 is enough - depend on machine). If the document doesnt overlap edges of the view area, the lag is unnoticeable. As an unexperienced C++/winAPI programmer i guess it must be something with the area the component or windows tries to redraw.

             
    • aratj

      aratj - 2008-06-19

      yes, yes..

      if disbled fuction list then performance its up.

      what about of using timer, if key pressed ?

      sorry for my engleash ))