View unanswered posts | View active topics
|
Page 1 of 1
|
[ 5 posts ] |
|
Author |
Message |
HeX0R
|
Post subject: Improve Speed of Folding? Posted: Tue Oct 13, 2020 9:08 pm |
|
Joined: Mon Sep 20, 2004 7:12 am Posts: 622 Location: Hell
|
Since quite a while my IDE starts up really slow. It will open up a bigger project at start-up (11 sources, maybe 25000 lines of code alltogether), so I expected a little delay before I can start.
But it took 30(!) seconds, until I was able to enter my first character. That felt not right.
I had a litte time today and did some researching. Whatever I disabled (auto correction, session history, all external tools, folder observation, auto update, ....), I always ended-up with 30s! Antivir was also disabled while testing. I finally came to the folding functionality, I didn't expect that from helping much but disabled it anyway. From then on the IDE was ready to go within 10 seconds! That is acceptable, but I really like that folding feature and can hardly live without it.
Any idea why this folding feature is slowing down anything, isn't it an inbuild feature of Scintilla? Could it be improved somehow?
I know the IDE is open source now, but I typically only work on Windows and I would have to install just too many unneccessary things to get that beast compiled.
btw.: I don't know if folding is slowing down anything in Linux or MacOS as well.
_________________ Link dead? Change h3x0r.ath.cx into hex0rs.coderbu.de and all will be fine.
|
|
Top |
|
 |
PeDe
|
Post subject: Re: Improve Speed of Folding? Posted: Wed Oct 14, 2020 7:16 am |
|
 |
User |
 |
Joined: Sun Nov 26, 2017 3:13 pm Posts: 39
|
Here I have a project with 36 open files and 80,000 lines. Without folding the loading takes 24 seconds, with folding 38 seconds. The PC has a slow Celeron J1900 CPU with 1.3 GHz. But I don't use the folding, it confuses me.
Windows 7 x64 / PB 5.73b2 x86
|
|
Top |
|
 |
Josh
|
Post subject: Re: Improve Speed of Folding? Posted: Wed Oct 14, 2020 9:51 am |
|
Joined: Sat Feb 13, 2010 3:45 pm Posts: 1145
|
Here I need for a project with 10 files and 35000 lines 4-5 seconds. And this on a slow machine.
_________________ sorry for my bad english
|
|
Top |
|
 |
HeX0R
|
Post subject: Re: Improve Speed of Folding? Posted: Wed Oct 14, 2020 11:17 am |
|
Joined: Mon Sep 20, 2004 7:12 am Posts: 622 Location: Hell
|
I don't think it depends on the raw amount of lines, but more on the amount of folding points. There might be some more in my case, I usually add custom folding points, which you both probably don't use.
Anyway, I didn't want to start a performance comparison now, I only asked if there is a chance to speed-up the folding functionality in future.
_________________ Link dead? Change h3x0r.ath.cx into hex0rs.coderbu.de and all will be fine.
|
|
Top |
|
 |
Josh
|
Post subject: Re: Improve Speed of Folding? Posted: Wed Oct 14, 2020 2:28 pm |
|
Joined: Sat Feb 13, 2010 3:45 pm Posts: 1145
|
I have about 500 folds, but I do not have any embedded folds, as they occur in modules. Maybe the IDE does not like these.
_________________ sorry for my bad english
|
|
Top |
|
 |
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|