[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread STINNER Victor
STINNER Victor added the comment: I checked stringbench: there is no more performance regression (difference of more than 20%). -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 75648db1b3f3 by Victor Stinner in branch 'default': Issue #13623: Fix a performance regression introduced by issue #12170 in http://hg.python.org/cpython/rev/75648db1b3f3 -- nosy: +python-dev ___ Python

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread STINNER Victor
Changes by STINNER Victor : Added file: http://bugs.python.org/file24013/bytes_find-2.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread STINNER Victor
Changes by STINNER Victor : Removed file: http://bugs.python.org/file24012/bytes_find-2.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread STINNER Victor
STINNER Victor added the comment: bytes_find.patch only works for Python int, not object with the __index__ method. My new patch (bytes_find-2.patch) uses PyNumber_Check() instead of PyLong_Check() to be more generic. It fixes also a different issue: raise the same ValueError than bytes.find(

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread STINNER Victor
STINNER Victor added the comment: > (b"A"*1000).find(b"A"): -70% This one is a performance regression introduced by #12170. Attached patch checks object type before trying a conversion to size_t instead of catching an exception. -- keywords: +patch Added file: http://bugs.python.

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread STINNER Victor
STINNER Victor added the comment: See also the issue #13621 for results on Unicode. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread STINNER Victor
STINNER Victor added the comment: Grouped results. find (first): - (b"A"*1000).find(b"A"): -70% - (b"A"*1000).rfind(b"A") : -70% - (b"A"*1000).index(b"A") : -71% - (b"A"*1000).rindex(b"A") : -68% - (b"AB"*1000).index(b"AB") : -68% - (b"AB"*1000).rindex(b"AB"): -67% - (b"AB"*1000).fin

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread Boris FELD
Changes by Boris FELD : Added file: http://bugs.python.org/file24002/stringbench_log_cpython3.3 ___ Python tracker ___ ___ Python-bugs-list ma

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread Boris FELD
Changes by Boris FELD : Removed file: http://bugs.python.org/file24000/iobench_log_python3.3 ___ Python tracker ___ ___ Python-bugs-list maili

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread Boris FELD
Changes by Boris FELD : Added file: http://bugs.python.org/file24001/compare.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread Boris FELD
Changes by Boris FELD : Added file: http://bugs.python.org/file24000/iobench_log_python3.3 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13623] Bytes performance regression in python3.3 vs python3.2

2011-12-17 Thread Boris FELD
New submission from Boris FELD : Hello everyone, I juste tried to launch the stringbench on python3.2 and python3.3 dev versions and some bytes tests run slower in python3.3 than in python3.2. I cc the two raw output of both runs. I also extracted most interesting data (all the tests with mor