It is currently Sun Oct 25, 2020 3:30 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Improve Speed of Folding?
PostPosted: Tue Oct 13, 2020 9:08 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Sep 20, 2004 7:12 am
Posts: 605
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
 Profile  
Reply with quote  
 Post subject: Re: Improve Speed of Folding?
PostPosted: Wed Oct 14, 2020 7:16 am 
Offline
User
User

Joined: Sun Nov 26, 2017 3:13 pm
Posts: 38
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
 Profile  
Reply with quote  
 Post subject: Re: Improve Speed of Folding?
PostPosted: Wed Oct 14, 2020 9:51 am 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 13, 2010 3:45 pm
Posts: 1140
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
 Profile  
Reply with quote  
 Post subject: Re: Improve Speed of Folding?
PostPosted: Wed Oct 14, 2020 11:17 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Sep 20, 2004 7:12 am
Posts: 605
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
 Profile  
Reply with quote  
 Post subject: Re: Improve Speed of Folding?
PostPosted: Wed Oct 14, 2020 2:28 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Feb 13, 2010 3:45 pm
Posts: 1140
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
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye