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@ubuntu:~$ execution-time 'python2 -c print\("0"\)'
0.21738
sworddragon@ubuntu:~$ execution-time 'python2 -OO -c print\("0"\)'
0.22559
sworddragon@ubuntu:~$ execution-time 'python3 -c print\("0"\)'
0.37962
sworddragon@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16908>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to