EUC-TW Decoder up to 100% faster, especially on ASCII on JDK-7 -server
Ulf Zibis
Ulf.Zibis at gmx.de
Thu Aug 20 21:31:25 UTC 2009
Now also faster for double/quad bytes:
java.version : 1.7.0-ea
java.vm.version : 16.0-b07
time to instantiate EUC_TW_xueming: 7571 µs
time to instantiate EUC_TW_int: 3758 µs
time to instantiate EUC_TW: 3294 µs
time to instantiate EUC_TW_ASCII_inl: 3823 µs
time to init decoder EUC_TW_xueming: 7117 µs
time to init encoder EUC_TW_xueming: 31024 µs
time to init decoder EUC_TW_int: 7030 µs
time to init encoder EUC_TW_int: 21805 µs
time to init decoder EUC_TW: 7727 µs
time to init encoder EUC_TW: 27897 µs
time to init decoder EUC_TW_ASCII_inl: 7464 µs
time to init encoder EUC_TW_ASCII_inl: 22535 µs
time to instantiate TestEUC_TW: 1481 µs
time for warm up 1: 1116 ms
time for warm up 2: 941 ms
time for warm up 3: 939 ms
time for warm up 4: 962 ms
time for EUC_TW_xueming ASCII decode: 489 ms
time for EUC_TW_int ASCII decode: 286 ms
time for EUC_TW ASCII decode: 256 ms
time for EUC_TW_ASCII_inl ASCII decode: 260 ms
time for EUC_TW_xueming Plane0 decode: 699 ms
time for EUC_TW_int Plane0 decode: 617 ms
time for EUC_TW Plane0 decode: 594 ms
time for EUC_TW_ASCII_inl Plane0 decode: 642 ms
time for EUC_TW_xueming Plane2 decode: 378 ms
time for EUC_TW_int Plane2 decode: 358 ms
time for EUC_TW Plane2 decode: 355 ms
time for EUC_TW_ASCII_inl Plane2 decode: 367 ms
time for EUC_TW_xueming Plane15 decode: 519 ms
time for EUC_TW_int Plane15 decode: 816 ms
time for EUC_TW Plane15 decode: 476 ms
time for EUC_TW_ASCII_inl Plane15 decode: 761 ms
last warm up ./. test loops: 1.2208825
-Ulf
More information about the core-libs-dev
mailing list