[TNS-44] Reload on a function-by-function basis for improved performance in large projects Created: 24/Jul/16 Updated: 24/Jul/16
|Reporter:||Alex Gunnarson||Assignee:||Stuart Sierra|
Currently tools.namespace reloads portions of a given Clojure project on a file-by-file (really, namespace-by-namespace) basis. While it works great and performs quite well for most projects — ones which feature namespaces which compile quickly, dependency graphs which don't have too many nodes, and/or dependency graphs which aren't very deep — developers experience a (potentially) significant slowdown the less the project conforms to these three features.
A potential solution is this:
As for tests, it would be nice to re-run only the tests affected by a change to a var, not all the tests in that namespace every time the namespace changes at all.
Essentially, this feature would increase reload granularity (and reload speed) in the same way that namespace-reloading increases granularity (and speed) from recompiling the entire project.
|Comment by Alex Gunnarson [ 24/Jul/16 10:27 AM ]|
Sorry, the nested lists got messed up. Should be: