Hi, 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). http://freestyleintegration.files.wordpress.com/2012/10/add_object_perf.png 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.
Regards, -- KAJIYAMA, Tamito <[email protected]> _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
