Blog "about python 3"
Antoine Pitrou
solipsis at pitrou.net
Thu Jan 2 18:57:56 EST 2014
Hi,
Robin Becker <robin <at> reportlab.com> writes:
>
> For fairly sensible reasons we changed the internal default to use unicode
> rather than bytes. After doing all that and making the tests compatible
etc etc
> I have a version which runs in both and passes all its tests. However, for
> whatever reason the python 3.3 version runs slower
>
> 2.7 Ran 223 tests in 66.578s
>
> 3.3 Ran 223 tests in 75.703s
Running a test suite is a completely broken benchmarking methodology.
You should isolate workloads you are interested in and write a benchmark
simulating them.
Regards
Antoine.
More information about the Python-list
mailing list