[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-09-15 Thread STINNER Victor
STINNER Victor added the comment: I added the function to the master branch. I changed my mind. I now consider that the function is no needed in other branches. It can be added manually if someone needs it. -- resolution: -> fixed stage: -> resolved status: open -> closed versions:

[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-07-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 64fa449f559b0e7b0480a177000419a78ebcf3ff by Victor Stinner in branch 'master': bpo-30866: Add _testcapi.stack_pointer() (#2601) https://github.com/python/cpython/commit/64fa449f559b0e7b0480a177000419a78ebcf3ff --

[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-07-06 Thread STINNER Victor
STINNER Victor added the comment: I just published my blog post: "My contributions to CPython during 2017 Q1" https://haypo.github.io/contrib-cpython-2017q1.html See the "Stack consumption" section. -- ___ Python tracker

[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-07-06 Thread STINNER Victor
STINNER Victor added the comment: > Usually we first merge a patch in master and after that cherry-pick it to > other branches. Right. But in this case, I needed the patch for each branch, to run the test on all branches to write a blog post :-) Here are results (blog post spoiler!): Table

[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-07-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Usually we first merge a patch in master and after that cherry-pick it to other branches. -- ___ Python tracker ___

[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-07-06 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2671 ___ Python tracker ___ ___

[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-07-06 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2670 ___ Python tracker ___ ___

[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-07-06 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2669 ___ Python tracker ___ ___

[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-07-06 Thread STINNER Victor
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

[issue30866] Add _testcapi.stack_pointer() to measure the C stack consumption

2017-07-06 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2668 ___ Python tracker ___ ___