Wednesday, March 26, 2014

maven-formatter-plugin got faster

A week ago (give or take) I post about my maven-formatter-plugin fork here.

Back then, I was trying to get it faster and if possible get it using all power my computer have.

Well, it is faster now!

The eclipse luna M6 contains a formatter way faster, so I decided to make a new release and include it!

I tried it on a big project (about 3K files and 100K lines).

The format validation time drop from 24s to 16s.... 30% faster.

<plugin> <groupId>com.marvinformatics.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <version>1.4.0.M6</version> <executions> <execution> <goals> <goal>validate</goal> </goals> </execution> </executions></plugin>

Not bad, not bad at all.

No comments:

Post a Comment