Never mind, I found the problem. During testing I had enabled Plumatic
Schema function validation:
(s/set-fn-validation! true) ; enforce fn schemas
Disabling validation made `lein test` and `lein run` produce comparable
times.
Alan
On Sat, Dec 15, 2018 at 10:41 AM Alan Thompson wrote:
Hi,
I'm seeing something I never expected with Leiningen, namely that `lein
test` can take 28x longer to run a task than if it is invoked via `lein
run`. Elapsed time measurements (sec):
* function test
run ratio*
:add-tree-xml