Message179435
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 |
|
Date |
User |
Action |
Args |
2013-01-09 12:31:57 | Sworddragon | set | recipients:
+ Sworddragon |
2013-01-09 12:31:57 | Sworddragon | set | messageid: <1357734717.89.0.0863381712936.issue16908@psf.upfronthosting.co.za> |
2013-01-09 12:31:57 | Sworddragon | link | issue16908 messages |
2013-01-09 12:31:57 | Sworddragon | create | |
|