Community
    • Login

    Starting performance - time for start notepad++ are increasing more and more

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 4 Posters 996 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ChrisC
      Chris
      last edited by

      Hello together,

      I’m feel more and more that the time of start the application are increasing.

      I have a powerful notebook with AMD Ryzen7Pro (8 Cores) and 32GB RAM, an 1TB SSD.
      I’m using Windows 10. Maybe that points are not the reason.

      I have 24 plugins installed and not so much open files (maybe 10).
      Maybe the later loading of some plugins, that are not required to load within the application start, could bring back the very faster starting performance from the past versions of Notepad++.

      Do only I feel that the starting performance will be go more and more bad or do have also other people the same feeling?

      Nice greetings
      Chris

      Alan KilbornA Mark OlsonM mkupperM 4 Replies Last reply Reply Quote 1
      • Alan KilbornA
        Alan Kilborn @Chris
        last edited by

        @Chris said in Starting performance - time for start notepad++ are increasing more and more:

        I’m feel more and more that the time of start the application are increasing.

        First things first…

        I’m surprised that you state something like this without giving an example of the time. Is it 1 second, 5 seconds, 10 seconds, what??

        1 Reply Last reply Reply Quote 2
        • Mark OlsonM
          Mark Olson @Chris
          last edited by

          @Chris said in Starting performance - time for start notepad++ are increasing more and more:

          I have 24 plugins installed

          Assuming none of your open files are too big, this is probably the culprit. I would further speculate that maybe 10-20% of your plugins are causing most of the slowdown in startup.

          Consider pruning your plugins. For example, if you have JsonTools and JsonViewer and JsTool all installed, get rid of whichever ones you like least, since those are redundant.

          The other most likely candidate is a moderately large file (not necessarily huge, even 1-2 MB might do it) with a very expensive lexer, like JSON.

          1 Reply Last reply Reply Quote 2
          • mkupperM
            mkupper @Chris
            last edited by

            @Chris, for me, the first time Notepad++ after booting Windows takes about two seconds to start on a low end desktop with a standard hard drive. If it’s in the disk cache then it’s about three quarters of a second to start. As you are running from a SSD I would expect it to be less than one second to start.

            Maybe Notepad++'s startup is a little bit slower than it was years ago but it has not gotten to the point where it would bother me.

            If your startup is taking much longer than one second then I would do this:

            • Set up a bare bones portable copy of Notepad++ and see how long it takes to start. That’s the baseline. For example, if you set up the portable copy in c:\npp-test then use c:\npp-test\Notepad++.exe -multiInst to start it. The -multiInst allows you to run the portable copy alongside your normal copy. It needs to be -multiInst with an upper-case I at the start of `Inst’
            • Copy the config.xml and session.xml files from your working copy into c:\npp-test or whatever you set up the portable copy. Is the startup slower?
            • Copy some or all of your plugins from your working copy into c:\npp-test or whatever you set up the portable copy. Is the startup slower?

            At some point you should discover what it is about your setup that makes your startup appear slow to you. You can choose to live with that or dig further.

            1 Reply Last reply Reply Quote 5
            • mkupperM
              mkupper @Chris
              last edited by

              @Chris I should add that Notepad++ has a couple of command line options that may be helpful.

              -noPlugin can be used to establish a baseline of how quickly npp starts with whatever your configuration settings are but with no plugins at all.

              -loadingTime - the documentation for this is vague and I don’t know what this measures. When I tried it, I always get a popup with either Loading time : 0 seconds or Loading time : 1 seconds. Maybe with your configuration and/or 24 plugins it’s a more useful metric.

              As with all of Notepad++'s command line parameters, they are case-sensitive.

              1 Reply Last reply Reply Quote 5
              • First post
                Last post
              The Community of users of the Notepad++ text editor.
              Powered by NodeBB | Contributors