cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to reduce the build and server up time

Former Member
0 Likes
3,043

Hi,

In my local machine for ant 392 sec, ant clean all 780 sec and hybris server up 781 sec. Can you please help me to reduce the timing. My machine details 16GB RAM Intel(R) Core(TM) i3-4160 CPU @ 3.60GHz configuration.

Accepted Solutions (1)

Accepted Solutions (1)

arvind-kumar_avinash
Active Contributor
0 Likes

Hi - please set up a Linux VM and try moving your hybris into the VM. I am sure you will see a lot of improvement.

I can see that your processor is i3 and from my experience, I can tell you for sure that moving to i7 will make a huge difference.

Some other suggestions are:

  • Switch to Mac/Linux machine

  • Use SSD hard disk

  • Make sure you have enough (I recommend at least 10 GB) free space on the drive in which you are running hybris

  • Increase RAM to 32 GB

  • Configure build.parallel=true in local.properties file

  • Remove unnecessary extensions

You can also check https://answers.sap.com/questions/12762937/improve-build-time-63.html

geffchang
Active Contributor
0 Likes

If developer is using Windows OS, will putting Hybris on Windows VM still help?

arvind-kumar_avinash
Active Contributor
0 Likes

Hi - yes, it can be with a newer version e.g. Windows10 VM on Windows 7 host machine.

geffchang
Active Contributor
0 Likes

I see. That's interesting. Unfortunately, I'm already on Windows 10. My work machine is just very slow, even with parallel configuration, because it has antivirus and some other security tools.

Answers (2)

Answers (2)

Former Member
0 Likes

Hi! You can find some information about it in this article https://hybrismart.com/2016/12/27/speed-up-server-start-time/

former_member624549
Participant
0 Likes

I bet you use windows. linux/mac is about twice as fast (linux in a vm on windows might be faster as well) I you use a virus scanner it will slow down as well. Ask your admin to configure a developer folder without virus scanning

other than that search the forum there are a handful tips to improve the performance but nothing substantial you might get another 20% improvement.

Use hot code replacement. While connected with the debugger change code and recompile the debugger will replace the class in the running system. JRebel does this even better. Like this you avoid restarts

hybris as it is today is simply very slow to develop - sadly. It would require changes in the build system only sap could do but I guess it's not on their agenda.