[issue28870] Reduce stack consumption of PyObject_CallFunctionObjArgs() and like

Serhiy Storchaka report at bugs.python.org
Mon Jan 9 12:45:03 EST 2017


Serhiy Storchaka added the comment:

I'm not sure that the result of pyobjectl_callfunctionobjargs_stacksize() has direct relation to stack consumption in test_python_call, test_python_getitem and test_python_iterator. Try to measure the stack consumption in these cases. This can be done with _testcapi helper that just returns the value of stack pointer. Run all three tests with fixed level of recursion and measure the difference between stack pointers.

Would be nice also measure a performance effect of the patches.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28870>
_______________________________________


More information about the Python-bugs-list mailing list