[Bf-committers] performance variation of BKE_add_object function
rd6t-kjym at asahi-net.or.jp
Sat Oct 6 00:07:43 CEST 2012
BKE_add_object function displays an appreciable performance decrease as the number
of objects increases. The following plot shows the elapsed time per call of the function
over 11692 objects successively generated (r50956, Windows Vista 64 bit, VS 2008 64 bit).
The average time per call is 7.565e-3 seconds, but the time tends to increase over time,
with some sudden decreases (e.g., at the calls around the 1000th and 10000th objects).
This performance variation effect is quite visible in the Freestyle branch, where a large
number of temporary objects are automatically generated for stroke rendering.
Any thoughts and suggestions concerning this issue are much appreciated.
KAJIYAMA, Tamito <rd6t-kjym at asahi-net.or.jp>
More information about the Bf-committers