New submission from STINNER Victor:

In issues bpo-28870, bpo-29227, bpo-29233 and bpo-29234, I worked on reducing 
the C stack consumption. I now would to add the _testcapi.stack_pointer() that 
I used to be able to easily measure the stack consumption.

Try for example attached stack_overflow-3.py to measure the maximum number of C 
calls before a C stack overflow. The script also computes the average stack 
usage per C call for a specific kind of C call.

----------
files: stack_overflow-3.py
messages: 297822
nosy: haypo, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Add _testcapi.stack_pointer() to measure the C stack consumption
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file46992/stack_overflow-3.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30866>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to