Movatterモバイル変換
[0]ホーム
[Python-Dev] PEP for new dictionary implementation
Antoine Pitrousolipsis at pitrou.net
Thu Feb 16 21:45:47 CET 2012
On Wed, 08 Feb 2012 19:18:14 +0000Mark Shannon <mark at hotpy.org> wrote:> Proposed PEP for new dictionary implementation, PEP 410?> is attached.>So, I'm running a few benchmarks using Twisted's test suite(seehttps://bitbucket.org/pitrou/t3k/wiki/Home).At the end of `python -i bin/trial twisted.internet.test`:-> vanilla 3.3: RSS = 94 MB-> new dict: RSS = 91 MBAt the end of `python -i bin/trial twisted.python.test`:-> vanilla 3.3: RSS = 31.5 MB-> new dict: RSS = 30 MBAt the end of `python -i bin/trial twisted.conch.test`:-> vanilla 3.3: RSS = 68 MB-> new dict: RSS = 42 MB (!)At the end of `python -i bin/trial twisted.trial.test`:-> vanilla 3.3: RSS = 32 MB-> new dict: RSS = 30 MBAt the end of `python -i bin/trial twisted.test`:-> vanilla 3.3: RSS = 62 MB-> new dict: RSS = 78 MB (!)Runtimes were mostly similar in these test runs.Perspective broker benchmark (doc/core/benchmarks/tpclient.py anddoc/core/benchmarks/tpserver.py):-> vanilla 3.3: 422 MB/sec-> new dict: 402 MB/secRegardsAntoine.
More information about the Python-Devmailing list
[8]ページ先頭