This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Boris.FELD
Recipients Boris.FELD, collinwinter
Date 2011-12-17.17:53:49
SpamBayes Score 1.0452459e-05
Marked as misclassified No
Message-id <1324144430.24.0.0465660737169.issue13622@psf.upfronthosting.co.za>
In-reply-to
Content
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 more than 20% of performance regression):
- (b"A"*1000).find(b"B") (*1000): -30.379747%
- b"Hello\t   \t".rstrip() (*1000): -33.333333%
- b"this\nis\na\ntest\n".rsplit(b"\n") (*1000): -23.437500%
- b"\nHello!\n".strip() (*1000): -33.333333%
- dna.split(b"ACTAT") (*10): -21.066667%
- b"Andrew".endswith(b"w") (*1000): -23.529412%
- b"...text.with.2000.lines...replace(b"\n", b" ") (*10): -37.668161%
- b"\t   \tHello".rstrip() (*1000): -33.333333%
- (b"A"*1000).rpartition(b"A") (*1000): -21.212121%
- (b"Here are some words. "*2).split() (*1000): -22.105263%
- b"this\nis\na\ntest\n".split(b"\n") (*1000): -23.437500%
- b"Hello!\n".rstrip() (*1000): -35.714286%
- b"B" in b"A"*1000 (*1000): -32.089552%
- b"Hello!\n".strip() (*1000): -35.714286%
- b"\nHello!".strip() (*1000): -28.571429%
- b"Andrew".startswith(b"A") (*1000): -20.588235%
- b"\nHello!".rstrip() (*1000): -35.714286%
- b"Andrew".endswith(b"Andrew") (*1000): -22.857143%
- b"Andrew".endswith(b"Anders") (*1000): -23.529412%
- b"Andrew".startswith(b"Anders") (*1000): -23.529412%
- b"this--is--a--test--of--the--emergency--broadcast--system".split(b"--") (*1000): -22.429907%
- b"Andrew"+b"Dalke" (*1000): -23.076923%

Hope it help
History
Date User Action Args
2011-12-17 17:53:51Boris.FELDsetrecipients: + Boris.FELD, collinwinter
2011-12-17 17:53:50Boris.FELDsetmessageid: <1324144430.24.0.0465660737169.issue13622@psf.upfronthosting.co.za>
2011-12-17 17:53:49Boris.FELDlinkissue13622 messages
2011-12-17 17:53:49Boris.FELDcreate