Last active
February 20, 2017 14:11
-
-
Save frabbit/fb4411b91529e0c6c12f4e9d1a0705e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charCodeAt 1 native 0 : 1x | |
charCodeAt 1 ucs2 0.0001 : 1.4x | |
charCodeAt 1 utf32 0.0001 : 1.12x | |
charCodeAt 1 utf8 0.0002 : 2.27x | |
charCodeAt 1 utf16 0.0001 : 1.49x | |
charCodeAt n native 0 : 1x | |
charCodeAt n ucs2 0.0001 : 1.46x | |
charCodeAt n utf32 0.0001 : 1.08x | |
charCodeAt n utf8 0.1279 : 1279.94x | |
charCodeAt n utf16 0.0918 : 918.07x | |
charCodeAt n/2 native 0 : 1x | |
charCodeAt n/2 ucs2 0.0001 : 1.53x | |
charCodeAt n/2 utf32 0.0001 : 1.17x | |
charCodeAt n/2 utf8 0.0621 : 621.92x | |
charCodeAt n/2 utf16 0.0467 : 467.61x | |
fastCodeAt 1 native 0 : 1x | |
fastCodeAt 1 ucs2 0 : 1x | |
fastCodeAt 1 utf32 0 : 1x | |
fastCodeAt 1 utf8 0.0001 : 1.95x | |
fastCodeAt 1 utf16 0.0001 : 1.57x | |
fastCodeAt n native 0 : 1x | |
fastCodeAt n ucs2 0 : 1x | |
fastCodeAt n utf32 0 : 1x | |
fastCodeAt n utf8 0.1098 : 1098.26x | |
fastCodeAt n utf16 0.0792 : 792.07x | |
fastCodeAt n/2 native 0 : 1x | |
fastCodeAt n/2 ucs2 0.0001 : 1.05x | |
fastCodeAt n/2 utf32 0 : 1x | |
fastCodeAt n/2 utf8 0.0578 : 578.65x | |
fastCodeAt n/2 utf16 0.0363 : 363.96x | |
indexOf native 0.0002 : 1x | |
indexOf ucs2 0.0031 : 13.13x | |
indexOf utf32 0.0057 : 24.4x | |
indexOf utf8 0.0111 : 46.8x | |
indexOf utf16 0.0034 : 14.47x | |
lastIndexOf native 0.0001 : 1x | |
lastIndexOf ucs2 0.0021 : 12.28x | |
lastIndexOf utf32 0.0038 : 22.72x | |
lastIndexOf utf8 0.1647 : 963.56x | |
lastIndexOf utf16 0.053 : 310.3x | |
length native 0 : 1x | |
length ucs2 0.0001 : 1.08x | |
length utf32 0 : 1x | |
length utf8 0 : 1x | |
length utf16 0.0001 : 1.01x | |
split native 0.0033 : 1x | |
split ucs2 0.0423 : 12.68x | |
split utf32 0.0877 : 26.26x | |
split utf8 0.1823 : 54.58x | |
split utf16 0.097 : 29.03x | |
substr native 0 : 1x | |
substr ucs2 0.0005 : 5.03x | |
substr utf32 0.0002 : 2.09x | |
substr utf8 0.0207 : 207.97x | |
substr utf16 0.018 : 180.29x | |
substring native 0 : 1x | |
substring ucs2 0.0001 : 1.56x | |
substring utf32 0.0002 : 2.06x | |
substring utf8 0.0159 : 159.85x | |
substring utf16 0.0155 : 155.57x | |
toLowerCase native 0.001 : 1x | |
toLowerCase ucs2 0.0106 : 10.23x | |
toLowerCase utf32 0.0178 : 17.22x | |
toLowerCase utf8 0.072 : 69.54x | |
toLowerCase utf16 0.0389 : 37.63x | |
toUpperCase native 0.001 : 1x | |
toUpperCase ucs2 0.0107 : 9.91x | |
toUpperCase utf32 0.0167 : 15.43x | |
toUpperCase utf8 0.0852 : 78.68x | |
toUpperCase utf16 0.0375 : 34.63x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charCodeAt 1 native 0 : 1x | |
charCodeAt 1 ucs2 0 : 1x | |
charCodeAt 1 utf32 0 : 1x | |
charCodeAt 1 utf8 0 : 1x | |
charCodeAt 1 utf16 0 : 1x | |
charCodeAt n native 0 : 1x | |
charCodeAt n ucs2 0 : 1x | |
charCodeAt n utf32 0 : 1x | |
charCodeAt n utf8 0.019 : 190.86x | |
charCodeAt n utf16 0.0073 : 73.08x | |
charCodeAt n/2 native 0.0003 : 1x | |
charCodeAt n/2 ucs2 0.0001 : 0.27x | |
charCodeAt n/2 utf32 0.0002 : 0.52x | |
charCodeAt n/2 utf8 0.0097 : 25.09x | |
charCodeAt n/2 utf16 0.0038 : 9.95x | |
fastCodeAt 1 native 0 : 1x | |
fastCodeAt 1 ucs2 0 : 1x | |
fastCodeAt 1 utf32 0 : 1x | |
fastCodeAt 1 utf8 0 : 1x | |
fastCodeAt 1 utf16 0 : 1x | |
fastCodeAt n native 0 : 1x | |
fastCodeAt n ucs2 0 : 1x | |
fastCodeAt n utf32 0 : 1x | |
fastCodeAt n utf8 0.0195 : 195.53x | |
fastCodeAt n utf16 0.0061 : 61.82x | |
fastCodeAt n/2 native 0.0001 : 1x | |
fastCodeAt n/2 ucs2 0.0001 : 0.75x | |
fastCodeAt n/2 utf32 0.0001 : 0.89x | |
fastCodeAt n/2 utf8 0.0099 : 73.09x | |
fastCodeAt n/2 utf16 0.0033 : 24.61x | |
indexOf native 0.001 : 1x | |
indexOf ucs2 0.0001 : 0.13x | |
indexOf utf32 0.0005 : 0.55x | |
indexOf utf8 0.0008 : 0.76x | |
indexOf utf16 0.0008 : 0.76x | |
lastIndexOf native 0.0041 : 1x | |
lastIndexOf ucs2 0.0001 : 0.02x | |
lastIndexOf utf32 0.0005 : 0.12x | |
lastIndexOf utf8 0.0102 : 2.48x | |
lastIndexOf utf16 0.0053 : 1.3x | |
length native 0 : 1x | |
length ucs2 0 : 1x | |
length utf32 0 : 1x | |
length utf8 0 : 1x | |
length utf16 0 : 1x | |
split native 0.0066 : 1x | |
split ucs2 0.0044 : 0.66x | |
split utf32 0.011 : 1.65x | |
split utf8 0.017 : 2.54x | |
split utf16 0.0182 : 2.72x | |
substr native 0.0002 : 1x | |
substr ucs2 0.0002 : 0.72x | |
substr utf32 0.0002 : 0.79x | |
substr utf8 0.0029 : 10.44x | |
substr utf16 0.0036 : 12.91x | |
substring native 0.0002 : 1x | |
substring ucs2 0.0001 : 0.67x | |
substring utf32 0.0002 : 1.04x | |
substring utf8 0.003 : 10.64x | |
substring utf16 0.0036 : 12.68x | |
toLowerCase native 0.0035 : 1x | |
toLowerCase ucs2 0.0027 : 0.76x | |
toLowerCase utf32 0.0025 : 0.7x | |
toLowerCase utf8 0.0057 : 1.62x | |
toLowerCase utf16 0.003 : 0.87x | |
toUpperCase native 0.0039 : 1x | |
toUpperCase ucs2 0.0027 : 0.7x | |
toUpperCase utf32 0.0028 : 0.71x | |
toUpperCase utf8 0.0057 : 1.46x | |
toUpperCase utf16 0.0028 : 0.73x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charCodeAt 1 native 0 : 1x | |
charCodeAt 1 ucs2 0 : 1x | |
charCodeAt 1 utf32 0 : 1x | |
charCodeAt 1 utf8 0 : 1x | |
charCodeAt 1 utf16 0 : 1x | |
charCodeAt n native 0 : 1x | |
charCodeAt n ucs2 0 : 1x | |
charCodeAt n utf32 0 : 1x | |
charCodeAt n utf8 0.016 : 160x | |
charCodeAt n utf16 0.0059 : 59.99x | |
charCodeAt n/2 native 9.0E-4 : 1x | |
charCodeAt n/2 ucs2 0.001 : 1x | |
charCodeAt n/2 utf32 0 : 0.1x | |
charCodeAt n/2 utf8 0.0139 : 14x | |
charCodeAt n/2 utf16 0.013 : 13x | |
fastCodeAt 1 native 0 : 1x | |
fastCodeAt 1 ucs2 0 : 1x | |
fastCodeAt 1 utf32 9.0E-4 : 9.99x | |
fastCodeAt 1 utf8 0 : 1x | |
fastCodeAt 1 utf16 0 : 1x | |
fastCodeAt n native 0 : 1x | |
fastCodeAt n ucs2 0 : 1x | |
fastCodeAt n utf32 0 : 1x | |
fastCodeAt n utf8 0.0109 : 109.99x | |
fastCodeAt n utf16 0.003 : 30x | |
fastCodeAt n/2 native 9.0E-4 : 1x | |
fastCodeAt n/2 ucs2 0 : 0.1x | |
fastCodeAt n/2 utf32 0 : 0.1x | |
fastCodeAt n/2 utf8 0.011 : 11x | |
fastCodeAt n/2 utf16 0.0099 : 10x | |
indexOf native 0 : 1x | |
indexOf ucs2 0 : 1x | |
indexOf utf32 0.003 : 30x | |
indexOf utf8 0.003 : 30x | |
indexOf utf16 0.006 : 60x | |
lastIndexOf native 9.0E-4 : 1x | |
lastIndexOf ucs2 0 : 0.1x | |
lastIndexOf utf32 0.0029 : 3x | |
lastIndexOf utf8 0.016 : 16x | |
lastIndexOf utf16 0.026 : 26x | |
length native 0 : 1x | |
length ucs2 0 : 1x | |
length utf32 0 : 1x | |
length utf8 0 : 1x | |
length utf16 0 : 1x | |
split native 0.004 : 1x | |
split ucs2 0 : 0.02x | |
split utf32 0.0189 : 4.74x | |
split utf8 0.0349 : 8.74x | |
split utf16 0.048 : 11.99x | |
substr native 0 : 1x | |
substr ucs2 0 : 1x | |
substr utf32 9.0E-4 : 9.99x | |
substr utf8 0.0059 : 59.99x | |
substr utf16 0.0099 : 99.99x | |
substring native 0 : 1x | |
substring ucs2 0 : 1x | |
substring utf32 0 : 1x | |
substring utf8 0.015 : 150x | |
substring utf16 0.015 : 150x | |
toLowerCase native 0.008 : 1x | |
toLowerCase ucs2 0.006 : 0.74x | |
toLowerCase utf32 0.0079 : 0.99x | |
toLowerCase utf8 0.006 : 0.74x | |
toLowerCase utf16 0.009 : 1.12x | |
toUpperCase native 0.009 : 1x | |
toUpperCase ucs2 0.006 : 0.66x | |
toUpperCase utf32 0.009 : 1x | |
toUpperCase utf8 0.009 : 1x | |
toUpperCase utf16 0.0109 : 1.22x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charCodeAt 1 native 0 : 1x | |
charCodeAt 1 ucs2 0 : 1x | |
charCodeAt 1 utf32 0 : 1x | |
charCodeAt 1 utf8 0.0009 : 9.99x | |
charCodeAt 1 utf16 0 : 1x | |
charCodeAt n native 0 : 1x | |
charCodeAt n ucs2 0 : 1x | |
charCodeAt n utf32 0.0009 : 9.99x | |
charCodeAt n utf8 0.0759 : 759.99x | |
charCodeAt n utf16 0.025 : 250x | |
charCodeAt n/2 native 0 : 1x | |
charCodeAt n/2 ucs2 0.001 : 10x | |
charCodeAt n/2 utf32 0 : 1x | |
charCodeAt n/2 utf8 0.04 : 400x | |
charCodeAt n/2 utf16 0.0139 : 139.99x | |
fastCodeAt 1 native 0 : 1x | |
fastCodeAt 1 ucs2 0.0009 : 9.99x | |
fastCodeAt 1 utf32 0 : 1x | |
fastCodeAt 1 utf8 0.0009 : 9.99x | |
fastCodeAt 1 utf16 0.0009 : 9.99x | |
fastCodeAt n native 0 : 1x | |
fastCodeAt n ucs2 0 : 1x | |
fastCodeAt n utf32 0 : 1x | |
fastCodeAt n utf8 0.07 : 700x | |
fastCodeAt n utf16 0.0179 : 179.99x | |
fastCodeAt n/2 native 0.0009 : 1x | |
fastCodeAt n/2 ucs2 0 : 0.1x | |
fastCodeAt n/2 utf32 0.0009 : 1x | |
fastCodeAt n/2 utf8 0.0339 : 34x | |
fastCodeAt n/2 utf16 0.011 : 11x | |
indexOf native 0 : 1x | |
indexOf ucs2 0 : 1x | |
indexOf utf32 0.002 : 20x | |
indexOf utf8 0.003 : 30x | |
indexOf utf16 0.003 : 30x | |
lastIndexOf native 0.0009 : 1x | |
lastIndexOf ucs2 0 : 0.1x | |
lastIndexOf utf32 0.002 : 2x | |
lastIndexOf utf8 0.0469 : 47x | |
lastIndexOf utf16 0.0199 : 20x | |
length native 0 : 1x | |
length ucs2 0 : 1x | |
length utf32 0 : 1x | |
length utf8 0 : 1x | |
length utf16 0 : 1x | |
split native 0 : 1x | |
split ucs2 0.0009 : 9.99x | |
split utf32 0.0469 : 469.99x | |
split utf8 0.1369 : 1369.99x | |
split utf16 0.148 : 1480x | |
substr native 0 : 1x | |
substr ucs2 0.0009 : 9.99x | |
substr utf32 0.0009 : 9.99x | |
substr utf8 0.0199 : 199.99x | |
substr utf16 0.0149 : 149.99x | |
substring native 0 : 1x | |
substring ucs2 0 : 1x | |
substring utf32 0.001 : 10x | |
substring utf8 0.0159 : 159.99x | |
substring utf16 0.015 : 150x | |
toLowerCase native 0.0009 : 1x | |
toLowerCase ucs2 0 : 0.1x | |
toLowerCase utf32 0.0139 : 14x | |
toLowerCase utf8 0.017 : 17x | |
toLowerCase utf16 0.0069 : 7x | |
toUpperCase native 0.001 : 1x | |
toUpperCase ucs2 0 : 0.09x | |
toUpperCase utf32 0.006 : 5.99x | |
toUpperCase utf8 0.0179 : 17.99x | |
toUpperCase utf16 0.005 : 4.99x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charCodeAt 1 native 0.0002 : 1x | |
charCodeAt 1 ucs2 0 : 0.43x | |
charCodeAt 1 utf32 0 : 0.43x | |
charCodeAt 1 utf8 0 : 0.43x | |
charCodeAt 1 utf16 0.0003 : 1.48x | |
charCodeAt n native 0.0004 : 1x | |
charCodeAt n ucs2 0 : 0.21x | |
charCodeAt n utf32 0 : 0.21x | |
charCodeAt n utf8 0.0307 : 65.5x | |
charCodeAt n utf16 0.3674 : 781.62x | |
charCodeAt n/2 native 0.0004 : 1x | |
charCodeAt n/2 ucs2 0 : 0.21x | |
charCodeAt n/2 utf32 0 : 0.21x | |
charCodeAt n/2 utf8 0.0146 : 31.61x | |
charCodeAt n/2 utf16 0.1817 : 391.43x | |
fastCodeAt 1 native 0 : 1x | |
fastCodeAt 1 ucs2 0 : 1x | |
fastCodeAt 1 utf32 0 : 1x | |
fastCodeAt 1 utf8 0 : 1x | |
fastCodeAt 1 utf16 0.0001 : 1.83x | |
fastCodeAt n native 0.0001 : 1x | |
fastCodeAt n ucs2 0 : 0.66x | |
fastCodeAt n utf32 0 : 0.66x | |
fastCodeAt n utf8 0.0305 : 202.43x | |
fastCodeAt n utf16 0.3651 : 2419.19x | |
fastCodeAt n/2 native 0.0001 : 1x | |
fastCodeAt n/2 ucs2 0 : 0.6x | |
fastCodeAt n/2 utf32 0 : 0.6x | |
fastCodeAt n/2 utf8 0.0153 : 92.21x | |
fastCodeAt n/2 utf16 0.1841 : 1109.73x | |
indexOf native 0 : 1x | |
indexOf ucs2 0.0002 : 2.98x | |
indexOf utf32 0.0012 : 12.54x | |
indexOf utf8 0.0006 : 6.2x | |
indexOf utf16 0.0155 : 155.42x | |
lastIndexOf native 0.0005 : 1x | |
lastIndexOf ucs2 0.0002 : 0.51x | |
lastIndexOf utf32 0.0004 : 0.8x | |
lastIndexOf utf8 0.0068 : 11.96x | |
lastIndexOf utf16 0.2214 : 387.07x | |
length native 0 : 1x | |
length ucs2 0 : 1x | |
length utf32 0 : 1x | |
length utf8 0 : 1x | |
length utf16 0 : 1x | |
split native 0.0018 : 1x | |
split ucs2 0.0203 : 10.84x | |
split utf32 0.044 : 23.48x | |
split utf8 0.0183 : 9.78x | |
split utf16 0.2724 : 145.4x | |
substr native 0 : 1x | |
substr ucs2 0.0026 : 26.36x | |
substr utf32 0.0048 : 48.61x | |
substr utf8 0.0094 : 94.33x | |
substr utf16 0.0428 : 428.74x | |
substring native 0 : 1x | |
substring ucs2 0.0032 : 32.41x | |
substring utf32 0.005 : 50.33x | |
substring utf8 0.003 : 30.52x | |
substring utf16 0.0281 : 281x | |
toLowerCase native 0.0007 : 1x | |
toLowerCase ucs2 0.0596 : 83.12x | |
toLowerCase utf32 0.1034 : 144.12x | |
toLowerCase utf8 0.009 : 12.63x | |
toLowerCase utf16 0.054 : 75.29x | |
toUpperCase native 0.0003 : 1x | |
toUpperCase ucs2 0.0629 : 179.9x | |
toUpperCase utf32 0.1047 : 299.19x | |
toUpperCase utf8 0.008 : 23.05x | |
toUpperCase utf16 0.0608 : 173.88x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charCodeAt 1 native 0 : 1x | |
charCodeAt 1 ucs2 0.0001 : 1.89x | |
charCodeAt 1 utf32 0.0001 : 1.78x | |
charCodeAt 1 utf8 0.0002 : 2.51x | |
charCodeAt 1 utf16 0.0002 : 2.31x | |
charCodeAt n native 0 : 1x | |
charCodeAt n ucs2 0.0001 : 1.74x | |
charCodeAt n utf32 0.0002 : 2.03x | |
charCodeAt n utf8 0.2821 : 2821.49x | |
charCodeAt n utf16 0.3003 : 3003.99x | |
charCodeAt n/2 native 0.0001 : 1x | |
charCodeAt n/2 ucs2 0.0002 : 1.71x | |
charCodeAt n/2 utf32 0.0002 : 1.89x | |
charCodeAt n/2 utf8 0.1388 : 1137.82x | |
charCodeAt n/2 utf16 0.1502 : 1231.24x | |
fastCodeAt 1 native 0 : 1x | |
fastCodeAt 1 ucs2 0 : 1x | |
fastCodeAt 1 utf32 0.0001 : 1.1x | |
fastCodeAt 1 utf8 0.0002 : 2.19x | |
fastCodeAt 1 utf16 0.0002 : 2.05x | |
fastCodeAt n native 0 : 1x | |
fastCodeAt n ucs2 0.0001 : 1.11x | |
fastCodeAt n utf32 0.0001 : 1.31x | |
fastCodeAt n utf8 0.2504 : 2504.91x | |
fastCodeAt n utf16 0.2804 : 2804.12x | |
fastCodeAt n/2 native 0 : 1x | |
fastCodeAt n/2 ucs2 0.0001 : 1.58x | |
fastCodeAt n/2 utf32 0.0001 : 1.62x | |
fastCodeAt n/2 utf8 0.1259 : 1259.38x | |
fastCodeAt n/2 utf16 0.136 : 1360.25x | |
indexOf native 0.0002 : 1x | |
indexOf ucs2 0.0054 : 18.63x | |
indexOf utf32 0.0097 : 33.38x | |
indexOf utf8 0.0186 : 64x | |
indexOf utf16 0.0138 : 47.57x | |
lastIndexOf native 0.0035 : 1x | |
lastIndexOf ucs2 0.0042 : 1.2x | |
lastIndexOf utf32 0.0077 : 2.17x | |
lastIndexOf utf8 0.2689 : 75.38x | |
lastIndexOf utf16 0.221 : 61.95x | |
length native 0 : 1x | |
length ucs2 0 : 1x | |
length utf32 0 : 1x | |
length utf8 0 : 1x | |
length utf16 0 : 1x | |
split native 0.0051 : 1x | |
split ucs2 0.0806 : 15.73x | |
split utf32 0.1721 : 33.59x | |
split utf8 0.3391 : 66.18x | |
split utf16 0.3255 : 63.53x | |
substr native 0.0003 : 1x | |
substr ucs2 0.0002 : 0.75x | |
substr utf32 0.0005 : 1.74x | |
substr utf8 0.0427 : 133.36x | |
substr utf16 0.0523 : 163.06x | |
substring native 0 : 1x | |
substring ucs2 0 : 1x | |
substring utf32 0.0005 : 5.14x | |
substring utf8 0.0314 : 314.48x | |
substring utf16 0.0408 : 408.76x | |
toLowerCase native 0.0127 : 1x | |
toLowerCase ucs2 0.0352 : 2.75x | |
toLowerCase utf32 0.0681 : 5.32x | |
toLowerCase utf8 0.061 : 4.77x | |
toLowerCase utf16 0.0933 : 7.29x | |
toUpperCase native 0.0201 : 1x | |
toUpperCase ucs2 0.0355 : 1.76x | |
toUpperCase utf32 0.0654 : 3.25x | |
toUpperCase utf8 0.0609 : 3.02x | |
toUpperCase utf16 0.0831 : 4.12x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charCodeAt 1 native 0.0007 : 1x | |
charCodeAt 1 ucs2 0.0012 : 1.69x | |
charCodeAt 1 utf32 0.001 : 1.48x | |
charCodeAt 1 utf8 0.0015 : 2.19x | |
charCodeAt 1 utf16 0.0011 : 1.58x | |
charCodeAt n native 0.0007 : 1x | |
charCodeAt n ucs2 0.0012 : 1.66x | |
charCodeAt n utf32 0.0014 : 1.88x | |
charCodeAt n utf8 0.3687 : 490.99x | |
charCodeAt n utf16 0.5308 : 706.85x | |
charCodeAt n/2 native 0.0013 : 1x | |
charCodeAt n/2 ucs2 0.0015 : 1.14x | |
charCodeAt n/2 utf32 0.0013 : 1x | |
charCodeAt n/2 utf8 0.1852 : 137.53x | |
charCodeAt n/2 utf16 0.2683 : 199.21x | |
fastCodeAt 1 native 0.0007 : 1x | |
fastCodeAt 1 ucs2 0.0009 : 1.42x | |
fastCodeAt 1 utf32 0.0007 : 1.08x | |
fastCodeAt 1 utf8 0.0014 : 2.01x | |
fastCodeAt 1 utf16 0.001 : 1.55x | |
fastCodeAt n native 0.0007 : 1x | |
fastCodeAt n ucs2 0.0009 : 1.28x | |
fastCodeAt n utf32 0.0008 : 1.1x | |
fastCodeAt n utf8 0.3534 : 487.56x | |
fastCodeAt n utf16 0.5303 : 731.42x | |
fastCodeAt n/2 native 0.001 : 1x | |
fastCodeAt n/2 ucs2 0.0012 : 1.12x | |
fastCodeAt n/2 utf32 0.001 : 0.97x | |
fastCodeAt n/2 utf8 0.1715 : 159.55x | |
fastCodeAt n/2 utf16 0.2781 : 258.74x | |
indexOf native 0.0001 : 1x | |
indexOf ucs2 0.0096 : 54.57x | |
indexOf utf32 0.0181 : 103.26x | |
indexOf utf8 0.0652 : 370.65x | |
indexOf utf16 0.0234 : 133.12x | |
lastIndexOf native 0.0001 : 1x | |
lastIndexOf ucs2 0.0066 : 40.18x | |
lastIndexOf utf32 0.0141 : 85.38x | |
lastIndexOf utf8 1.0052 : 6057.94x | |
lastIndexOf utf16 0.3664 : 2208.18x | |
length native 0.0006 : 1x | |
length ucs2 0.0005 : 0.89x | |
length utf32 0.0005 : 0.83x | |
length utf8 0.0006 : 0.92x | |
length utf16 0.0008 : 1.22x | |
split native 0.0007 : 1x | |
split ucs2 0.154 : 204.89x | |
split utf32 0.2936 : 390.51x | |
split utf8 1.1379 : 1513.29x | |
split utf16 0.6254 : 831.73x | |
substr native 0.0001 : 1x | |
substr ucs2 0.0002 : 2.17x | |
substr utf32 0.0002 : 2x | |
substr utf8 0.1061 : 884.83x | |
substr utf16 0.1152 : 960.9x | |
substring native 0.0001 : 1x | |
substring ucs2 0.0002 : 1.89x | |
substring utf32 0.0002 : 1.75x | |
substring utf8 0.0868 : 690.11x | |
substring utf16 0.0922 : 732.42x | |
toLowerCase native 0.0002 : 1x | |
toLowerCase ucs2 0.0627 : 222.52x | |
toLowerCase utf32 0.1314 : 465.98x | |
toLowerCase utf8 0.3019 : 1070.41x | |
toLowerCase utf16 0.172 : 610.1x | |
toUpperCase native 0.0003 : 1x | |
toUpperCase ucs2 0.0642 : 207.88x | |
toUpperCase utf32 0.1341 : 434.08x | |
toUpperCase utf8 0.3839 : 1242.49x | |
toUpperCase utf16 0.1623 : 525.35x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charCodeAt 1 native 0.0001 : 1x | |
charCodeAt 1 ucs2 0.0002 : 1.44x | |
charCodeAt 1 utf32 0.0003 : 1.87x | |
charCodeAt 1 utf8 0.0003 : 2.06x | |
charCodeAt 1 utf16 0.0003 : 2.25x | |
charCodeAt n native 0.0001 : 1x | |
charCodeAt n ucs2 0.0002 : 1.47x | |
charCodeAt n utf32 0.0003 : 1.91x | |
charCodeAt n utf8 0.3387 : 1922.78x | |
charCodeAt n utf16 0.4775 : 2710.16x | |
charCodeAt n/2 native 0.0002 : 1x | |
charCodeAt n/2 ucs2 0.0003 : 1.33x | |
charCodeAt n/2 utf32 0.0003 : 1.67x | |
charCodeAt n/2 utf8 0.1696 : 747.66x | |
charCodeAt n/2 utf16 0.2351 : 1035.9x | |
fastCodeAt 1 native 0.0001 : 1x | |
fastCodeAt 1 ucs2 0.0001 : 1.63x | |
fastCodeAt 1 utf32 0.0002 : 2.01x | |
fastCodeAt 1 utf8 0.0003 : 2.88x | |
fastCodeAt 1 utf16 0.0003 : 3.32x | |
fastCodeAt n native 0.0001 : 1x | |
fastCodeAt n ucs2 0.0002 : 1.3x | |
fastCodeAt n utf32 0.0002 : 1.55x | |
fastCodeAt n utf8 0.3217 : 2089.25x | |
fastCodeAt n utf16 0.459 : 2980.63x | |
fastCodeAt n/2 native 0.0001 : 1x | |
fastCodeAt n/2 ucs2 0.0002 : 1.42x | |
fastCodeAt n/2 utf32 0.0002 : 1.66x | |
fastCodeAt n/2 utf8 0.159 : 958.24x | |
fastCodeAt n/2 utf16 0.2292 : 1381.61x | |
indexOf native 0 : 1x | |
indexOf ucs2 0.0092 : 92.39x | |
indexOf utf32 0.018 : 180.96x | |
indexOf utf8 0.0227 : 227.59x | |
indexOf utf16 0.0231 : 231.84x | |
lastIndexOf native 0 : 1x | |
lastIndexOf ucs2 0.0067 : 67.99x | |
lastIndexOf utf32 0.0147 : 147.49x | |
lastIndexOf utf8 0.3455 : 3455.78x | |
lastIndexOf utf16 0.3497 : 3497.14x | |
length native 0 : 1x | |
length ucs2 0 : 1x | |
length utf32 0 : 1x | |
length utf8 0 : 1x | |
length utf16 0 : 1x | |
split native 0.0008 : 1x | |
split ucs2 0.16 : 191.64x | |
split utf32 0.3197 : 382.86x | |
split utf8 0.4175 : 500x | |
split utf16 0.5089 : 609.36x | |
substr native 0 : 1x | |
substr ucs2 0 : 1x | |
substr utf32 0 : 1x | |
substr utf8 0.0515 : 515.07x | |
substr utf16 0.0771 : 771.28x | |
substring native 0 : 1x | |
substring ucs2 0 : 1x | |
substring utf32 0 : 1x | |
substring utf8 0.0389 : 389.17x | |
substring utf16 0.0606 : 606.79x | |
toLowerCase native 0.0002 : 1x | |
toLowerCase ucs2 0.1891 : 790.99x | |
toLowerCase utf32 0.5293 : 2213.41x | |
toLowerCase utf8 0.1414 : 591.42x | |
toLowerCase utf16 0.2975 : 1244.19x | |
toUpperCase native 0.0002 : 1x | |
toUpperCase ucs2 0.1902 : 792.4x | |
toUpperCase utf32 0.5157 : 2148.11x | |
toUpperCase utf8 0.1492 : 621.53x | |
toUpperCase utf16 0.2931 : 1221x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charCodeAt 1 native 0.0003 : 1x | |
charCodeAt 1 ucs2 0.0006 : 1.85x | |
charCodeAt 1 utf32 0.0005 : 1.53x | |
charCodeAt 1 utf8 0.0007 : 1.95x | |
charCodeAt 1 utf16 0.0006 : 1.84x | |
charCodeAt n native 0.0004 : 1x | |
charCodeAt n ucs2 0.0007 : 1.76x | |
charCodeAt n utf32 0.0007 : 1.66x | |
charCodeAt n utf8 0.7015 : 1609.02x | |
charCodeAt n utf16 1.0036 : 2302.05x | |
charCodeAt n/2 native 0.0005 : 1x | |
charCodeAt n/2 ucs2 0.0007 : 1.35x | |
charCodeAt n/2 utf32 0.0008 : 1.6x | |
charCodeAt n/2 utf8 0.3497 : 630.48x | |
charCodeAt n/2 utf16 0.5131 : 925.11x | |
fastCodeAt 1 native 0.0002 : 1x | |
fastCodeAt 1 ucs2 0.0003 : 1.32x | |
fastCodeAt 1 utf32 0.0003 : 1.48x | |
fastCodeAt 1 utf8 0.0007 : 2.96x | |
fastCodeAt 1 utf16 0.0007 : 3.1x | |
fastCodeAt n native 0.0002 : 1x | |
fastCodeAt n ucs2 0.0004 : 1.8x | |
fastCodeAt n utf32 0.0005 : 1.92x | |
fastCodeAt n utf8 0.6742 : 2551.34x | |
fastCodeAt n utf16 0.9627 : 3643.21x | |
fastCodeAt n/2 native 0.0003 : 1x | |
fastCodeAt n/2 ucs2 0.0006 : 1.67x | |
fastCodeAt n/2 utf32 0.0006 : 1.58x | |
fastCodeAt n/2 utf8 0.3326 : 851.97x | |
fastCodeAt n/2 utf16 0.4804 : 1230.65x | |
indexOf native 0 : 1x | |
indexOf ucs2 0.0111 : 111.66x | |
indexOf utf32 0.0222 : 222.98x | |
indexOf utf8 0.047 : 470.97x | |
indexOf utf16 0.0355 : 355.03x | |
lastIndexOf native 0.0001 : 1x | |
lastIndexOf ucs2 0.0093 : 82.32x | |
lastIndexOf utf32 0.0175 : 154.37x | |
lastIndexOf utf8 0.6984 : 6146.04x | |
lastIndexOf utf16 0.5897 : 5189.51x | |
length native 0.0001 : 1x | |
length ucs2 0.0001 : 0.92x | |
length utf32 0.0001 : 1.02x | |
length utf8 0.0001 : 0.62x | |
length utf16 0.0001 : 1.01x | |
split native 0.0003 : 1x | |
split ucs2 0.194 : 624.04x | |
split utf32 0.3992 : 1284.15x | |
split utf8 0.8311 : 2673.45x | |
split utf16 0.8496 : 2732.73x | |
substr native 0 : 1x | |
substr ucs2 0.0001 : 1.43x | |
substr utf32 0.0001 : 1.49x | |
substr utf8 0.1033 : 1033.88x | |
substr utf16 0.1498 : 1498.25x | |
substring native 0 : 1x | |
substring ucs2 0.0001 : 1.37x | |
substring utf32 0.0001 : 1.38x | |
substring utf8 0.0854 : 854.11x | |
substring utf16 0.1191 : 1191.73x | |
toLowerCase native 0.0001 : 1x | |
toLowerCase ucs2 0.1438 : 896.37x | |
toLowerCase utf32 0.2786 : 1735.77x | |
toLowerCase utf8 0.1672 : 1042.25x | |
toLowerCase utf16 0.26 : 1620.15x | |
toUpperCase native 0.0001 : 1x | |
toUpperCase ucs2 0.141 : 876.56x | |
toUpperCase utf32 0.2656 : 1650.74x | |
toUpperCase utf8 0.1866 : 1160.05x | |
toUpperCase utf16 0.2331 : 1448.57x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment