summaryrefslogtreecommitdiff
path: root/src/rebar_escripter.erl
diff options
context:
space:
mode:
authorMarkus Näsman <markus@botten.org>2012-08-28 13:46:54 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-30 17:27:43 +0200
commit2d139ea6c255aea6d98475ea72be12b1f29de545 (patch)
tree48a153555561419c12cadc5c5f940f4160df3953 /src/rebar_escripter.erl
parentff8337f9b0256f3eb85179969b7577ab540714c1 (diff)
Stop cover server between eunit runs for speed
Cover gets slower and slower for each application. This is due to the cover_server internal state. Stopping the cover server between eunit+cover runs, emptying the cover_server state, gives a ~5-6x speed improvement when analyzing many Erlang modules. Stopping the cover server replaces the earlier practice of doing a cover:reset before each run. On a project consisting of 62 dependencies with a total of 1866 Erlang modules the running time of rebar eunit decreased from ~20 minutes to ~3 minutes.
Diffstat (limited to 'src/rebar_escripter.erl')
0 files changed, 0 insertions, 0 deletions