Hi,
It turns out that there is an easy optimisation to do which I did for the latest specs2 versions and which you can do on your own code if necessary: transform the "Specification" traits into abstract classes. The net effect should be 0.5s per class.
Now, among the other things which are slowing down the compilation there are:
- implicit search
- by-name parameters
You can optimise this by building your own base "Spec" trait just inheriting from BaseSpecification and add matchers traits or other functionalities as you need them.
Cheers,
Eric.