Archives Nov. 8, 2008
Profiling OpenGLContext fun...
Written by
on
in
Snaking.
Profiling OpenGLContext on a relatively large VRML97 world. Interesting stats (in OpenGL, ignoring OpenGLContext slow-points):
- 3% of total runtime is in a function which just does numpyarray.ctypes.data; it seems the ctypes array sub-object is a Python instance that has multiple operations in its initializer and is recreated on each access (with many accesses per array ...