You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the instructions on the readme a few months ago and only recently noticed that requiring scope adds a full 1s to every lein task I invoke. That is really surprising for such a small library. We should either fix this or document it.
Without :injections [(require 'spyscope.core)] in my profiles.clj:
lein new app lein-test && cd lein-test && time lein run
lein run 6.21s user 0.32s system 219% cpu 2.969 total
With:
lein new app lein-test && cd lein-test && time lein run
lein run 8.41s user 0.38s system 226% cpu 3.886 total
This is on a recent Macbook Pro.
lein -v
Leiningen 2.3.4 on Java 1.6.0_65 Java HotSpot(TM) 64-Bit Server VM
The text was updated successfully, but these errors were encountered:
Hey Phil--I think that this could only be caused by the clj-time dependency. I'm inclined to not remove the features that use clj-time. You should only see the increase for profiles that include spyscope, which should only be development/repl profiles.
I followed the instructions on the readme a few months ago and only recently noticed that requiring scope adds a full 1s to every lein task I invoke. That is really surprising for such a small library. We should either fix this or document it.
Without
:injections [(require 'spyscope.core)]
in my profiles.clj:With:
This is on a recent Macbook Pro.
The text was updated successfully, but these errors were encountered: