Author serhiy.storchaka
Recipients Ringding, belopolsky, dangra, ezio.melotti, lemburg, pitrou, serhiy.storchaka, sjmachin, spatz123, vstinner
Date 2012-05-26.08:50:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338022236.18.0.409977538956.issue8271@psf.upfronthosting.co.za>
In-reply-to
Content
Here are the benchmark results (numbers are speed, MB/s).

On 32-bit Linux, AMD Athlon 64 X2:

                                          vanilla      patched

utf-8     'A'*10000                       2016 (+5%)   2111
utf-8     '\x80'*10000                    383 (+9%)    416
utf-8       '\x80'+'A'*9999               1283 (+1%)   1301
utf-8     '\u0100'*10000                  383 (-8%)    354
utf-8       '\u0100'+'A'*9999             1258 (-6%)   1184
utf-8       '\u0100'+'\x80'*9999          383 (-8%)    354
utf-8     '\u8000'*10000                  434 (-11%)   388
utf-8       '\u8000'+'A'*9999             1262 (-6%)   1180
utf-8       '\u8000'+'\x80'*9999          383 (-8%)    354
utf-8       '\u8000'+'\u0100'*9999        383 (-8%)    354
utf-8     '\U00010000'*10000              358 (+1%)    361
utf-8       '\U00010000'+'A'*9999         1168 (-5%)   1104
utf-8       '\U00010000'+'\x80'*9999      382 (-20%)   307
utf-8       '\U00010000'+'\u0100'*9999    382 (-20%)   307
utf-8       '\U00010000'+'\u8000'*9999    404 (-10%)   365

On 32-bit Linux, Intel Atom N570:

                                          vanilla      patched

ascii     'A'*10000                       789 (+1%)    800

latin1    'A'*10000                       796 (-2%)    781
latin1        'A'*9999+'\x80'             779 (+1%)    789
latin1    '\x80'*10000                    1739 (-3%)   1690
latin1      '\x80'+'A'*9999               1747 (+1%)   1773

utf-8     'A'*10000                       623 (+1%)    631
utf-8     '\x80'*10000                    145 (+14%)   165
utf-8       '\x80'+'A'*9999               354 (+1%)    358
utf-8     '\u0100'*10000                  164 (-5%)    156
utf-8       '\u0100'+'A'*9999             343 (+2%)    350
utf-8       '\u0100'+'\x80'*9999          164 (-4%)    157
utf-8     '\u8000'*10000                  175 (-5%)    166
utf-8       '\u8000'+'A'*9999             349 (+2%)    356
utf-8       '\u8000'+'\x80'*9999          164 (-4%)    157
utf-8       '\u8000'+'\u0100'*9999        164 (-4%)    157
utf-8     '\U00010000'*10000              152 (+7%)    163
utf-8       '\U00010000'+'A'*9999         313 (+6%)    332
utf-8       '\U00010000'+'\x80'*9999      161 (-13%)   140
utf-8       '\U00010000'+'\u0100'*9999    161 (-14%)   139
utf-8       '\U00010000'+'\u8000'*9999    160 (-1%)    159
History
Date User Action Args
2012-05-26 08:50:36serhiy.storchakasetrecipients: + serhiy.storchaka, lemburg, sjmachin, belopolsky, pitrou, vstinner, ezio.melotti, Ringding, dangra, spatz123
2012-05-26 08:50:36serhiy.storchakasetmessageid: <1338022236.18.0.409977538956.issue8271@psf.upfronthosting.co.za>
2012-05-26 08:50:35serhiy.storchakalinkissue8271 messages
2012-05-26 08:50:35serhiy.storchakacreate