portage-ng / portage / dev-db / mysql / 8.4.10
emerge -vp

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

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

[ebuild  N     ] dev-libs/libaio-0.3.113_p8::gentoo  USE="-static-libs -test" 74 KiB
[ebuild  N     ] acct-group/mysql-0-r3::gentoo  0 KiB
[ebuild  N     ] app-arch/lz4-1.10.0-r1:0/1.10.0-meson::gentoo  USE="-static-libs -test" 379 KiB
[ebuild  N     ] acct-user/mysql-0-r3::gentoo  0 KiB
[ebuild  N     ] dev-db/mysql-connector-c-8.0.41-r1:0/21::gentoo  USE="-ldap -static-libs" 477295 KiB
[ebuild  N     ] dev-db/mysql-init-scripts-2.3-r8::gentoo  0 KiB
[ebuild  N     ] dev-perl/DBD-mysql-5.13.0::gentoo  USE="mysql -mariadb -test" PERL_FEATURES="ithreads (-debug) -quadmath" 157 KiB
[ebuild  N     ] dev-db/mysql-8.4.10:8.4::gentoo  USE="perl server -cjk -cracklib -debug -jemalloc -numa -profiling -router (-selinux) -tcmalloc -test -test-install -verify-sig" 467856 KiB

Total: 8 packages (8 new), Size of downloads: 945759 KiB

Wall time
2.127 s vs. 0.084 s for portage-ng