Hi,
I tried to disable a callback in Progress (cycles/util/util_progress.h):
void set_update_callback(function<void(void)> function)
{
#ifdef PROGRESS_ENABLE
update_cb = function;
#endif
}
I got very nice speed up by preparation of Spring scene (5.5min → 3.5min).
The second option is to add timer to the method set_update_callback:
void set_update_callback(function<void(void)> function)
{
if(time_now() - last_time_in_sec > 1)
{
update_cb = function;
last_time_in_sec = time_now();
}
}
This timer can save the logging to the file and the transferring the logs to flamenco server.
Could you add it to branch?
Thanks.
Milan