System Information
Operating system: Arch Linux
Graphics card: GTX Titan
Blender Version
Broken: 2.80.74 (9c5d54bfaf48, binary from blender.org)
Worked: 2.79.7 (Arch Linux package)
Short description of error
Adding a large number of objects is taking much more time with 2.80 compared to 2.79
Exact steps for others to reproduce the error
With the attached script (which just calls bpy.ops.mesh.primitive_cube_add in a loop with random locations):
$ blender -b -P thousands_of_objects.py Blender 2.79 (sub 7) (hash a29446da526d built 2019-03-27 18:12:23) Read prefs: /home/paulm/.config/blender/2.79/config/userpref.blend 0 0.001s (0.001x) 100 0.027s (42.151x) 200 0.066s (2.413x) 300 0.112s (1.705x) 400 0.177s (1.582x) 500 0.256s (1.444x) 600 0.361s (1.410x) 700 0.474s (1.314x) 800 0.610s (1.286x) 900 0.735s (1.205x) 1000 0.876s (1.192x) Blender quit paulm@cmstorm 17:18:/data/examples/blender/python_api$ ~/software/blender-git/blender -b -P thousands_of_objects.py Blender 2.80 (sub 74) (hash a4bc6aca0ef9 built 2019-07-08 16:50:26) Read prefs: /home/paulm/.config/blender/2.80/config/userpref.blend found bundled python: /home/paulm/software/blender-git/2.80/python 0 0.001s (0.001x) 100 0.149s (204.909x) 200 0.421s (2.837x) 300 0.734s (1.742x) 400 1.062s (1.446x) 500 1.404s (1.322x) 600 1.752s (1.248x) 700 2.112s (1.205x) 800 2.502s (1.185x) 900 2.874s (1.148x) 1000 3.295s (1.146x) Blender quit
So 2.80 takes roughly 3.8x as much time, although it is slightly less exponential in behaviour compared to 2.79.