Message Boards
Improve Performance Developing with Eclipse
Fredi B, modified 3 Years ago.
Improve Performance Developing with Eclipse
Junior Member Posts: 69 Join Date: 4/1/20 Recent Posts
We as company decided to switch to Liferay this year.
Sadly most of our developers get really frustrated about the performance of Eclipse when working with Liferay.
Examples:
- Time to start local server often up to 7 minutes.
- The Gradle refresh - that is often required - takes forever.
- Publishing takes very long
- Deploy/redeploy of modules take very long
- The Project explorer jumps, collapses and changes order while Eclipse has running tasks - really frustrating!
The working stations of our developers have mostly the same specs:
-16 GB RAM
- i5-8265 @ 1.6-1.8 GHz
and they develop for 7.1, 7.2 and 7.3 CE Liferay
It's always easy to complain therefor I am interested in solutions to improve the performance of Eclipse and local Liferay Development.
With what kind of hardware are you working with Liferay and are you experience any difference in performance to described above problems?
Any tips of the Liferay Gurus and Community to make developing with Liferay more efficent and enjoyable?
Cheers, Fredi
Sadly most of our developers get really frustrated about the performance of Eclipse when working with Liferay.
Examples:
- Time to start local server often up to 7 minutes.
- The Gradle refresh - that is often required - takes forever.
- Publishing takes very long
- Deploy/redeploy of modules take very long
- The Project explorer jumps, collapses and changes order while Eclipse has running tasks - really frustrating!
The working stations of our developers have mostly the same specs:
-16 GB RAM
- i5-8265 @ 1.6-1.8 GHz
and they develop for 7.1, 7.2 and 7.3 CE Liferay
It's always easy to complain therefor I am interested in solutions to improve the performance of Eclipse and local Liferay Development.
With what kind of hardware are you working with Liferay and are you experience any difference in performance to described above problems?
Any tips of the Liferay Gurus and Community to make developing with Liferay more efficent and enjoyable?
Cheers, Fredi
Olaf Kock, modified 3 Years ago.
RE: Improve Performance Developing with Eclipse
Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent PostsFredi B:
- Time to start local server often up to 7 minutes.
- The Gradle refresh - that is often required - takes forever.
- Publishing takes very long
- Deploy/redeploy of modules take very long
- The Project explorer jumps, collapses and changes order while Eclipse has running tasks - really frustrating!
My dev server starts in ~1 minute - inside and outside of eclipse. I'd recommend to check what's causing the delay - could be antivirus, network, CPU. But with that discrepancy between 1 and 7 minutes, it should be easy to spot the biggest offender. Even memory can be a candidate, if other applications cause the server to use swap space. Hint: Run the server with minimal amount of memory, so that it doesn't cause other software to swap out.
Publishing for me is instant as well: Ctrl-S (save), Alt-Tab to the browser, Ctrl-R (reload page) is in muscle memory and works well, without delays. I'm not racing the clock, but I don't perceive a delay.
Gradle refresh can take a while if it has something substantial to do, but in general it's quick. Again: Network, Antivirus or similar might be worth looking at. I've also seen slow DNS lookups significantly slowing down servers (not Liferay though, but I always check it as an option)
Christoph Rabel, modified 3 Years ago.
RE: Improve Performance Developing with Eclipse
Liferay Legend Posts: 1554 Join Date: 9/24/09 Recent Posts
Antivirus is a real killer, we issues with it too, a new colleague, with the shiny new laptop complained a couple of months ago about the performance. I was really stumped for a bit because everything "java" was horrible slow. Really horrible slow. And then we disabled the antivirus ...
Anyway: 7 minutes startup time is by far too long, it doesn't even take that long on older systems. There is something fishy going on. Just checking: harddisk or SSD? If you have harddisks, invest a bit of money in SSDs. It really pays off.
Anyway: 7 minutes startup time is by far too long, it doesn't even take that long on older systems. There is something fishy going on. Just checking: harddisk or SSD? If you have harddisks, invest a bit of money in SSDs. It really pays off.
Nirav Prajapati, modified 3 Years ago.
RE: Improve Performance Developing with Eclipse
Regular Member Posts: 133 Join Date: 6/25/15 Recent Posts
You are absolutely correct
Sometimes it's irritating like, when we start IDE, it suddenly starts Gradle Refresh, I have 50+ modules in my workspace, it's taking 7-8 min to refresh and ready to start.
Even whenever I am adding a new dependency in build.gradle those time as well it's taking same time to refresh.
Fredi B:
We as company decided to switch to Liferay this year.
Sadly most of our developers get really frustrated about the performance of Eclipse when working with Liferay.
Examples:
- Time to start local server often up to 7 minutes.
- The Gradle refresh - that is often required - takes forever.
- Publishing takes very long
- Deploy/redeploy of modules take very long
- The Project explorer jumps, collapses and changes order while Eclipse has running tasks - really frustrating!
The working stations of our developers have mostly the same specs:
-16 GB RAM
- i5-8265 @ 1.6-1.8 GHz
and they develop for 7.1, 7.2 and 7.3 CE Liferay
It's always easy to complain therefor I am interested in solutions to improve the performance of Eclipse and local Liferay Development.
With what kind of hardware are you working with Liferay and are you experience any difference in performance to described above problems?
Any tips of the Liferay Gurus and Community to make developing with Liferay more efficent and enjoyable?
Cheers, Fredi
Fredi B, modified 3 Years ago.
RE: Improve Performance Developing with Eclipse
Junior Member Posts: 69 Join Date: 4/1/20 Recent Posts
Thank you Christoph, Olaf and Nirav for your valuable feedback.
We took the time and reinstalled Liferay IDE on two systems and also switched a most-likely broken SSD.
We also consider to switch to i7s soon.
So maybe this will also give us some performance boosting.
We took the time and reinstalled Liferay IDE on two systems and also switched a most-likely broken SSD.
We also consider to switch to i7s soon.
So maybe this will also give us some performance boosting.
Olaf Kock, modified 3 Years ago.
RE: Improve Performance Developing with Eclipse
Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent PostsFredi B:
I'd say potentially AV eats more performance than any processor can add (At least give it a try to deactivate it briefly on the current systems - that's the easiest and cheapest way to find out) And so can a broken SSD which takes random time to read from a specific sector - especially if that's data that's commonly needed.
We also consider to switch to i7s soon.
So maybe this will also give us some performance boosting.
Husham Khartoum, modified 3 Years ago.
RE: Improve Performance Developing with Eclipse
New Member Posts: 9 Join Date: 2/15/15 Recent Posts
Hi,I did some good changes regarding setenv in tomcat folder settings and also change eclipse tomcat setting to work on 8192. It’s currently fast and better.
Olaf Kock, modified 3 Years ago.
RE: Improve Performance Developing with Eclipse
Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent PostsHusham Khartoum:
So you did something that did something...
Hi,I did some good changes regarding setenv in tomcat folder settings and also change eclipse tomcat setting to work on 8192. It’s currently fast and better.
Would you mind letting us participate in something?