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

Logging takes too much time #188

Open
kormang opened this issue Oct 29, 2021 · 0 comments
Open

Logging takes too much time #188

kormang opened this issue Oct 29, 2021 · 0 comments

Comments

@kormang
Copy link

kormang commented Oct 29, 2021

I'm trying to profile a project, that is so huge, that most of the initialization time is spend on logging in inspect.cpp, in the loop that prints: Included source file.....
I'm talking about minutes on high end machine!
Messages that are logged, are generally useful, and I'd like to keep them.

I'm using -s and -b for fine control of profiling process, but still not enough to solve this issue.

Currently, I'm using my own build of coz, so I've commented out that loop.

Do you have any advice, how to solve this is in a general way, and possibly include it in a PR?

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

1 participant