On 8/24/2011 4:11 AM, Victor Stinner wrote: > Le 24/08/2011 06:59, Scott Dial a écrit : >> On 8/23/2011 6:38 PM, Victor Stinner wrote: >>> Le mardi 23 août 2011 00:14:40, Antoine Pitrou a écrit : >>>> - You could try to run stringbench, which can be found at >>>> http://svn.python.org/projects/sandbox/trunk/stringbench (*) >>>> and there's iobench (the text mode benchmarks) in the Tools/iobench >>>> directory. >>> >>> Some raw numbers. >>> >>> stringbench: >>> "147.07 203.07 72.4 TOTAL" for the PEP 393 >>> "146.81 140.39 104.6 TOTAL" for default >>> => PEP is 45% slower >> >> I ran the same benchmark and couldn't make a distinction in performance >> between them: > > Hum, are you sure that you used the PEP 383? Make sure that you are > using the pep-383 branch! I also started my benchmark on the wrong > branch :-)
You are right. I used the "Get Source" link on bitbucket to save pulling the whole clone, but the "Get Source" link seems to be whatever branch has the lastest revision (maybe?) even if you switch branches on the webpage. To correct my previous post: cpython.txt 183.26 177.97 103.0 TOTAL cpython-wide-unicode.txt 181.27 195.58 92.7 TOTAL pep-393.txt 181.40 270.34 67.1 TOTAL And, cpython.txt real 0m32.493s cpython-wide-unicode.txt real 0m33.489s pep-393.txt real 0m36.206s -- Scott Dial sc...@scottdial.com _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com