Module org.netbeans.modules.web.tomcat.tomcat40/1 ModuleInstall time in the
second IDE start in the FFJ build 020327 took 111 ms vs 28 ms in the FFJ build
The reason is that we need to copy part of tomcat instalation into
userdir because in general user should not access any file in IDE
The question is whether this can be done lazily (other modules can
built on top of our stuff). Also this performance regression affects
only first start. Next opening doesn't perform such huge operation.
Tomcat 4 plugin is not part of NetBeans yet.
this problem was caused by fixing 4621234.
and we expected performance regression.
the second and other starts of IDE should be faster then
first, but will be longer then 28 ms. I did today some
other performance improvements for second and other
I discussed the solution with Jasse, but this fix is only
possible. Jasse uses similiar technik, when he copies
sample-dir application into the user-home during first
start. But he does it during sample-dir FS mounting, so you
can not measure it as his module startup time. But it is
part of startup time, because FSs are mounted during start
So I do not see any possibility, how to reduce this
So, I think, this bug should be closed as "will not fix".
If you do not agree, reopen please this bug and add your
I measured method "restored" in TomcatModuleInstall object.
I got these data:
- fresh IDE
1.start 625 ms
2.start 156 ms
3.start 109 ms
4.start 110 ms
- again fresh IDE
1.start 672 ms
2.start 110 ms
3.start 94 ms
4.start 110 ms
So second and other starts should be about 5-6 times faster