portage-ng / portage / dev-cpp / sol2 / 3.5.0-r1
emerge -vp

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

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

[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-cpp/sol2-3.5.0-r1::gentoo  USE="-test" LUA_TARGETS="lua5-1 -lua5-3 -lua5-4 -luajit" 8264 KiB

Total: 2 packages (1 new, 1 in new slot), Size of downloads: 8652 KiB

Wall time
2.577 s vs. 0.014 s for portage-ng