Author Topic: [v17.02, Linux] Performance problem  (Read 4290 times)

ctc53

  • Community Member
  • Posts: 11
  • Hero Points: 0
[v17.02, Linux] Performance problem
« on: October 28, 2012, 04:28:44 PM »
I am currently programming for project based on Android AOSP. I imported the whole AOSP into the SlickEdit project. I previous used SourceInsight as my code editor which can handle such large code base very well. But the performance of SlickEdit is so slow, it looks like hanging again and again. I could not even complete a single task in a day.
« Last Edit: October 29, 2012, 04:21:30 PM by ctc53 »

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: [v17.02, Linux] Hangs again and again
« Reply #1 on: October 29, 2012, 02:38:16 AM »
Sorry you are having so much trouble...approximately how many files are in your workspace?  Are the files on a local or network drive?  In the SlickEdit workspace do you have the files added explicitly to your project(s), or are they added as wildcards (ie. *.java)?

From your post it seems like you are seeing a lot of possibly long pauses while coding, or just using the editor in general...here are a few things to try (check for performance improvements after each one):
  • At Tools > Options > Editing > Context Tagging® set Number of tagging threads to start to 0.  It is probably 2 unless you have changed it.  Apply this change and then restart the editor (you will be prompted to do so).  This will turn off background tagging of your files.
  • If you have turned Symbol Coloring on, this could be affecting your performance.  At View > Java View Options, uncheck Symbol Coloring.
  • I am assuming this is a Java workspace, and if so try turning off live errors.  At Build > Java Options > Live Errors uncheck Enable Live Errors.
Does any of that help?

ctc53

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: [v17.02, Linux] Hangs again and again
« Reply #2 on: October 29, 2012, 04:20:23 PM »
 :) Thanks for your help.
The count of files is about 40K.
Change the thread to 0 seems help.

ctc53

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: [v17.02, Linux] Performance problem
« Reply #3 on: October 29, 2012, 04:45:16 PM »
It is not very easy to add or remove trees (folder) in Slickedit.
Therefore I feel it is difficult to setup a project.

skywise

  • Senior Community Member
  • Posts: 331
  • Hero Points: 10
Re: [v17.02, Linux] Performance problem
« Reply #4 on: October 29, 2012, 07:52:09 PM »
What I would do is add all of your Android AOSP SDK files to a separate tagging file and then keep only your project files in the project directory -
Tools | Tag Files | Add Tag File -
Fill out the form (I would check generate references) and then hit OK.  This will parse the SDK files and make them accessible under the Symbols tool window and also help with auto-completion and I also think it will help with the performance.

For the project files, do Project - Properties, make sure All Configurations is selected in "Settings For:" then select the Files tab and then press Add Tree on the right hand side to add your files.

Hope that helps!

ctc53

  • Community Member
  • Posts: 11
  • Hero Points: 0
Re: [v17.02, Linux] Performance problem
« Reply #5 on: October 30, 2012, 01:57:42 AM »
This would be a new experience to me. I'll try this and come back to share if it works. Thanks.