John Arbash Meinel, 22.01.2010 15:56: > For example, I've never seen a Pyrex "__init__" function show up in > timing, the time spent always gets assigned to the calling function. So > if I want to see it, I set up a 'create_foo(*args, **kwargs)' function > that just does return Foo(*args, **kwargs).
Note that this has been fixed in Cython. When you profile Cython code in cProfile, you will get profiling information of all Cython implemented functions, even for C calls inside of the Cython module itself. Stefan _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com