You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Juan Pablo Santos Rodríguez <ju...@gmail.com> on 2019/10/10 22:27:09 UTC

build time improvements

Hi,

just one quick mail noting a couple of things:

- latest push introduced awaitility (
https://github.com/awaitility/awaitility) as a test dependency, to ease
testing relaying
on asynchronous processes. That allowed to gain ~20 seconds (on my PC) on
the tests executions of the main module.
Only a couple of classes where modified, but introducing the framework paid
off. Also, tests on another class waited 2
seconds between page savings; setting the pause to 0.2 secs allowed to gain
another almost 10 seconds.

- latest maven releases (3.6.0 onwards) stress that they contain
improvements regarding performance, memory consumption
and cpu usage. Measured the complete jspwiki build time with maven 3.6.2,
and it was almost 30% (!!) faster, compared to
building with 3.5.2. Although it isn't a scientific measure, it's still a
lot. It would be nice to see anybody else's numbers
regarding different maven versions usage, but at first glance it seems like
a very easy way to speed up local builds.


best regards,
juan pablo