1
I have an old project, whose size is 225Mb, where most classes have the whole body commented. In the past I did not use code versioning in my company and the versioning was done in the code itself, commenting on a line and writing the change in the line below. Example:
==> 2019-07-09 the code was:
System.out.println ("Hello World 1");
==> 2019-07-10 the code was:
//System.out.println("Olá Mundo 1 ");
System.out.println ("Hello World 2");
==> 2019-07-11 the code was:
//System.out.println("Olá Mundo 1 ");
//System.out.println ("Hello World 2");
System.out.println ("Hello World 3");
Now imagine this for over 2000 classes, where there are several large blocks of commented code.
All these classes can cause slowness in the Eclipse?
Because when I open this project Eclipse is very slow?
Yes, absolutely, the eclispe is an IDE and runs checks analyzing the text and the longer the text the longer the execution time and so appears the slowness to which it refers. Operations are being made in the background, which causes the editing program to slow down.
– MauroAlmeida
Is there any eclipse profile where it is possible to present these bottlenecks ?
– Igor Moisés
@Igormoisés as it is not a question of the program being developed, you need to use a
profiler
direct on Eclipse. Maybe Visualvm can pick it up, but I don’t know how useful it will be for you, nor whether the information will be readable.– Jefferson Quesado