The last time I tried LFS seemed abandoned or so out of date nothing worked, links to packages abandoned.
Of course there may exist interpretations that bring your statement to the level of debatable, but if you keep them inexplicit, should the reader divinate?
Compiling every package is a pointless exercise. Even benchmarks showed Ubuntu was faster than Gentoo.
Package based build your own distros like Arch or Slackware give you most of the same experience in 1/100th the time.
Source/details? I would easily believe that Ubuntu was nearly as fast, or perhaps even exactly as fast, but I can't think of any way for a custom-compiled program to be slower than a distro-provided binary.
In my searching, did find this which shows trading blows with others... yet to see a comparison showing that compiling everything leads to performance gains...
https://www.phoronix.com/scan.php?page=article&item=ec2-holi...
Could also be talking about boot time maybe - isn't SystemD supposed to boot faster than OpenRC much of the time?
Boot time crossed my mind, too, but Gentoo is happy to run with systemd so that's not really "Gentoo vs Ubuntu" so much as "this exact variant of Gentoo vs default Ubuntu" which is kind of fair. (Assuming, of course, that OpenRC is slower to boot than systemd, which would also be an interesting benchmark)
I would as well. My understanding is that SystemD does more parallelization/magic to decrease boot time, but is a bigger system to try to comprehend and has more surface in general.
I believe parallelization is a configurable option on OpenRC though, I'll add that test to the list to try some time.
The first time I switched to systemd, years ago (when Debian moved to systemd), I noticed the boot becoming much faster. So, yup, it was a thing. But now, years later, I got rid of systemd and honestly I don't see my system booting much slower. I mean: if Debian takes, say, 0.3s to show me the login prompt while Devuan (the Debian fork with all the systemd stuff stripped away) takes 0.4s, who cares...
(fwiw I always boot into text console, log in there, then manually launch the graphical display)
I don't think that the "faster boot time" is an argument in favor of systemd anymore, at least not on a modern system. And in case you need to spin a container in a heartbeat, you may be using some ultra minimal Linux distro like Alpine anyway.