[Bf-committers] Python + Many Objects = slow!

Rob Haarsma bf-committers@blender.org
Tue, 04 May 2004 13:03:24 +0200


Chris Want wrote:

> To confirm that this is a source of slowness, I made the first 
> executable line of code in BPY_do_pyscript() a 'return' statement
> -- the rendertime I get now is:
>
> modified cvs: /tmp/render/0017 Time: 00:00.35
>
> Now we are double the speed of blender 2.23!
>
Big Cheers !!! I keep that return; statement there for a while ;-)

My rendertimes on a huge scene were:
bf2.23 - 00.00.56 secs
bf2.26 - 00.00.59 secs
bf2.27 - 00.01.05 secs
bf2.28 - 00.02.45 secs
bf2.30 - 00.02.47 secs
bf2.32 - 00.07.00 secs
bf2.33 - 00.10.41 secs
cvs now with the patch: 00.00.30 secs !!!

Thankyou for finding this ! Alt-A is working at incredible speed too !

Rob.