[New-bugs-announce] [issue16908] Enhancing performance and memory usage

Sworddragon report at bugs.python.org
Wed Jan 9 13:31:57 CET 2013


New submission from Sworddragon:

On my system (Linux 64 Bit) I figured out that python 3 needs a little more memory than python 2 and it is a little bit slower. Here are some examples:

sworddragon at ubuntu:~$ execution-time 'python2 -c print\("0"\)'
0.21738
sworddragon at ubuntu:~$ execution-time 'python2 -OO -c print\("0"\)'
0.22559
sworddragon at ubuntu:~$ execution-time 'python3 -c print\("0"\)'
0.37962
sworddragon at ubuntu:~$ execution-time 'python3 -OO -c print\("0"\)'
0.37825

Checking the memory usage after python 2 and python 3 are started in a terminal shows the following:

python2: RES 4780 / SHR: 2212
python3: RES 6168 / SHR: 2660

----------
components: Interpreter Core
messages: 179435
nosy: Sworddragon
priority: normal
severity: normal
status: open
title: Enhancing performance and memory usage
type: enhancement
versions: Python 3.3

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


More information about the New-bugs-announce mailing list