Re: `lein test` 28x slower than `lein run`.... Why?

2018-12-15 Thread Alan Thompson
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:

`lein test` 28x slower than `lein run`.... Why?

2018-12-15 Thread Alan Thompson
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