Refactor package move - poor performance

Hi, I'm using IntelliJ 6 on a JEE project with roughly 14000 classes. Recently we decided to address a need to rename and restructure our packages, hoping to use the IntelliJ "move" feature under the refactor menu. However, we're finding that the performance seems extremely slow - almost to the point of being unusable.

As a random example, one particular class we need to move has 2500 usages in 550 different files. To move this single file took IntelliJ 1 hour and 10 minutes. Obviously these are a lot of usages, but I was still very surprised that it took over an hour to complete. We have many files in our codebase that have even more usages than this, which is why we are realizing that we might have to dedicate an entire week or more to this refactor just to get it done. The machine being used is a Pentium 4 2.4 gHz with 2 GB of ram (1.5 GB allocated to IntelliJ) running Ubuntu Linux.

Is the performance we're seeing typical/expected? Is anyone aware of any 3rd party tools which could handle package moves more quickly?? Thanks for any advice or help!

1 comment

This performance is not acceptable, please capture CPU snapshot and
attach it to JIRA request.

eagle63 wrote:

Hi, I'm using IntelliJ 6 on a JEE project with roughly 14000 classes. Recently we decided to address a need to rename and restructure our packages, hoping to use the IntelliJ "move" feature under the refactor menu. However, we're finding that the performance seems extremely slow - almost to the point of being unusable.

As a random example, one particular class we need to move has 2500 usages in 550 different files. To move this single file took IntelliJ 1 hour and 10 minutes. Obviously these are a lot of usages, but I was still very surprised that it took over an hour to complete. We have many files in our codebase that have even more usages than this, which is why we are realizing that we might have to dedicate an entire week or more to this refactor just to get it done. The machine being used is a Pentium 4 2.4 gHz with 2 GB of ram (1.5 GB allocated to IntelliJ) running Ubuntu Linux.

Is the performance we're seeing typical/expected? Is anyone aware of any 3rd party tools which could handle package moves more quickly?? Thanks for any advice or help!



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.