Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long C++ metrics parsing time on Ubuntu 22.04 #740

Open
mcserep opened this issue Apr 29, 2024 · 1 comment
Open

Long C++ metrics parsing time on Ubuntu 22.04 #740

mcserep opened this issue Apr 29, 2024 · 1 comment
Labels
Plugin: C++ Issues related to the parsing and presentation of C++ projects. Plugin: Metrics Issues related to the code metrics plugin.
Projects

Comments

@mcserep
Copy link
Collaborator

mcserep commented Apr 29, 2024

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.

@mcserep mcserep added Plugin: C++ Issues related to the parsing and presentation of C++ projects. Plugin: Metrics Issues related to the code metrics plugin. labels Apr 29, 2024
@mcserep mcserep added this to the Upcoming Release milestone Apr 29, 2024
@mcserep mcserep added this to To do in Roadmap via automation Apr 29, 2024
@mcserep
Copy link
Collaborator Author

mcserep commented Jun 30, 2024

This issue is still active, in the GitHub CI, the following parsing times are measured for CodeCompass itself:

  • Ubuntu 20.04, sqlite: 29m
  • Ubuntu 20.04, postgresql: 13m
  • Ubuntu 22.04, sqlite: 2h 40m
  • Ubuntu 22.04, postgresql: 18m

Seemingly especially Ubuntu 22.04, sqlite is the affected configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Plugin: C++ Issues related to the parsing and presentation of C++ projects. Plugin: Metrics Issues related to the code metrics plugin.
Projects
Roadmap
To do
Development

No branches or pull requests

1 participant