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

Support scanning for existing json files #46

Closed
xzxzzxzxzca opened this issue May 3, 2020 · 3 comments
Closed

Support scanning for existing json files #46

xzxzzxzxzca opened this issue May 3, 2020 · 3 comments

Comments

@xzxzzxzxzca
Copy link

It would be nice to have an option to just start the tool on an existing collection of profiling files in the build directory instead of capturing them only between the start/stop cycle. Current workflow does not play well with incremental builds where most of the sources may be already processed with their build time stats already captured. In order to use the clang's profiling information one has to always start the build from scratch which doesn't seem to be strictly necessary.

@ben-craig
Copy link

ben-craig commented May 3, 2020 via email

@xzxzzxzxzca
Copy link
Author

You can set the time stamp to zero, and then stop will look at all available json files.

Thanks! That's an interesting workaround, seems usable enough.
Although, I still wish there would be a straightforward and more "official" to do this rather trivial task :)

@aras-p
Copy link
Owner

aras-p commented Oct 3, 2020

Added --all mode with #47

@aras-p aras-p closed this as completed Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants