[Numpy-discussion] tracing numpy data allocation with python callbacks

Thouis (Ray) Jones thouis at gmail.com
Mon May 21 13:32:34 EDT 2012


I submitted a PR for this functionality after cleaning it up a bit:
https://github.com/numpy/numpy/pull/284

I've attached an example that produces HTML for a a sortable table
tracking allocations while running through numpy.test().

Ray Jones
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sorttable.js
Type: application/x-javascript
Size: 16917 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120521/2918852f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: track_allocation.py
Type: application/octet-stream
Size: 4459 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120521/2918852f/attachment.obj>


More information about the NumPy-Discussion mailing list