Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

for large solution, the speed of generating compile_commands.json is very very slow #53

Open
paopaol opened this issue Apr 26, 2019 · 3 comments

Comments

@paopaol
Copy link

paopaol commented Apr 26, 2019

is there any way to speed up it?

@mlangkabel
Copy link
Contributor

I don't know the current bottleneck of generating the compilation database. For reference, can you tell us

  • the file size of the json file you generated and
  • the time it took to generate the file?

@paopaol
Copy link
Author

paopaol commented Apr 27, 2019

the size of compile_commands.json is 574k. and the solution has 36 projects. it tooks 100s, and the cpu of visual studio 2015 is 45%.my cpu is i5-8250.
A total of 288 source files

@n00bmind
Copy link

n00bmind commented May 17, 2019

Same issue here, started pretty fast but then slowed more and more to the point where each project would take several seconds, some taking maybe 5 but some others could stall for up to a full minute.
My solution is huge (around 50 projects), although some of them are C# and hence skipped..

This is Visual Studio Professional v15.7.6.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants