coz
coz copied to clipboard
Logging takes too much time
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?