diff options
author | Loïc Hoguin <[email protected]> | 2024-11-13 17:23:22 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2024-11-13 17:23:22 +0100 |
commit | e903cc89c5cc389305ee8dc0b15a8db250de1b37 (patch) | |
tree | e67c910a6f38062e78a022733e2cb31402c0441d /test/plugin_escript.mk | |
parent | 4d3d3fa4e94f8c31c7012c4e076e9b5a9b8ecb0a (diff) | |
download | erlang.mk-e903cc89c5cc389305ee8dc0b15a8db250de1b37.tar.gz erlang.mk-e903cc89c5cc389305ee8dc0b15a8db250de1b37.tar.bz2 erlang.mk-e903cc89c5cc389305ee8dc0b15a8db250de1b37.zip |
Greatly speed up test speed with -j
The tests were waiting for the test group to finish before
they could continue with the next test group. Now "core"
and "all" targets directly depend on individual test cases,
allowing parallel Make to get to the next tests quicker and
removing 1/3rd of the total run time.
make check -j8 -k 5790,16s user 1207,08s system 627% cpu 18:35,49 total
make check -j8 -k 6250,13s user 1326,77s system 972% cpu 12:59,16 total
Diffstat (limited to 'test/plugin_escript.mk')
-rw-r--r-- | test/plugin_escript.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/plugin_escript.mk b/test/plugin_escript.mk index 6479e3f..d816198 100644 --- a/test/plugin_escript.mk +++ b/test/plugin_escript.mk @@ -1,10 +1,10 @@ # Escript plugin. -ESCRIPT_TARGETS = $(call list_targets,escript) +escript_TARGETS = $(call list_targets,escript) -.PHONY: escript $(ESCRIPT_TARGETS) +.PHONY: escript $(escript_TARGETS) -escript: $(ESCRIPT_TARGETS) +escript: $(escript_TARGETS) escript-build: init |