blender/source/creator
Ray Molenkamp e590526af6 Fix T76767: Cycles performance regression with CLI renders
When picking a small tile size when doing a CLI render will
yield many status updates being printed to the console
causing a slowdown in the render process. 2.79 with the
same amount of tiles did not have this slowdown.

The reason for this turned out to be a debugging aid added
in rBd2757d149bf2 which disabled buffering for stdout which
on windows caused every single character being printed to the
console to try to obtain a mutex, and worse the thread being
put to sleep when this mutex was unavailable leading to poor
performance.

This patch changes the behaviour by only disabling the
buffering in debug builds.

CLI render of the default cube with 16x16 tiles at 1080p

2.83 : 37.57s
now  : 17.03s

note: this only affected CLI renders, renders from the UI
do not report this kind of information and had no such
slowdown.
2020-06-17 09:26:49 -06:00
..
blender.map Fix T76414: crash using Python module that uses NVRTC 2020-05-05 16:01:18 +02:00
buildinfo.c Cleanup: quiet missing variable declaration warning 2019-06-06 10:27:57 +10:00
CMakeLists.txt Merge branch 'blender-v2.83-release' 2020-05-29 18:05:04 +02:00
creator_args.c Merge branch 'blender-v2.83-release' 2020-05-29 18:05:04 +02:00
creator_intern.h Blender: change bugfix release versioning from a/b/c to .1/.2/.3 2020-05-29 17:48:26 +02:00
creator_signals.c Cleanup: clang-format 2020-05-03 13:42:49 +10:00
creator.c Fix T76767: Cycles performance regression with CLI renders 2020-06-17 09:26:49 -06:00
osx_locals.map Fix T76414: crash using Python module that uses NVRTC 2020-05-05 16:01:18 +02:00