portage-ng / portage / sys-cluster / lmod / 9.4
emerge -vp

These are the packages that would be merged, in order:

Calculating dependencies ... done!
Dependency resolution took 1.61 s (backtrack: 0/20).

[ebuild  N     ] dev-lang/luajit-2.1.1787165859:2/2.1.1787165859::gentoo  USE="-lua52compat -static-libs" 1078 KiB
[ebuild  NS    ] dev-lang/lua-5.1.5-r200:5.1::gentoo [5.4.8:5.4::gentoo] USE="deprecated readline" 389 KiB
[ebuild  N     ] dev-lua/luafilesystem-1.9.0::gentoo  USE="-test" LUA_TARGETS="lua5-1 -lua5-3 -lua5-4 -luajit" 29 KiB
[ebuild  N     ] dev-lua/lua-term-0.8::gentoo  LUA_TARGETS="lua5-1 -lua5-3 -lua5-4 -luajit" 5 KiB
[ebuild  N     ] dev-lua/lua-bit32-5.3.5.1-r1::gentoo  USE="-test" LUA_TARGETS="lua5-1 -luajit" 53 KiB
[ebuild  N     ] dev-lua/lpeg-1.1.0::gentoo  USE="-debug -doc -test" LUA_TARGETS="lua5-1 luajit -lua5-3 -lua5-4" 78 KiB
[ebuild  N     ] dev-lua/luajson-1.3.5::gentoo  LUA_TARGETS="lua5-1 -lua5-3 -lua5-4 -luajit" 50 KiB
[ebuild  N     ] dev-lua/luaposix-37.0::gentoo  USE="-doc" LUA_TARGETS="lua5-1 -lua5-3 -lua5-4 -luajit" 187 KiB
[ebuild  N     ] dev-lang/tk-8.6.17:0/8.6::gentoo  USE="threads truetype (-aqua) -debug -test -xscreensaver" 4486 KiB
[ebuild  N     ] sys-cluster/lmod-9.4::gentoo  USE="auto-swap cache -duplicate-paths -test" LUA_SINGLE_TARGET="lua5-1 -lua5-3" 34807 KiB

Total: 10 packages (9 new, 1 in new slot), Size of downloads: 41157 KiB

Wall time
2.617 s vs. 0.108 s for portage-ng