Message285057
Impact of the _PY_FASTCALL_SMALL_STACK constant:
* _PY_FASTCALL_SMALL_STACK=1: 528 bytes/call
test_python_call 7376
test_python_getitem 6544
test_python_iterator 5572
=> total: 19 492
* _PY_FASTCALL_SMALL_STACK=3: 528 bytes/call
test_python_call 7272
test_python_getitem 6464
test_python_iterator 5512
=> total: 19 248
* _PY_FASTCALL_SMALL_STACK=5 (current value): 560 bytes/call
test_python_call 7172
test_python_getitem 6232
test_python_iterator 5344
=> total: 19 636
* _PY_FASTCALL_SMALL_STACK=10: 592 bytes/call
test_python_call 6984
test_python_getitem 5952
test_python_iterator 5132
=> total: 18 068
Increasing _PY_FASTCALL_SMALL_STACK has a clear effect on the total. Total decreases when _PY_FASTCALL_SMALL_STACK increases.
---
no_small_stack.patch with _PY_FASTCALL_SMALL_STACK=3: 368 bytes/call
test_python_call 7272
test_python_getitem 6628
test_python_iterator 5632
=> total: 19 532 |
|
Date |
User |
Action |
Args |
2017-01-09 17:28:49 | vstinner | set | recipients:
+ vstinner, python-dev, serhiy.storchaka, xiang.zhang |
2017-01-09 17:28:49 | vstinner | set | messageid: <1483982929.57.0.104679788872.issue28870@psf.upfronthosting.co.za> |
2017-01-09 17:28:49 | vstinner | link | issue28870 messages |
2017-01-09 17:28:49 | vstinner | create | |
|