Closed ghost closed 9 years ago
Thanks for the numbers! The fact we are spending time in stream.draw
means that gfx_scene
itself is not a bottleneck of this case.
@kvark yes that is what I wanted to make sure of. Secondly, if there is a bottlenect it is the Phase enqueue.
I'm getting inconsitent numbers about the cost of stream.draw
. I'm investigating it right now. My laptop did not have any problems drawing the scene at 30fps, even with 5000 objects. Which is what I was hoping for.
Since #31 is done, I am closing this issue. Anyone can now gather the same numbers.
I did a little bit of profiling with
gfx_scene
to get an idea of how well the library was performing. I had a pathologically bad use-case where I was supplying a list of 5000 culled objects to the library (with no culling).In summary, most of our time is spend calling
stream.draw