Skip to content

Laggy IDE interface.

This isn't the biggest problem in the world, but I feel like there's no point in switching from WindowsXP to an OS where I can control every setting if I have a problem like this.

I have codeblocks and eclipse installed. When I do anything like drag a sidebar out or click on a menu, there's a noticable lagginess. In eclipse, it's actually really quite bad. It takes a half a second to switch tabs or open a menu.

I don't have this issue with any other applications, and don't really have any idea why I would only have this problem with IDE's specifically. Maybe improperly configured video card drivers(?) or bad WM settings (this one seems unlikely to me....)

Any ideas?

0 points20 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
106obi

Author

29
posts
225
comments
0
media
View profile

20 comments

If you have installed Eclipse 4.x then it's a known problem, i've the same problem but only when debugging and using the hot-code feature, and that's not nice at all but it looks like they are actively working on it (bug reopened, can't remember if importance has been raised).

I can't speak for Codeblocks since i don't use it ;-/

7 points

Interesting. Seems relevant, but all my problems could be caused by something else all together. I'll try some of the other suggestions before assuming this bug is the cause.

1 points

Yeah, also, i needed to switch to the "performance" cpu governor on my notebook since "ondemand" was basically a no-go for me, it took so much time to scale the clock up that whatever was needing cpu didn't get it in time at all. Once setup the "performance" one everything is super snappy now, including Gnome Shell window movement (shouldn't this be hw accel?)

1 points

what language are you working in? if you're working on any of those kdevelop supports (which is c/c++, php and python ATM, I think), I would strongly suggest you try that. it has much more features than any other IDE I've used (including visual studio), while being very snappy.

3 points

I would love to use kdevelop, but it connects to KDE way too much. It interrupts my WM, and does some things. Like tries to overtake my audio, etc. Do you know anyway to make it not do that?

1 points

I'm working in Java. I installed codeblocks because I used it a lot last year for my classes (which were all in C.)

I don't need eclipse working immediately, but since I'm a comp sci student, I'll need it running smoothly so I can do my assignments problem-free. I feel like using the recommended tools for the class is probably a good idea. (Until I google "kdevelop supports," I won't have any real idea of what you mean by that.)

1 points

Try installing jre from sun. You can find it in AUR.

Pycharm has message that on other than sun jres there could be lags.

2 points

I'll look into that and try it. I'm currently using openjdk... I'm pretty new to Java so... would the JRE from sun be something I can run alongside openjdk? Or would I just use the Sun JRE? (Or did you mean SunJDK? Isn't the JRE just the run time environment?)

1 points

There are ways of installing Oracle's JRE/JDK alongside OpenJDK and using the one you want in eclipse whenever it seems fit.

But if you try to install both through pacman, they'll be in conflict. So you can only have one of them.

1 points

Some information on the new eclipse:

http://www.i-programmer.info/news/90-tools/4792-eclipse-42-under-fire.html

Unfortunately 4.2 just sucks at the moment. Google has injected some money to hopefully allow it to get it back up to speed much faster, but conservatively it might be at least two releases away from really speeding up. The developers have had no performance testing for the latest couple of versions.

Not sure why CodeBlocks should be extra laggy, unless wxgtk also is.

To get things to really speed up, I'd suggest switching to a lighter DM if you're running something like Gnome or KDE, maybe switching to a lighter WM as well, and trying out a well featured editor instead of an IDE for a bit.

Good choices would be vim, Geany or Sublime Text 2, imo.

Netbeans is an alternative java IDE that should run faster than Eclipse ATM as well, and support Java, C/C++ and PHP really well.

1 points

It is sad that (at the moment) Netbeans is faster than Eclipse. I'm in Galileo until Juno gets better performance.

2 points

In addition to everything mentioned here, installing 'ulatencyd' (or ulatencyd-git) from the AUR improves response time pretty much everywhere. So does using linux-ck.

That's basically my carpet-bomb for latency issues :D

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.