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

Refactoring: cleanup CxxSquidSensor - remove getJsonCompilationDatabaseFile #1326

Closed
guwirth opened this issue Nov 20, 2017 · 0 comments · Fixed by #1970
Closed

Refactoring: cleanup CxxSquidSensor - remove getJsonCompilationDatabaseFile #1326

guwirth opened this issue Nov 20, 2017 · 0 comments · Fixed by #1970
Assignees
Milestone

Comments

@guwirth
Copy link
Collaborator

guwirth commented Nov 20, 2017

Remove getJsonCompilationDatabaseFile call from CxxSquidSensor: cxxConf.getJsonCompilationDatabaseFile in createConfiguration.

This is slowing down the plugin because CxxSquidSensor is called for each source file. getJsonCompilationDatabaseFile should be called only once and save parsed setting at a central place e.g. CxxConfiguration.

see also #1325

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant