For some yet unknown reason the C++ metrics parsing time takes way more time on Ubuntu 22.04, compared to Ubuntu 20.04 in the CI.
This effect is especially visible when parsing CodeCompass itself, where the parsing takes around 7-8 times more time on Ubuntu 22.04, compared to Ubuntu 20.04. (Both for Sqlite and PostgreSQL.) This behaviour is not present on the release/gershwin branch, prior to introducing C++ metrics.
A significant difference between the Ubuntu 22.04 and the 20.04 environments is that on Ubuntu 20.04 we install the prebuilt ODB library from the standard repositories, while on Ubuntu 22.04 it is compiled manually, due to the version in the standard repository is unusable.
For some yet unknown reason the C++ metrics parsing time takes way more time on Ubuntu 22.04, compared to Ubuntu 20.04 in the CI.
This effect is especially visible when parsing CodeCompass itself, where the parsing takes around 7-8 times more time on Ubuntu 22.04, compared to Ubuntu 20.04. (Both for Sqlite and PostgreSQL.) This behaviour is not present on the
release/gershwin
branch, prior to introducing C++ metrics.A significant difference between the Ubuntu 22.04 and the 20.04 environments is that on Ubuntu 20.04 we install the prebuilt ODB library from the standard repositories, while on Ubuntu 22.04 it is compiled manually, due to the version in the standard repository is unusable.