Survey: Java Code Optimization feature

Hello all,
As you can see, I'm beginning to play with this IDE :),
Aurora is really a good idea!

Some months ago, I begun a new project called JOE (http://sf.net/projects/joe-task/). Its purpose was (using
Ant) to generate optimized Java code (to replace original source files or just before the compilation).
In fact, it analyzed the java code (using JavaCC) and applied COPs (Code Optimization Patterns).

Now anyone can tell me "the -O option or the JIT compiler do it better"
but I can answer that optimizing directly Java Code can have some good
influences particularly if using complex COPs like: replace HashMap implementation by a faster one.
Moreover, JOE could optimize Java Code for speed or for bytecode size (like some C/C++ compilers).

Well my question is, using SPI, can it be usefull to someone (I ask before making anything ;) )? If yes, does it seems a new plugin or an IntelliJ IDEA feature?

Thanks for your time,
WS

PS:
One can read those documents (not very long) to get more informations:
- JOE introduction (.doc): http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/checkout/joe-task/joe/docs/JOE.doc?rev=HEAD&content-type=text/plain
- COPs introduction (.doc): http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/checkout/joe-task/joe/docs/Code%20Optimization%20Patterns.doc?rev=HEAD&content-type=text/plain
- JOE developer guide (.doc): http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/checkout/joe-task/joe/docs/Developer%20Guide.doc?rev=HEAD&content-type=text/plain

0
2 comments

Sorry dude, but I personally wouldn't allow any tool to optimize my code without any reason. If profiler shows up a bottleneck - I can always tune it manually.

0
Avatar
Permanently deleted user

How does this compare to the performance inspections in the InspectionGadgets Plugin? The only actually performance-based rewriting you cover in the docs is already available as an inspection, and thus usable either interactively in patch through IDEA?

0

Please sign in to leave a comment.