Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2020-06-17 18:26:49 +0300
committerJeroen Bakker <jeroen@blender.org>2020-06-25 10:32:04 +0300
commit945e18f037108c2767617ddba339e0f7938329d8 (patch)
treebd93ef32411b6be48e0b35b9c8a2d0de49d538b4 /source/blender/blenkernel
parent293b00beb5df27b4455de743fd0684f0988153b0 (diff)
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.
Diffstat (limited to 'source/blender/blenkernel')
0 files changed, 0 insertions, 0 deletions