Ubuntu 18.04/19.10/20.04 vs. Debian 10/Testing Benchmarks On AMD Ryzen
There are cases though like John The Ripper's Blowfish where the performance regresses with the newer GNU toolchain.
For the software compilation speed, the older compilers tend to run slightly faster due to less optimization passes to handle.
The Numpy performance on Ubuntu 20.04 is pulling back compared to 19.10 but at least ahead of the older 18.04 LTS packages.
The newer GNU C Library can also help out for some operations.