Rewrite of EUC_TW

Ulf Zibis Ulf.Zibis at gmx.de
Thu May 14 20:44:04 UTC 2009


Am 13.05.2009 05:42, Xueming Shen schrieb:
> Ulf Zibis wrote:
>>
>>>
>>> Hope this is really a final one:-) the performance data looks good 
>>> enough for me, yesterday and today's tweak
>>> seems to be helpful, thanks Ulf!
>>
>> Could you share the new performance data ?
>>


Regrettably I can't compare your results against the results from day 
before (without the tweaks suggested from my side), as it seems you have 
used different algorithm. :-(

-Ulf


> I simply ran the test case TestEUC_TW attached in the test case, set 
> the iteration set to 200, run with
> BMP characters only, supplementary characters only and mixed.
>
> http://cr.openjdk.java.net/~sherman/6831794_6229811/webrev/test/sun/nio/cs/TestEUC_TW.java.html 
>
>
> Though this is not a real benchmark, the data does say something.
>
> BMP -client:
>    Encoding TimeRatio EUC_TW_OLD/x-EUC-TW: 14178,3350 :4.232239
>    Decoding TimeRatio EUC_TW_OLD/x-EUC-TW: 5061,3538 :1.430469
>    Encoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 17917,7431 :2.411116
>    Decoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 7966,6859 :1.161394
>
> SUPP -client
>    Encoding TimeRatio EUC_TW_OLD/x-EUC-TW: 72054,7165 :10.056385
>    Decoding TimeRatio EUC_TW_OLD/x-EUC-TW: 7912,5550 :1.425586
>    Encoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 78578,12924 :6.080006
>    Decoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 13198,11483 :1.149351
>
> Mixed -client
>    Encoding TimeRatio EUC_TW_OLD/x-EUC-TW: 73012,7499 :9.736231
>    Decoding TimeRatio EUC_TW_OLD/x-EUC-TW: 7952,5549 :1.433051
>    Encoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 77963,13116 :5.944114
>    Decoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 13139,11727 :1.120406
>
> BMP -server:
>    Encoding TimeRatio EUC_TW_OLD/x-EUC-TW: 13164,3479 :3.783846
>    Decoding TimeRatio EUC_TW_OLD/x-EUC-TW: 4703,2304 :2.041233
>    Encoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 13758,3572 :3.851624
>    Decoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 5370,3421 :1.569716
>
> SUPP -server
>    Encoding TimeRatio EUC_TW_OLD/x-EUC-TW: 67307,5540 :12.149278
>    Decoding TimeRatio EUC_TW_OLD/x-EUC-TW: 5825,4434 :1.313712
>    Encoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 68738,5710 :12.038179
>    Decoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 5980,4104 :1.457115
>
> Mixed -server
>    Encoding TimeRatio EUC_TW_OLD/x-EUC-TW: 67568,5465 :12.363769
>    Decoding TimeRatio EUC_TW_OLD/x-EUC-TW: 6323,4421 :1.430219
>    Encoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 68766,5767 :11.924051
>    Decoding(dir) TimeRatio EUC_TW_OLD/x-EUC-TW: 5637,4040 :1.395297
>
>




More information about the core-libs-dev mailing list