Created
June 3, 2015 08:30
-
-
Save ScottPJones/eb3dd92729c6aa9ba3aa to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ASCII: Looping 1000 times, length=8 | |
| length: 2.787 microseconds | |
| is_valid_ascii: 147.612 milliseconds (56000 allocations: 613 MB, 10.18% gc time) | |
| Convert to UTF-8: 8.788 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 92.011 microseconds (2000 allocations: 109 KB) | |
| Convert to UTF-32: 89.666 microseconds (2000 allocations: 125 KB) | |
| ASCII:: Looping 1000 times, length=8 | |
| UTF-8: 8, UTF-16: 16, UTF-32: 32 | |
| UTF-8 length: 6.155 microseconds | |
| UTF-16 length: 19.786 microseconds | |
| UTF-32 length: 2.362 microseconds | |
| UTF-8 valid: 157.554 milliseconds (57000 allocations: 613 MB, 4.67% gc time) | |
| UTF-16 valid: 141.299 milliseconds (58000 allocations: 613 MB, 4.69% gc time) | |
| UTF-32 valid: 136.333 milliseconds (56000 allocations: 613 MB, 4.35% gc time) | |
| UTF-8 convert to UTF-16: 84.635 microseconds (2000 allocations: 109 KB) | |
| UTF-8 convert to UTF-32: 108.404 microseconds (2000 allocations: 125 KB) | |
| UTF-16 convert to UTF-8: 101.104 microseconds (2000 allocations: 96000 bytes) | |
| UTF-16 convert to UTF-32: 101.267 microseconds (2000 allocations: 125 KB) | |
| UTF-32 convert to UTF-8: 148.043 microseconds (4000 allocations: 172 KB) | |
| UTF-32 convert to UTF-16: 140.283 microseconds (4000 allocations: 188 KB) | |
| Latin1:: Looping 1000 times, length=8 | |
| UTF-8: 10, UTF-16: 16, UTF-32: 32 | |
| UTF-8 length: 7.939 microseconds | |
| UTF-16 length: 9.429 microseconds | |
| UTF-32 length: 2.373 microseconds | |
| UTF-8 valid: 137.138 milliseconds (57000 allocations: 613 MB, 4.13% gc time) | |
| UTF-16 valid: 143.243 milliseconds (58000 allocations: 613 MB, 4.18% gc time) | |
| UTF-32 valid: 140.413 milliseconds (56000 allocations: 613 MB, 4.84% gc time) | |
| UTF-8 convert to UTF-16: 100.053 microseconds (2000 allocations: 109 KB) | |
| UTF-8 convert to UTF-32: 112.687 microseconds (2000 allocations: 125 KB) | |
| UTF-16 convert to UTF-8: 118.427 microseconds (2000 allocations: 96000 bytes) | |
| UTF-16 convert to UTF-32: 99.328 microseconds (2000 allocations: 125 KB) | |
| UTF-32 convert to UTF-8: 166.480 microseconds (4000 allocations: 172 KB) | |
| UTF-32 convert to UTF-16: 151.506 microseconds (4000 allocations: 188 KB) | |
| 2-byte:: Looping 1000 times, length=8 | |
| UTF-8: 12, UTF-16: 16, UTF-32: 32 | |
| UTF-8 length: 9.963 microseconds | |
| UTF-16 length: 9.396 microseconds | |
| UTF-32 length: 2.370 microseconds | |
| UTF-8 valid: 137.501 milliseconds (57000 allocations: 613 MB, 4.89% gc time) | |
| UTF-16 valid: 136.602 milliseconds (58000 allocations: 613 MB, 4.56% gc time) | |
| UTF-32 valid: 137.962 milliseconds (56000 allocations: 613 MB, 4.63% gc time) | |
| UTF-8 convert to UTF-16: 107.613 microseconds (2000 allocations: 109 KB) | |
| UTF-8 convert to UTF-32: 119.198 microseconds (2000 allocations: 125 KB) | |
| UTF-16 convert to UTF-8: 111.469 microseconds (2000 allocations: 96000 bytes) | |
| UTF-16 convert to UTF-32: 101.400 microseconds (2000 allocations: 125 KB) | |
| UTF-32 convert to UTF-8: 168.292 microseconds (4000 allocations: 172 KB) | |
| UTF-32 convert to UTF-16: 151.951 microseconds (4000 allocations: 188 KB) | |
| 3-byte:: Looping 1000 times, length=8 | |
| UTF-8: 14, UTF-16: 16, UTF-32: 32 | |
| UTF-8 length: 12.217 microseconds | |
| UTF-16 length: 9.357 microseconds | |
| UTF-32 length: 2.382 microseconds | |
| UTF-8 valid: 139.078 milliseconds (57000 allocations: 613 MB, 4.67% gc time) | |
| UTF-16 valid: 140.546 milliseconds (58000 allocations: 613 MB, 4.64% gc time) | |
| UTF-32 valid: 137.085 milliseconds (56000 allocations: 613 MB, 4.59% gc time) | |
| UTF-8 convert to UTF-16: 108.367 microseconds (2000 allocations: 109 KB) | |
| UTF-8 convert to UTF-32: 141.990 microseconds (2000 allocations: 125 KB) | |
| UTF-16 convert to UTF-8: 124.339 microseconds (2000 allocations: 96000 bytes) | |
| UTF-16 convert to UTF-32: 101.531 microseconds (2000 allocations: 125 KB) | |
| UTF-32 convert to UTF-8: 162.336 microseconds (4000 allocations: 172 KB) | |
| UTF-32 convert to UTF-16: 156.802 microseconds (4000 allocations: 188 KB) | |
| 4-byte:: Looping 1000 times, length=8 | |
| UTF-8: 15, UTF-16: 18, UTF-32: 32 | |
| UTF-8 length: 17.073 microseconds | |
| UTF-16 length: 10.393 microseconds | |
| UTF-32 length: 2.366 microseconds | |
| UTF-8 valid: 139.731 milliseconds (57000 allocations: 613 MB, 4.65% gc time) | |
| UTF-16 valid: 142.694 milliseconds (58000 allocations: 613 MB, 4.50% gc time) | |
| UTF-32 valid: 142.961 milliseconds (56000 allocations: 613 MB, 4.54% gc time) | |
| UTF-8 convert to UTF-16: 122.711 microseconds (2000 allocations: 109 KB) | |
| UTF-8 convert to UTF-32: 144.186 microseconds (2000 allocations: 125 KB) | |
| UTF-16 convert to UTF-8: 137.435 microseconds (2000 allocations: 96000 bytes) | |
| UTF-16 convert to UTF-32: 104.041 microseconds (2000 allocations: 125 KB) | |
| UTF-32 convert to UTF-8: 133.131 microseconds (4000 allocations: 172 KB) | |
| UTF-32 convert to UTF-16: 173.928 microseconds (4000 allocations: 188 KB) | |
| Surrogates:: Looping 1000 times, length=8 | |
| UTF-8: 17, UTF-16: 18, UTF-32: 32 | |
| UTF-8 length: 17.553 microseconds | |
| UTF-16 length: 19.675 microseconds | |
| UTF-32 length: 12.722 microseconds | |
| UTF-8 valid: 142.067 milliseconds (57000 allocations: 613 MB, 4.64% gc time) | |
| UTF-16 valid: 143.470 milliseconds (58000 allocations: 613 MB, 4.51% gc time) | |
| UTF-32 valid: 141.204 milliseconds (56000 allocations: 613 MB, 4.43% gc time) | |
| UTF-8 convert to UTF-16: 85.032 microseconds (2000 allocations: 109 KB) | |
| UTF-8 convert to UTF-32: 89.544 microseconds (2000 allocations: 125 KB) | |
| UTF-16 convert to UTF-8: 78.651 microseconds (2000 allocations: 96000 bytes) | |
| UTF-16 convert to UTF-32: 102.995 microseconds (2000 allocations: 125 KB) | |
| UTF-32 convert to UTF-8: 142.579 microseconds (4000 allocations: 172 KB) | |
| UTF-32 convert to UTF-16: 163.023 microseconds (4000 allocations: 188 KB) | |
| ASCII: Looping 1000 times, length=64 | |
| length: 2.461 microseconds | |
| is_valid_ascii: 139.926 milliseconds (56000 allocations: 613 MB, 4.74% gc time) | |
| Convert to UTF-8: 9 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 72.064 microseconds (2000 allocations: 219 KB) | |
| Convert to UTF-32: 93.297 microseconds (2000 allocations: 406 KB) | |
| ASCII:: Looping 1000 times, length=64 | |
| UTF-8: 64, UTF-16: 128, UTF-32: 256 | |
| UTF-8 length: 18.593 microseconds | |
| UTF-16 length: 53.858 microseconds | |
| UTF-32 length: 2.430 microseconds | |
| UTF-8 valid: 147.844 milliseconds (57000 allocations: 613 MB, 4.66% gc time) | |
| UTF-16 valid: 147.717 milliseconds (58000 allocations: 613 MB, 4.57% gc time) | |
| UTF-32 valid: 140.645 milliseconds (56000 allocations: 613 MB, 4.38% gc time) | |
| UTF-8 convert to UTF-16: 164.090 microseconds (2000 allocations: 219 KB) | |
| UTF-8 convert to UTF-32: 454.884 microseconds (2000 allocations: 406 KB, 59.07% gc time) | |
| UTF-16 convert to UTF-8: 189.256 microseconds (2000 allocations: 156 KB) | |
| UTF-16 convert to UTF-32: 187.194 microseconds (2000 allocations: 406 KB) | |
| UTF-32 convert to UTF-8: 235.998 microseconds (4000 allocations: 234 KB) | |
| UTF-32 convert to UTF-16: 210.605 microseconds (4000 allocations: 297 KB) | |
| Latin1:: Looping 1000 times, length=64 | |
| UTF-8: 84, UTF-16: 128, UTF-32: 256 | |
| UTF-8 length: 25.843 microseconds | |
| UTF-16 length: 53.801 microseconds | |
| UTF-32 length: 2.373 microseconds | |
| UTF-8 valid: 140.865 milliseconds (57000 allocations: 613 MB, 4.72% gc time) | |
| UTF-16 valid: 142.613 milliseconds (58000 allocations: 613 MB, 4.61% gc time) | |
| UTF-32 valid: 138.826 milliseconds (56000 allocations: 613 MB, 4.58% gc time) | |
| UTF-8 convert to UTF-16: 307.055 microseconds (2000 allocations: 219 KB) | |
| UTF-8 convert to UTF-32: 308.982 microseconds (2000 allocations: 406 KB) | |
| UTF-16 convert to UTF-8: 314.515 microseconds (2000 allocations: 172 KB) | |
| UTF-16 convert to UTF-32: 236.185 microseconds (2000 allocations: 406 KB) | |
| UTF-32 convert to UTF-8: 329.250 microseconds (4000 allocations: 250 KB) | |
| UTF-32 convert to UTF-16: 260.097 microseconds (4000 allocations: 297 KB) | |
| 2-byte:: Looping 1000 times, length=64 | |
| UTF-8: 84, UTF-16: 128, UTF-32: 256 | |
| UTF-8 length: 35.489 microseconds | |
| UTF-16 length: 77.747 microseconds | |
| UTF-32 length: 2.368 microseconds | |
| UTF-8 valid: 138.856 milliseconds (57000 allocations: 613 MB, 4.89% gc time) | |
| UTF-16 valid: 144.214 milliseconds (58000 allocations: 613 MB, 5.07% gc time) | |
| UTF-32 valid: 139.389 milliseconds (56000 allocations: 613 MB, 4.43% gc time) | |
| UTF-8 convert to UTF-16: 307.855 microseconds (2000 allocations: 219 KB) | |
| UTF-8 convert to UTF-32: 330.852 microseconds (2000 allocations: 406 KB) | |
| UTF-16 convert to UTF-8: 314.341 microseconds (2000 allocations: 172 KB) | |
| UTF-16 convert to UTF-32: 226.737 microseconds (2000 allocations: 406 KB) | |
| UTF-32 convert to UTF-8: 315.827 microseconds (4000 allocations: 250 KB) | |
| UTF-32 convert to UTF-16: 234.007 microseconds (4000 allocations: 297 KB) | |
| 3-byte:: Looping 1000 times, length=64 | |
| UTF-8: 92, UTF-16: 128, UTF-32: 256 | |
| UTF-8 length: 27.606 microseconds | |
| UTF-16 length: 84.576 microseconds | |
| UTF-32 length: 2.356 microseconds | |
| UTF-8 valid: 143.805 milliseconds (57000 allocations: 613 MB, 4.89% gc time) | |
| UTF-16 valid: 153.763 milliseconds (58000 allocations: 613 MB, 4.87% gc time) | |
| UTF-32 valid: 146.280 milliseconds (56000 allocations: 613 MB, 5.05% gc time) | |
| UTF-8 convert to UTF-16: 318.054 microseconds (2000 allocations: 219 KB) | |
| UTF-8 convert to UTF-32: 342.645 microseconds (2000 allocations: 406 KB) | |
| UTF-16 convert to UTF-8: 306.832 microseconds (2000 allocations: 172 KB) | |
| UTF-16 convert to UTF-32: 209.897 microseconds (2000 allocations: 406 KB) | |
| UTF-32 convert to UTF-8: 325.567 microseconds (4000 allocations: 250 KB) | |
| UTF-32 convert to UTF-16: 239.329 microseconds (4000 allocations: 297 KB) | |
| 4-byte:: Looping 1000 times, length=64 | |
| UTF-8: 104, UTF-16: 144, UTF-32: 256 | |
| UTF-8 length: 37.340 microseconds | |
| UTF-16 length: 63.131 microseconds | |
| UTF-32 length: 3.437 microseconds | |
| UTF-8 valid: 141.150 milliseconds (57000 allocations: 613 MB, 5.35% gc time) | |
| UTF-16 valid: 137.457 milliseconds (58000 allocations: 613 MB, 4.63% gc time) | |
| UTF-32 valid: 151.839 milliseconds (56000 allocations: 613 MB, 5.01% gc time) | |
| UTF-8 convert to UTF-16: 371.541 microseconds (2000 allocations: 234 KB) | |
| UTF-8 convert to UTF-32: 366.492 microseconds (2000 allocations: 406 KB) | |
| UTF-16 convert to UTF-8: 290.019 microseconds (2000 allocations: 188 KB) | |
| UTF-16 convert to UTF-32: 228.946 microseconds (2000 allocations: 406 KB) | |
| UTF-32 convert to UTF-8: 307.456 microseconds (4000 allocations: 266 KB) | |
| UTF-32 convert to UTF-16: 352.198 microseconds (4000 allocations: 313 KB) | |
| Surrogates:: Looping 1000 times, length=64 | |
| UTF-8: 120, UTF-16: 144, UTF-32: 256 | |
| UTF-8 length: 60.842 microseconds | |
| UTF-16 length: 91.958 microseconds | |
| UTF-32 length: 2.432 microseconds | |
| UTF-8 valid: 145.239 milliseconds (57000 allocations: 613 MB, 4.97% gc time) | |
| UTF-16 valid: 140.924 milliseconds (58000 allocations: 613 MB, 4.83% gc time) | |
| UTF-32 valid: 139.843 milliseconds (56000 allocations: 613 MB, 4.79% gc time) | |
| UTF-8 convert to UTF-16: 367.399 microseconds (2000 allocations: 234 KB) | |
| UTF-8 convert to UTF-32: 399.971 microseconds (2000 allocations: 406 KB) | |
| UTF-16 convert to UTF-8: 339.356 microseconds (2000 allocations: 188 KB) | |
| UTF-16 convert to UTF-32: 288.535 microseconds (2000 allocations: 406 KB) | |
| UTF-32 convert to UTF-8: 345.943 microseconds (4000 allocations: 266 KB) | |
| UTF-32 convert to UTF-16: 390.225 microseconds (4000 allocations: 313 KB) | |
| ASCII: Looping 1000 times, length=256 | |
| length: 2.403 microseconds | |
| is_valid_ascii: 142.564 milliseconds (56000 allocations: 613 MB, 4.84% gc time) | |
| Convert to UTF-8: 8.136 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 122.982 microseconds (2000 allocations: 625 KB) | |
| Convert to UTF-32: 199.413 microseconds (2000 allocations: 1156 KB) | |
| ASCII:: Looping 1000 times, length=256 | |
| UTF-8: 256, UTF-16: 512, UTF-32: 1024 | |
| UTF-8 length: 63.983 microseconds | |
| UTF-16 length: 213.095 microseconds | |
| UTF-32 length: 2.446 microseconds | |
| UTF-8 valid: 146.288 milliseconds (57000 allocations: 613 MB, 4.69% gc time) | |
| UTF-16 valid: 140.431 milliseconds (58000 allocations: 613 MB, 5.23% gc time) | |
| UTF-32 valid: 138.309 milliseconds (56000 allocations: 613 MB, 5.05% gc time) | |
| UTF-8 convert to UTF-16: 331.071 microseconds (2000 allocations: 625 KB) | |
| UTF-8 convert to UTF-32: 403.084 microseconds (2000 allocations: 1156 KB) | |
| UTF-16 convert to UTF-8: 394.892 microseconds (2000 allocations: 406 KB) | |
| UTF-16 convert to UTF-32: 364.516 microseconds (2000 allocations: 1156 KB) | |
| UTF-32 convert to UTF-8: 440.248 microseconds (4000 allocations: 484 KB) | |
| UTF-32 convert to UTF-16: 491.305 microseconds (4000 allocations: 703 KB) | |
| Latin1:: Looping 1000 times, length=256 | |
| UTF-8: 336, UTF-16: 512, UTF-32: 1024 | |
| UTF-8 length: 133.630 microseconds | |
| UTF-16 length: 235.574 microseconds | |
| UTF-32 length: 12.151 microseconds | |
| UTF-8 valid: 146.586 milliseconds (57000 allocations: 613 MB, 5.09% gc time) | |
| UTF-16 valid: 148.703 milliseconds (58000 allocations: 613 MB, 4.96% gc time) | |
| UTF-32 valid: 143.205 milliseconds (56000 allocations: 613 MB, 4.83% gc time) | |
| UTF-8 convert to UTF-16: 903.828 microseconds (2000 allocations: 625 KB) | |
| UTF-8 convert to UTF-32: 844.893 microseconds (2000 allocations: 1156 KB) | |
| UTF-16 convert to UTF-8: 1.010 milliseconds (2000 allocations: 453 KB) | |
| UTF-16 convert to UTF-32: 494.477 microseconds (2000 allocations: 1156 KB) | |
| UTF-32 convert to UTF-8: 1.035 milliseconds (4000 allocations: 531 KB) | |
| UTF-32 convert to UTF-16: 531.431 microseconds (4000 allocations: 703 KB) | |
| 2-byte:: Looping 1000 times, length=256 | |
| UTF-8: 336, UTF-16: 512, UTF-32: 1024 | |
| UTF-8 length: 81.915 microseconds | |
| UTF-16 length: 193.962 microseconds | |
| UTF-32 length: 2.403 microseconds | |
| UTF-8 valid: 143.295 milliseconds (57000 allocations: 613 MB, 5.01% gc time) | |
| UTF-16 valid: 143.948 milliseconds (58000 allocations: 613 MB, 4.88% gc time) | |
| UTF-32 valid: 146.274 milliseconds (56000 allocations: 613 MB, 5.27% gc time) | |
| UTF-8 convert to UTF-16: 855.708 microseconds (2000 allocations: 625 KB) | |
| UTF-8 convert to UTF-32: 988.685 microseconds (2000 allocations: 1156 KB) | |
| UTF-16 convert to UTF-8: 865.047 microseconds (2000 allocations: 453 KB) | |
| UTF-16 convert to UTF-32: 554.834 microseconds (2000 allocations: 1156 KB) | |
| UTF-32 convert to UTF-8: 835.822 microseconds (4000 allocations: 531 KB) | |
| UTF-32 convert to UTF-16: 565.710 microseconds (4000 allocations: 703 KB) | |
| 3-byte:: Looping 1000 times, length=256 | |
| UTF-8: 368, UTF-16: 512, UTF-32: 1024 | |
| UTF-8 length: 137.717 microseconds | |
| UTF-16 length: 245.255 microseconds | |
| UTF-32 length: 2.303 microseconds | |
| UTF-8 valid: 143.298 milliseconds (57000 allocations: 613 MB, 5.33% gc time) | |
| UTF-16 valid: 139.665 milliseconds (58000 allocations: 613 MB, 4.87% gc time) | |
| UTF-32 valid: 145.181 milliseconds (56000 allocations: 613 MB, 4.94% gc time) | |
| UTF-8 convert to UTF-16: 861.849 microseconds (2000 allocations: 625 KB) | |
| UTF-8 convert to UTF-32: 1.015 milliseconds (2000 allocations: 1156 KB) | |
| UTF-16 convert to UTF-8: 835.805 microseconds (2000 allocations: 453 KB) | |
| UTF-16 convert to UTF-32: 426.676 microseconds (2000 allocations: 1156 KB) | |
| UTF-32 convert to UTF-8: 883.108 microseconds (4000 allocations: 531 KB) | |
| UTF-32 convert to UTF-16: 538.913 microseconds (4000 allocations: 703 KB) | |
| 4-byte:: Looping 1000 times, length=256 | |
| UTF-8: 416, UTF-16: 576, UTF-32: 1024 | |
| UTF-8 length: 101.282 microseconds | |
| UTF-16 length: 221.791 microseconds | |
| UTF-32 length: 2.464 microseconds | |
| UTF-8 valid: 141.440 milliseconds (57000 allocations: 613 MB, 5.45% gc time) | |
| UTF-16 valid: 142.598 milliseconds (58000 allocations: 613 MB, 4.97% gc time) | |
| UTF-32 valid: 145.352 milliseconds (56000 allocations: 613 MB, 5.26% gc time) | |
| UTF-8 convert to UTF-16: 1.252 milliseconds (2000 allocations: 672 KB) | |
| UTF-8 convert to UTF-32: 988.778 microseconds (2000 allocations: 1156 KB) | |
| UTF-16 convert to UTF-8: 1.103 milliseconds (2000 allocations: 547 KB) | |
| UTF-16 convert to UTF-32: 725.855 microseconds (2000 allocations: 1156 KB) | |
| UTF-32 convert to UTF-8: 1.121 milliseconds (4000 allocations: 625 KB) | |
| UTF-32 convert to UTF-16: 1.014 milliseconds (4000 allocations: 750 KB) | |
| Surrogates:: Looping 1000 times, length=256 | |
| UTF-8: 480, UTF-16: 576, UTF-32: 1024 | |
| UTF-8 length: 114.067 microseconds | |
| UTF-16 length: 239.638 microseconds | |
| UTF-32 length: 2.425 microseconds | |
| UTF-8 valid: 222.419 milliseconds (57000 allocations: 613 MB, 5.10% gc time) | |
| UTF-16 valid: 155.139 milliseconds (58000 allocations: 613 MB, 5.01% gc time) | |
| UTF-32 valid: 145.244 milliseconds (56000 allocations: 613 MB, 5.27% gc time) | |
| UTF-8 convert to UTF-16: 1.115 milliseconds (2000 allocations: 672 KB) | |
| UTF-8 convert to UTF-32: 1.233 milliseconds (2000 allocations: 1156 KB) | |
| UTF-16 convert to UTF-8: 966.900 microseconds (2000 allocations: 547 KB) | |
| UTF-16 convert to UTF-32: 744.154 microseconds (2000 allocations: 1156 KB) | |
| UTF-32 convert to UTF-8: 914.148 microseconds (4000 allocations: 625 KB) | |
| UTF-32 convert to UTF-16: 800.506 microseconds (4000 allocations: 750 KB) | |
| ASCII: Looping 1000 times, length=1024 | |
| length: 6.273 microseconds (1000 allocations: 16000 bytes) | |
| is_valid_ascii: 153.087 milliseconds (56000 allocations: 613 MB, 5.71% gc time) | |
| Convert to UTF-8: 9.672 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 927.467 microseconds (1000 allocations: 2109 KB) | |
| Convert to UTF-32: 2.173 milliseconds (1000 allocations: 4109 KB) | |
| ASCII:: Looping 1000 times, length=1024 | |
| UTF-8: 1024, UTF-16: 2048, UTF-32: 4096 | |
| UTF-8 length: 246.159 microseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 844.444 microseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 7.788 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 148.266 milliseconds (57000 allocations: 613 MB, 5.68% gc time) | |
| UTF-16 valid: 148.516 milliseconds (58000 allocations: 613 MB, 5.18% gc time) | |
| UTF-32 valid: 150.384 milliseconds (56000 allocations: 613 MB, 5.52% gc time) | |
| UTF-8 convert to UTF-16: 1.355 milliseconds (1000 allocations: 2109 KB, 24.53% gc time) | |
| UTF-8 convert to UTF-32: 1.896 milliseconds (1000 allocations: 4109 KB) | |
| UTF-16 convert to UTF-8: 1.356 milliseconds (2000 allocations: 1156 KB) | |
| UTF-16 convert to UTF-32: 2.680 milliseconds (1000 allocations: 4109 KB) | |
| UTF-32 convert to UTF-8: 1.254 milliseconds (4000 allocations: 1234 KB) | |
| UTF-32 convert to UTF-16: 2.198 milliseconds (3000 allocations: 2188 KB) | |
| Latin1:: Looping 1000 times, length=1024 | |
| UTF-8: 1344, UTF-16: 2048, UTF-32: 4096 | |
| UTF-8 length: 382.336 microseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 766.184 microseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 18.932 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 146.380 milliseconds (57000 allocations: 613 MB, 6.39% gc time) | |
| UTF-16 valid: 140.344 milliseconds (58000 allocations: 613 MB, 5.22% gc time) | |
| UTF-32 valid: 144.089 milliseconds (56000 allocations: 613 MB, 5.10% gc time) | |
| UTF-8 convert to UTF-16: 4.637 milliseconds (1000 allocations: 2109 KB, 6.09% gc time) | |
| UTF-8 convert to UTF-32: 3.927 milliseconds (1000 allocations: 4109 KB) | |
| UTF-16 convert to UTF-8: 3.411 milliseconds (2000 allocations: 1469 KB) | |
| UTF-16 convert to UTF-32: 3.216 milliseconds (1000 allocations: 4109 KB) | |
| UTF-32 convert to UTF-8: 3.724 milliseconds (4000 allocations: 1547 KB) | |
| UTF-32 convert to UTF-16: 2.908 milliseconds (3000 allocations: 2188 KB) | |
| 2-byte:: Looping 1000 times, length=1024 | |
| UTF-8: 1344, UTF-16: 2048, UTF-32: 4096 | |
| UTF-8 length: 313.468 microseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 760.954 microseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 6.231 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 147.372 milliseconds (57000 allocations: 613 MB, 6.76% gc time) | |
| UTF-16 valid: 149.474 milliseconds (58000 allocations: 613 MB, 5.28% gc time) | |
| UTF-32 valid: 144.360 milliseconds (56000 allocations: 613 MB, 5.36% gc time) | |
| UTF-8 convert to UTF-16: 4.065 milliseconds (1000 allocations: 2109 KB) | |
| UTF-8 convert to UTF-32: 4.907 milliseconds (1000 allocations: 4109 KB) | |
| UTF-16 convert to UTF-8: 2.949 milliseconds (2000 allocations: 1469 KB) | |
| UTF-16 convert to UTF-32: 2.605 milliseconds (1000 allocations: 4109 KB) | |
| UTF-32 convert to UTF-8: 2.992 milliseconds (4000 allocations: 1547 KB) | |
| UTF-32 convert to UTF-16: 1.926 milliseconds (3000 allocations: 2188 KB) | |
| 3-byte:: Looping 1000 times, length=1024 | |
| UTF-8: 1472, UTF-16: 2048, UTF-32: 4096 | |
| UTF-8 length: 344.285 microseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 821.759 microseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 15.276 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 151.971 milliseconds (57000 allocations: 613 MB, 6.41% gc time) | |
| UTF-16 valid: 143.741 milliseconds (58000 allocations: 613 MB, 5.39% gc time) | |
| UTF-32 valid: 146.484 milliseconds (56000 allocations: 613 MB, 5.33% gc time) | |
| UTF-8 convert to UTF-16: 3.309 milliseconds (1000 allocations: 2109 KB) | |
| UTF-8 convert to UTF-32: 5.205 milliseconds (1000 allocations: 4109 KB) | |
| UTF-16 convert to UTF-8: 3.764 milliseconds (2000 allocations: 1609 KB) | |
| UTF-16 convert to UTF-32: 2.664 milliseconds (1000 allocations: 4109 KB) | |
| UTF-32 convert to UTF-8: 3.641 milliseconds (4000 allocations: 1688 KB) | |
| UTF-32 convert to UTF-16: 1.928 milliseconds (3000 allocations: 2188 KB) | |
| 4-byte:: Looping 1000 times, length=1024 | |
| UTF-8: 1664, UTF-16: 2304, UTF-32: 4096 | |
| UTF-8 length: 438.640 microseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 861.961 microseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 16.208 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 141.770 milliseconds (57000 allocations: 613 MB, 6.52% gc time) | |
| UTF-16 valid: 147.596 milliseconds (58000 allocations: 613 MB, 5.40% gc time) | |
| UTF-32 valid: 147.727 milliseconds (56000 allocations: 613 MB, 5.79% gc time) | |
| UTF-8 convert to UTF-16: 3.629 milliseconds (1000 allocations: 2359 KB) | |
| UTF-8 convert to UTF-32: 3.615 milliseconds (1000 allocations: 4109 KB) | |
| UTF-16 convert to UTF-8: 4.267 milliseconds (2000 allocations: 1781 KB) | |
| UTF-16 convert to UTF-32: 3.539 milliseconds (1000 allocations: 4109 KB) | |
| UTF-32 convert to UTF-8: 3.872 milliseconds (4000 allocations: 1859 KB) | |
| UTF-32 convert to UTF-16: 2.888 milliseconds (3000 allocations: 2438 KB) | |
| Surrogates:: Looping 1000 times, length=1024 | |
| UTF-8: 1920, UTF-16: 2304, UTF-32: 4096 | |
| UTF-8 length: 491.415 microseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 861.657 microseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 16.363 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 149.243 milliseconds (57000 allocations: 613 MB, 6.55% gc time) | |
| UTF-16 valid: 146.883 milliseconds (58000 allocations: 613 MB, 5.66% gc time) | |
| UTF-32 valid: 147.663 milliseconds (56000 allocations: 613 MB, 5.73% gc time) | |
| UTF-8 convert to UTF-16: 4.273 milliseconds (1000 allocations: 2359 KB) | |
| UTF-8 convert to UTF-32: 5.893 milliseconds (1000 allocations: 4109 KB) | |
| UTF-16 convert to UTF-8: 6.023 milliseconds (2000 allocations: 1781 KB) | |
| UTF-16 convert to UTF-32: 3.370 milliseconds (1000 allocations: 4109 KB) | |
| UTF-32 convert to UTF-8: 3.628 milliseconds (4000 allocations: 1859 KB) | |
| UTF-32 convert to UTF-16: 2.955 milliseconds (3000 allocations: 2438 KB) | |
| ASCII: Looping 1000 times, length=4096 | |
| length: 6.225 microseconds (1000 allocations: 16000 bytes) | |
| is_valid_ascii: 143.950 milliseconds (56000 allocations: 613 MB, 6.12% gc time) | |
| Convert to UTF-8: 9.885 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 1.290 milliseconds (1000 allocations: 8109 KB, 32.05% gc time) | |
| Convert to UTF-32: 3.736 milliseconds (3000 allocations: 16094 KB) | |
| ASCII:: Looping 1000 times, length=4096 | |
| UTF-8: 4096, UTF-16: 8192, UTF-32: 16384 | |
| UTF-8 length: 953.932 microseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 2.919 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 8.030 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 143.097 milliseconds (57000 allocations: 613 MB, 7.08% gc time) | |
| UTF-16 valid: 142.841 milliseconds (58000 allocations: 613 MB, 5.49% gc time) | |
| UTF-32 valid: 146.388 milliseconds (56000 allocations: 613 MB, 5.43% gc time) | |
| UTF-8 convert to UTF-16: 4.092 milliseconds (1000 allocations: 8109 KB) | |
| UTF-8 convert to UTF-32: 7.560 milliseconds (3000 allocations: 16094 KB, 18.29% gc time) | |
| UTF-16 convert to UTF-8: 5.625 milliseconds (1000 allocations: 4109 KB) | |
| UTF-16 convert to UTF-32: 6.949 milliseconds (3000 allocations: 16094 KB, 22.75% gc time) | |
| UTF-32 convert to UTF-8: 4.537 milliseconds (3000 allocations: 4188 KB) | |
| UTF-32 convert to UTF-16: 5.465 milliseconds (3000 allocations: 8188 KB) | |
| Latin1:: Looping 1000 times, length=4096 | |
| UTF-8: 5376, UTF-16: 8192, UTF-32: 16384 | |
| UTF-8 length: 1.283 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.098 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 8.875 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 152.978 milliseconds (57000 allocations: 613 MB, 7.82% gc time) | |
| UTF-16 valid: 150.369 milliseconds (58000 allocations: 613 MB, 5.69% gc time) | |
| UTF-32 valid: 150.758 milliseconds (56000 allocations: 613 MB, 5.59% gc time) | |
| UTF-8 convert to UTF-16: 15.104 milliseconds (1000 allocations: 8109 KB) | |
| UTF-8 convert to UTF-32: 18.290 milliseconds (3000 allocations: 16094 KB, 12.16% gc time) | |
| UTF-16 convert to UTF-8: 12.773 milliseconds (1000 allocations: 5359 KB) | |
| UTF-16 convert to UTF-32: 14.493 milliseconds (3000 allocations: 16094 KB, 22.50% gc time) | |
| UTF-32 convert to UTF-8: 13.389 milliseconds (3000 allocations: 5438 KB) | |
| UTF-32 convert to UTF-16: 7.945 milliseconds (3000 allocations: 8188 KB) | |
| 2-byte:: Looping 1000 times, length=4096 | |
| UTF-8: 5376, UTF-16: 8192, UTF-32: 16384 | |
| UTF-8 length: 1.192 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.176 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 8.885 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 147.127 milliseconds (57000 allocations: 613 MB, 6.59% gc time) | |
| UTF-16 valid: 168.254 milliseconds (58000 allocations: 613 MB, 6.43% gc time) | |
| UTF-32 valid: 151.440 milliseconds (56000 allocations: 613 MB, 6.27% gc time) | |
| UTF-8 convert to UTF-16: 16.950 milliseconds (1000 allocations: 8109 KB) | |
| UTF-8 convert to UTF-32: 23.396 milliseconds (3000 allocations: 16094 KB, 12.84% gc time) | |
| UTF-16 convert to UTF-8: 13.960 milliseconds (1000 allocations: 5359 KB) | |
| UTF-16 convert to UTF-32: 10.160 milliseconds (3000 allocations: 16094 KB, 18.98% gc time) | |
| UTF-32 convert to UTF-8: 12.458 milliseconds (3000 allocations: 5438 KB) | |
| UTF-32 convert to UTF-16: 7.814 milliseconds (3000 allocations: 8188 KB) | |
| 3-byte:: Looping 1000 times, length=4096 | |
| UTF-8: 5888, UTF-16: 8192, UTF-32: 16384 | |
| UTF-8 length: 1.345 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.051 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 26.890 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 154.907 milliseconds (57000 allocations: 613 MB, 6.92% gc time) | |
| UTF-16 valid: 154.786 milliseconds (58000 allocations: 613 MB, 5.94% gc time) | |
| UTF-32 valid: 154.824 milliseconds (56000 allocations: 613 MB, 6.48% gc time) | |
| UTF-8 convert to UTF-16: 18.028 milliseconds (1000 allocations: 8109 KB) | |
| UTF-8 convert to UTF-32: 18.998 milliseconds (3000 allocations: 16094 KB, 14.05% gc time) | |
| UTF-16 convert to UTF-8: 14.337 milliseconds (1000 allocations: 5859 KB) | |
| UTF-16 convert to UTF-32: 11.141 milliseconds (3000 allocations: 16094 KB, 17.01% gc time) | |
| UTF-32 convert to UTF-8: 13.072 milliseconds (3000 allocations: 5938 KB) | |
| UTF-32 convert to UTF-16: 7.811 milliseconds (3000 allocations: 8188 KB) | |
| 4-byte:: Looping 1000 times, length=4096 | |
| UTF-8: 6656, UTF-16: 9216, UTF-32: 16384 | |
| UTF-8 length: 1.617 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.378 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 12.251 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 166.895 milliseconds (57000 allocations: 613 MB, 7.51% gc time) | |
| UTF-16 valid: 153.008 milliseconds (58000 allocations: 613 MB, 6.62% gc time) | |
| UTF-32 valid: 142.791 milliseconds (56000 allocations: 613 MB, 5.99% gc time) | |
| UTF-8 convert to UTF-16: 15.148 milliseconds (1000 allocations: 9109 KB) | |
| UTF-8 convert to UTF-32: 17.435 milliseconds (3000 allocations: 16094 KB, 12.19% gc time) | |
| UTF-16 convert to UTF-8: 15.141 milliseconds (1000 allocations: 6609 KB) | |
| UTF-16 convert to UTF-32: 13.903 milliseconds (3000 allocations: 16094 KB, 18.19% gc time) | |
| UTF-32 convert to UTF-8: 13.191 milliseconds (3000 allocations: 6688 KB) | |
| UTF-32 convert to UTF-16: 11.969 milliseconds (3000 allocations: 9188 KB) | |
| Surrogates:: Looping 1000 times, length=4096 | |
| UTF-8: 7680, UTF-16: 9216, UTF-32: 16384 | |
| UTF-8 length: 1.643 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.326 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 7.852 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 155.343 milliseconds (57000 allocations: 613 MB, 6.72% gc time) | |
| UTF-16 valid: 155.146 milliseconds (58000 allocations: 613 MB, 5.36% gc time) | |
| UTF-32 valid: 153.869 milliseconds (56000 allocations: 613 MB, 5.71% gc time) | |
| UTF-8 convert to UTF-16: 18.858 milliseconds (1000 allocations: 9109 KB) | |
| UTF-8 convert to UTF-32: 21.303 milliseconds (3000 allocations: 16094 KB, 6.67% gc time) | |
| UTF-16 convert to UTF-8: 16.669 milliseconds (1000 allocations: 6609 KB) | |
| UTF-16 convert to UTF-32: 15.608 milliseconds (3000 allocations: 16094 KB, 20.52% gc time) | |
| UTF-32 convert to UTF-8: 14.965 milliseconds (3000 allocations: 6688 KB) | |
| UTF-32 convert to UTF-16: 15.248 milliseconds (3000 allocations: 9188 KB, 24.06% gc time) | |
| ASCII: Looping 1000 times, length=16384 | |
| length: 10.849 microseconds (1000 allocations: 16000 bytes) | |
| is_valid_ascii: 158.405 milliseconds (56000 allocations: 613 MB, 4.94% gc time) | |
| Convert to UTF-8: 8.179 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 6.844 milliseconds (3000 allocations: 32094 KB, 23.12% gc time) | |
| Convert to UTF-32: 10.808 milliseconds (3000 allocations: 64094 KB, 31.95% gc time) | |
| ASCII:: Looping 1000 times, length=16384 | |
| UTF-8: 16384, UTF-16: 32768, UTF-32: 65536 | |
| UTF-8 length: 3.671 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 13.296 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 11.234 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 158.861 milliseconds (57000 allocations: 613 MB, 4.93% gc time) | |
| UTF-16 valid: 169.761 milliseconds (58000 allocations: 613 MB, 4.87% gc time) | |
| UTF-32 valid: 157.721 milliseconds (56000 allocations: 613 MB, 5.53% gc time) | |
| UTF-8 convert to UTF-16: 20.081 milliseconds (3000 allocations: 32094 KB, 11.21% gc time) | |
| UTF-8 convert to UTF-32: 23.446 milliseconds (3000 allocations: 64094 KB, 13.45% gc time) | |
| UTF-16 convert to UTF-8: 86.137 milliseconds (3000 allocations: 16094 KB, 1.42% gc time) | |
| UTF-16 convert to UTF-32: 57.111 milliseconds (3000 allocations: 64094 KB, 17.00% gc time) | |
| UTF-32 convert to UTF-8: 35.551 milliseconds (5000 allocations: 16172 KB, 7.72% gc time) | |
| UTF-32 convert to UTF-16: 31.285 milliseconds (5000 allocations: 32172 KB, 7.66% gc time) | |
| Latin1:: Looping 1000 times, length=16384 | |
| UTF-8: 21504, UTF-16: 32768, UTF-32: 65536 | |
| UTF-8 length: 6.543 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 15.174 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 9.229 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 160.189 milliseconds (57000 allocations: 613 MB, 6.47% gc time) | |
| UTF-16 valid: 160.407 milliseconds (58000 allocations: 613 MB, 5.21% gc time) | |
| UTF-32 valid: 152.644 milliseconds (56000 allocations: 613 MB, 5.23% gc time) | |
| UTF-8 convert to UTF-16: 54.432 milliseconds (3000 allocations: 32094 KB, 3.96% gc time) | |
| UTF-8 convert to UTF-32: 67.162 milliseconds (3000 allocations: 64094 KB, 9.16% gc time) | |
| UTF-16 convert to UTF-8: 52.312 milliseconds (3000 allocations: 21094 KB, 4.50% gc time) | |
| UTF-16 convert to UTF-32: 44.805 milliseconds (3000 allocations: 64094 KB, 10.66% gc time) | |
| UTF-32 convert to UTF-8: 51.337 milliseconds (5000 allocations: 21172 KB, 4.19% gc time) | |
| UTF-32 convert to UTF-16: 32.622 milliseconds (5000 allocations: 32172 KB, 6.16% gc time) | |
| 2-byte:: Looping 1000 times, length=16384 | |
| UTF-8: 21504, UTF-16: 32768, UTF-32: 65536 | |
| UTF-8 length: 4.861 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 12.585 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 7.832 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 169.702 milliseconds (57000 allocations: 613 MB, 5.96% gc time) | |
| UTF-16 valid: 164.374 milliseconds (58000 allocations: 613 MB, 5.23% gc time) | |
| UTF-32 valid: 158.053 milliseconds (56000 allocations: 613 MB, 5.16% gc time) | |
| UTF-8 convert to UTF-16: 60.561 milliseconds (3000 allocations: 32094 KB, 4.06% gc time) | |
| UTF-8 convert to UTF-32: 69.664 milliseconds (3000 allocations: 64094 KB, 8.65% gc time) | |
| UTF-16 convert to UTF-8: 51.968 milliseconds (3000 allocations: 21094 KB, 4.02% gc time) | |
| UTF-16 convert to UTF-32: 39.436 milliseconds (3000 allocations: 64094 KB, 8.61% gc time) | |
| UTF-32 convert to UTF-8: 53.260 milliseconds (5000 allocations: 21172 KB, 2.65% gc time) | |
| UTF-32 convert to UTF-16: 34.813 milliseconds (5000 allocations: 32172 KB, 9.64% gc time) | |
| 3-byte:: Looping 1000 times, length=16384 | |
| UTF-8: 23552, UTF-16: 32768, UTF-32: 65536 | |
| UTF-8 length: 5.144 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 13.302 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 13.710 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 165.888 milliseconds (57000 allocations: 613 MB, 5.16% gc time) | |
| UTF-16 valid: 175.655 milliseconds (58000 allocations: 613 MB, 5.07% gc time) | |
| UTF-32 valid: 159.546 milliseconds (56000 allocations: 613 MB, 5.33% gc time) | |
| UTF-8 convert to UTF-16: 55.545 milliseconds (3000 allocations: 32094 KB, 3.30% gc time) | |
| UTF-8 convert to UTF-32: 69.560 milliseconds (3000 allocations: 64094 KB, 5.29% gc time) | |
| UTF-16 convert to UTF-8: 57.147 milliseconds (3000 allocations: 23094 KB, 7.21% gc time) | |
| UTF-16 convert to UTF-32: 32.902 milliseconds (3000 allocations: 64094 KB, 9.25% gc time) | |
| UTF-32 convert to UTF-8: 54.280 milliseconds (5000 allocations: 23172 KB, 3.75% gc time) | |
| UTF-32 convert to UTF-16: 34.634 milliseconds (5000 allocations: 32172 KB, 11.16% gc time) | |
| 4-byte:: Looping 1000 times, length=16384 | |
| UTF-8: 26624, UTF-16: 36864, UTF-32: 65536 | |
| UTF-8 length: 6.276 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 14.263 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 8.745 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 172.567 milliseconds (57000 allocations: 613 MB, 5.57% gc time) | |
| UTF-16 valid: 171.664 milliseconds (58000 allocations: 613 MB, 4.90% gc time) | |
| UTF-32 valid: 287.041 milliseconds (56000 allocations: 613 MB, 5.19% gc time) | |
| UTF-8 convert to UTF-16: 75.039 milliseconds (3000 allocations: 36094 KB, 3.55% gc time) | |
| UTF-8 convert to UTF-32: 68.178 milliseconds (3000 allocations: 64094 KB, 7.57% gc time) | |
| UTF-16 convert to UTF-8: 66.629 milliseconds (3000 allocations: 26094 KB, 2.56% gc time) | |
| UTF-16 convert to UTF-32: 55.167 milliseconds (3000 allocations: 64094 KB, 9.54% gc time) | |
| UTF-32 convert to UTF-8: 53.864 milliseconds (5000 allocations: 26172 KB, 4.18% gc time) | |
| UTF-32 convert to UTF-16: 47.849 milliseconds (5000 allocations: 36172 KB, 4.19% gc time) | |
| Surrogates:: Looping 1000 times, length=16384 | |
| UTF-8: 30720, UTF-16: 36864, UTF-32: 65536 | |
| UTF-8 length: 6.526 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 12.763 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 8.448 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 150.269 milliseconds (57000 allocations: 613 MB, 6.57% gc time) | |
| UTF-16 valid: 176.388 milliseconds (58000 allocations: 613 MB, 5.40% gc time) | |
| UTF-32 valid: 157.225 milliseconds (56000 allocations: 613 MB, 5.59% gc time) | |
| UTF-8 convert to UTF-16: 76.805 milliseconds (3000 allocations: 36094 KB, 1.70% gc time) | |
| UTF-8 convert to UTF-32: 85.334 milliseconds (3000 allocations: 64094 KB, 7.37% gc time) | |
| UTF-16 convert to UTF-8: 61.130 milliseconds (3000 allocations: 26094 KB, 3.34% gc time) | |
| UTF-16 convert to UTF-32: 52.273 milliseconds (3000 allocations: 64094 KB, 11.30% gc time) | |
| UTF-32 convert to UTF-8: 54.070 milliseconds (5000 allocations: 26172 KB, 3.70% gc time) | |
| UTF-32 convert to UTF-16: 49.424 milliseconds (5000 allocations: 36172 KB, 8.50% gc time) | |
| ASCII: Looping 1000 times, length=65536 | |
| length: 22.094 microseconds (1000 allocations: 16000 bytes) | |
| is_valid_ascii: 169.102 milliseconds (56000 allocations: 613 MB, 5.51% gc time) | |
| Convert to UTF-8: 9.702 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 54.047 milliseconds (3000 allocations: 125 MB, 14.07% gc time) | |
| Convert to UTF-32: 89.491 milliseconds (3000 allocations: 250 MB, 11.95% gc time) | |
| ASCII:: Looping 1000 times, length=65536 | |
| UTF-8: 65536, UTF-16: 131072, UTF-32: 262144 | |
| UTF-8 length: 14.626 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 46.147 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 9.991 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 170.172 milliseconds (57000 allocations: 613 MB, 5.79% gc time) | |
| UTF-16 valid: 201.017 milliseconds (58000 allocations: 613 MB, 3.98% gc time) | |
| UTF-32 valid: 202.614 milliseconds (56000 allocations: 613 MB, 4.13% gc time) | |
| UTF-8 convert to UTF-16: 103.127 milliseconds (3000 allocations: 125 MB, 8.32% gc time) | |
| UTF-8 convert to UTF-32: 140.440 milliseconds (3000 allocations: 250 MB, 9.29% gc time) | |
| UTF-16 convert to UTF-8: 91.867 milliseconds (3000 allocations: 64094 KB, 4.30% gc time) | |
| UTF-16 convert to UTF-32: 135.642 milliseconds (3000 allocations: 250 MB, 10.06% gc time) | |
| UTF-32 convert to UTF-8: 91.486 milliseconds (5000 allocations: 64172 KB, 8.18% gc time) | |
| UTF-32 convert to UTF-16: 126.224 milliseconds (5000 allocations: 125 MB, 6.65% gc time) | |
| Latin1:: Looping 1000 times, length=65536 | |
| UTF-8: 86016, UTF-16: 131072, UTF-32: 262144 | |
| UTF-8 length: 19.767 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 52.629 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 9.206 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 210.452 milliseconds (57000 allocations: 613 MB, 4.52% gc time) | |
| UTF-16 valid: 215.631 milliseconds (58000 allocations: 613 MB, 3.89% gc time) | |
| UTF-32 valid: 201.877 milliseconds (56000 allocations: 613 MB, 4.25% gc time) | |
| UTF-8 convert to UTF-16: 260.191 milliseconds (3000 allocations: 125 MB, 3.50% gc time) | |
| UTF-8 convert to UTF-32: 321.805 milliseconds (3000 allocations: 250 MB, 5.79% gc time) | |
| UTF-16 convert to UTF-8: 206.551 milliseconds (3000 allocations: 84094 KB, 2.51% gc time) | |
| UTF-16 convert to UTF-32: 214.464 milliseconds (3000 allocations: 250 MB, 7.80% gc time) | |
| UTF-32 convert to UTF-8: 270.074 milliseconds (5000 allocations: 84172 KB, 3.20% gc time) | |
| UTF-32 convert to UTF-16: 178.102 milliseconds (5000 allocations: 125 MB, 4.90% gc time) | |
| 2-byte:: Looping 1000 times, length=65536 | |
| UTF-8: 86016, UTF-16: 131072, UTF-32: 262144 | |
| UTF-8 length: 18.184 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 55.580 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 9.548 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 208.817 milliseconds (57000 allocations: 613 MB, 5.25% gc time) | |
| UTF-16 valid: 207.721 milliseconds (58000 allocations: 613 MB, 4.00% gc time) | |
| UTF-32 valid: 192.786 milliseconds (56000 allocations: 613 MB, 4.49% gc time) | |
| UTF-8 convert to UTF-16: 266.799 milliseconds (3000 allocations: 125 MB, 3.74% gc time) | |
| UTF-8 convert to UTF-32: 328.331 milliseconds (3000 allocations: 250 MB, 5.48% gc time) | |
| UTF-16 convert to UTF-8: 231.357 milliseconds (3000 allocations: 84094 KB, 3.16% gc time) | |
| UTF-16 convert to UTF-32: 174.213 milliseconds (3000 allocations: 250 MB, 7.85% gc time) | |
| UTF-32 convert to UTF-8: 208.104 milliseconds (5000 allocations: 84172 KB, 3.57% gc time) | |
| UTF-32 convert to UTF-16: 163.546 milliseconds (5000 allocations: 125 MB, 5.27% gc time) | |
| 3-byte:: Looping 1000 times, length=65536 | |
| UTF-8: 94208, UTF-16: 131072, UTF-32: 262144 | |
| UTF-8 length: 21.001 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 51.334 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 9.935 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 209.316 milliseconds (57000 allocations: 613 MB, 5.15% gc time) | |
| UTF-16 valid: 230.362 milliseconds (58000 allocations: 613 MB, 4.22% gc time) | |
| UTF-32 valid: 204.427 milliseconds (56000 allocations: 613 MB, 4.44% gc time) | |
| UTF-8 convert to UTF-16: 312.803 milliseconds (3000 allocations: 125 MB, 3.20% gc time) | |
| UTF-8 convert to UTF-32: 341.502 milliseconds (3000 allocations: 250 MB, 5.38% gc time) | |
| UTF-16 convert to UTF-8: 230.623 milliseconds (3000 allocations: 92094 KB, 3.12% gc time) | |
| UTF-16 convert to UTF-32: 192.719 milliseconds (3000 allocations: 250 MB, 7.13% gc time) | |
| UTF-32 convert to UTF-8: 213.894 milliseconds (5000 allocations: 92172 KB, 3.36% gc time) | |
| UTF-32 convert to UTF-16: 178.777 milliseconds (5000 allocations: 125 MB, 6.94% gc time) | |
| 4-byte:: Looping 1000 times, length=65536 | |
| UTF-8: 106496, UTF-16: 147456, UTF-32: 262144 | |
| UTF-8 length: 24.817 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 56.850 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 11.844 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 223.960 milliseconds (57000 allocations: 613 MB, 4.24% gc time) | |
| UTF-16 valid: 252.312 milliseconds (58000 allocations: 613 MB, 3.76% gc time) | |
| UTF-32 valid: 243.163 milliseconds (56000 allocations: 613 MB, 4.26% gc time) | |
| UTF-8 convert to UTF-16: 300.340 milliseconds (3000 allocations: 141 MB, 3.55% gc time) | |
| UTF-8 convert to UTF-32: 345.059 milliseconds (3000 allocations: 250 MB, 4.63% gc time) | |
| UTF-16 convert to UTF-8: 260.161 milliseconds (3000 allocations: 102 MB, 3.50% gc time) | |
| UTF-16 convert to UTF-32: 272.475 milliseconds (3000 allocations: 250 MB, 5.76% gc time) | |
| UTF-32 convert to UTF-8: 266.750 milliseconds (5000 allocations: 102 MB, 3.95% gc time) | |
| UTF-32 convert to UTF-16: 250.077 milliseconds (5000 allocations: 141 MB, 4.21% gc time) | |
| Surrogates:: Looping 1000 times, length=65536 | |
| UTF-8: 122880, UTF-16: 147456, UTF-32: 262144 | |
| UTF-8 length: 27.898 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 54.518 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 20.911 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 142.374 milliseconds (57000 allocations: 613 MB, 6.48% gc time) | |
| UTF-16 valid: 229.107 milliseconds (58000 allocations: 613 MB, 3.65% gc time) | |
| UTF-32 valid: 184.695 milliseconds (56000 allocations: 613 MB, 4.49% gc time) | |
| UTF-8 convert to UTF-16: 335.941 milliseconds (3000 allocations: 141 MB, 3.17% gc time) | |
| UTF-8 convert to UTF-32: 366.738 milliseconds (3000 allocations: 250 MB, 4.36% gc time) | |
| UTF-16 convert to UTF-8: 265.637 milliseconds (3000 allocations: 102 MB, 3.53% gc time) | |
| UTF-16 convert to UTF-32: 280.197 milliseconds (3000 allocations: 250 MB, 6.16% gc time) | |
| UTF-32 convert to UTF-8: 235.318 milliseconds (5000 allocations: 102 MB, 4.02% gc time) | |
| UTF-32 convert to UTF-16: 237.555 milliseconds (5000 allocations: 141 MB, 3.98% gc time) | |
| ASCII: Looping 1000 times, length=262144 | |
| length: 11.939 microseconds (1000 allocations: 16000 bytes) | |
| is_valid_ascii: 266.236 milliseconds (56000 allocations: 613 MB, 3.52% gc time) | |
| Convert to UTF-8: 8.779 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 138.668 milliseconds (3000 allocations: 500 MB, 12.54% gc time) | |
| Convert to UTF-32: 178.647 milliseconds (3000 allocations: 1000 MB, 15.00% gc time) | |
| ASCII:: Looping 1000 times, length=262144 | |
| UTF-8: 262144, UTF-16: 524288, UTF-32: 1048576 | |
| UTF-8 length: 56.333 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 223.924 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 15.232 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 321.989 milliseconds (57000 allocations: 613 MB, 4.12% gc time) | |
| UTF-16 valid: 410.782 milliseconds (58000 allocations: 613 MB, 2.18% gc time) | |
| UTF-32 valid: 342.132 milliseconds (56000 allocations: 613 MB, 2.99% gc time) | |
| UTF-8 convert to UTF-16: 343.652 milliseconds (3000 allocations: 500 MB, 6.52% gc time) | |
| UTF-8 convert to UTF-32: 368.111 milliseconds (3000 allocations: 1000 MB, 7.65% gc time) | |
| UTF-16 convert to UTF-8: 448.489 milliseconds (3000 allocations: 250 MB, 4.20% gc time) | |
| UTF-16 convert to UTF-32: 380.865 milliseconds (3000 allocations: 1000 MB, 7.54% gc time) | |
| UTF-32 convert to UTF-8: 390.527 milliseconds (5000 allocations: 250 MB, 4.51% gc time) | |
| UTF-32 convert to UTF-16: 405.763 milliseconds (5000 allocations: 500 MB, 5.82% gc time) | |
| Latin1:: Looping 1000 times, length=262144 | |
| UTF-8: 344064, UTF-16: 524288, UTF-32: 1048576 | |
| UTF-8 length: 74.010 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 185.598 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 10.490 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 348.097 milliseconds (57000 allocations: 613 MB, 3.07% gc time) | |
| UTF-16 valid: 405.185 milliseconds (58000 allocations: 613 MB, 2.38% gc time) | |
| UTF-32 valid: 328.674 milliseconds (56000 allocations: 613 MB, 2.87% gc time) | |
| UTF-8 convert to UTF-16: 1.032 seconds (3000 allocations: 500 MB, 2.76% gc time) | |
| UTF-8 convert to UTF-32: 1.080 seconds (3000 allocations: 1000 MB, 4.20% gc time) | |
| UTF-16 convert to UTF-8: 1.026 seconds (3000 allocations: 328 MB, 2.36% gc time) | |
| UTF-16 convert to UTF-32: 522.154 milliseconds (3000 allocations: 1000 MB, 5.69% gc time) | |
| UTF-32 convert to UTF-8: 936.457 milliseconds (5000 allocations: 328 MB, 2.40% gc time) | |
| UTF-32 convert to UTF-16: 579.733 milliseconds (5000 allocations: 500 MB, 4.37% gc time) | |
| 2-byte:: Looping 1000 times, length=262144 | |
| UTF-8: 344064, UTF-16: 524288, UTF-32: 1048576 | |
| UTF-8 length: 77.867 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 203.819 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 11.030 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 377.389 milliseconds (57000 allocations: 613 MB, 2.59% gc time) | |
| UTF-16 valid: 401.063 milliseconds (58000 allocations: 613 MB, 2.30% gc time) | |
| UTF-32 valid: 323.489 milliseconds (56000 allocations: 613 MB, 2.87% gc time) | |
| UTF-8 convert to UTF-16: 1.010 seconds (3000 allocations: 500 MB, 2.89% gc time) | |
| UTF-8 convert to UTF-32: 1.145 seconds (3000 allocations: 1000 MB, 3.70% gc time) | |
| UTF-16 convert to UTF-8: 1.054 seconds (3000 allocations: 328 MB, 2.58% gc time) | |
| UTF-16 convert to UTF-32: 707.878 milliseconds (3000 allocations: 1000 MB, 6.06% gc time) | |
| UTF-32 convert to UTF-8: 1.113 seconds (5000 allocations: 328 MB, 2.68% gc time) | |
| UTF-32 convert to UTF-16: 690.714 milliseconds (5000 allocations: 500 MB, 4.88% gc time) | |
| 3-byte:: Looping 1000 times, length=262144 | |
| UTF-8: 376832, UTF-16: 524288, UTF-32: 1048576 | |
| UTF-8 length: 92.581 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 208.650 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 11.163 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 448.298 milliseconds (57000 allocations: 613 MB, 3.16% gc time) | |
| UTF-16 valid: 464.182 milliseconds (58000 allocations: 613 MB, 2.71% gc time) | |
| UTF-32 valid: 383.353 milliseconds (56000 allocations: 613 MB, 3.25% gc time) | |
| UTF-8 convert to UTF-16: 1.241 seconds (3000 allocations: 500 MB, 2.75% gc time) | |
| UTF-8 convert to UTF-32: 1.367 seconds (3000 allocations: 1000 MB, 3.69% gc time) | |
| UTF-16 convert to UTF-8: 1.123 seconds (3000 allocations: 359 MB, 2.64% gc time) | |
| UTF-16 convert to UTF-32: 617.977 milliseconds (3000 allocations: 1000 MB, 5.86% gc time) | |
| UTF-32 convert to UTF-8: 1.128 seconds (5000 allocations: 360 MB, 2.55% gc time) | |
| UTF-32 convert to UTF-16: 703.892 milliseconds (5000 allocations: 500 MB, 4.84% gc time) | |
| 4-byte:: Looping 1000 times, length=262144 | |
| UTF-8: 425984, UTF-16: 589824, UTF-32: 1048576 | |
| UTF-8 length: 116.509 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 247.548 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 16.158 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 542.116 milliseconds (57000 allocations: 613 MB, 2.53% gc time) | |
| UTF-16 valid: 660.272 milliseconds (58000 allocations: 613 MB, 1.92% gc time) | |
| UTF-32 valid: 423.387 milliseconds (56000 allocations: 613 MB, 3.09% gc time) | |
| UTF-8 convert to UTF-16: 1.415 seconds (3000 allocations: 563 MB, 2.67% gc time) | |
| UTF-8 convert to UTF-32: 1.317 seconds (3000 allocations: 1000 MB, 3.65% gc time) | |
| UTF-16 convert to UTF-8: 1.289 seconds (3000 allocations: 406 MB, 2.50% gc time) | |
| UTF-16 convert to UTF-32: 943.049 milliseconds (3000 allocations: 1000 MB, 4.83% gc time) | |
| UTF-32 convert to UTF-8: 1.150 seconds (5000 allocations: 406 MB, 2.82% gc time) | |
| UTF-32 convert to UTF-16: 995.258 milliseconds (5000 allocations: 563 MB, 3.49% gc time) | |
| Surrogates:: Looping 1000 times, length=262144 | |
| UTF-8: 491520, UTF-16: 589824, UTF-32: 1048576 | |
| UTF-8 length: 130.901 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 256.579 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 17.091 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 175.032 milliseconds (57000 allocations: 613 MB, 6.27% gc time) | |
| UTF-16 valid: 624.400 milliseconds (58000 allocations: 613 MB, 2.05% gc time) | |
| UTF-32 valid: 388.615 milliseconds (56000 allocations: 613 MB, 2.88% gc time) | |
| UTF-8 convert to UTF-16: 1.428 seconds (3000 allocations: 563 MB, 2.59% gc time) | |
| UTF-8 convert to UTF-32: 1.536 seconds (3000 allocations: 1000 MB, 3.19% gc time) | |
| UTF-16 convert to UTF-8: 1.202 seconds (3000 allocations: 406 MB, 2.28% gc time) | |
| UTF-16 convert to UTF-32: 886.401 milliseconds (3000 allocations: 1000 MB, 5.11% gc time) | |
| UTF-32 convert to UTF-8: 1.045 seconds (5000 allocations: 406 MB, 2.51% gc time) | |
| UTF-32 convert to UTF-16: 875.861 milliseconds (5000 allocations: 563 MB, 3.75% gc time) | |
| ASCII: Looping 1000 times, length=1048576 | |
| length: 12.391 microseconds (1000 allocations: 16000 bytes) | |
| is_valid_ascii: 776.412 milliseconds (56000 allocations: 613 MB, 7.66% gc time) | |
| Convert to UTF-8: 13.244 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 316.007 milliseconds (3000 allocations: 2000 MB, 24.03% gc time) | |
| Convert to UTF-32: 699.887 milliseconds (3000 allocations: 4000 MB, 27.79% gc time) | |
| ASCII:: Looping 1000 times, length=1048576 | |
| UTF-8: 1048576, UTF-16: 2097152, UTF-32: 4194304 | |
| UTF-8 length: 248.134 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 1.008 seconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 11.820 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 634.355 milliseconds (57000 allocations: 613 MB, 2.44% gc time) | |
| UTF-16 valid: 1.204 seconds (58000 allocations: 613 MB, 0.77% gc time) | |
| UTF-32 valid: 1.053 seconds (56000 allocations: 613 MB, 0.94% gc time) | |
| UTF-8 convert to UTF-16: 1.223 seconds (3000 allocations: 2000 MB, 7.15% gc time) | |
| UTF-8 convert to UTF-32: 1.645 seconds (3000 allocations: 4000 MB, 13.45% gc time) | |
| UTF-16 convert to UTF-8: 1.706 seconds (3000 allocations: 1000 MB, 3.00% gc time) | |
| UTF-16 convert to UTF-32: 1.652 seconds (3000 allocations: 4000 MB, 15.07% gc time) | |
| UTF-32 convert to UTF-8: 1.441 seconds (5000 allocations: 1000 MB, 3.29% gc time) | |
| UTF-32 convert to UTF-16: 1.418 seconds (5000 allocations: 2000 MB, 8.13% gc time) | |
| Latin1:: Looping 1000 times, length=1048576 | |
| UTF-8: 1376256, UTF-16: 2097152, UTF-32: 4194304 | |
| UTF-8 length: 323.850 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 898.643 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 16.206 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 1.054 seconds (57000 allocations: 613 MB, 1.33% gc time) | |
| UTF-16 valid: 1.334 seconds (58000 allocations: 613 MB, 0.73% gc time) | |
| UTF-32 valid: 1.052 seconds (56000 allocations: 613 MB, 0.99% gc time) | |
| UTF-8 convert to UTF-16: 3.738 seconds (3000 allocations: 2000 MB, 3.23% gc time) | |
| UTF-8 convert to UTF-32: 4.524 seconds (3000 allocations: 4000 MB, 8.36% gc time) | |
| UTF-16 convert to UTF-8: 3.376 seconds (3000 allocations: 1313 MB, 2.20% gc time) | |
| UTF-16 convert to UTF-32: 2.198 seconds (3000 allocations: 4000 MB, 9.68% gc time) | |
| UTF-32 convert to UTF-8: 3.604 seconds (5000 allocations: 1313 MB, 1.97% gc time) | |
| UTF-32 convert to UTF-16: 2.215 seconds (5000 allocations: 2000 MB, 6.16% gc time) | |
| 2-byte:: Looping 1000 times, length=1048576 | |
| UTF-8: 1376256, UTF-16: 2097152, UTF-32: 4194304 | |
| UTF-8 length: 312.975 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 765.391 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 11.004 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 981.373 milliseconds (57000 allocations: 613 MB, 1.08% gc time) | |
| UTF-16 valid: 1.268 seconds (58000 allocations: 613 MB, 0.74% gc time) | |
| UTF-32 valid: 938.489 milliseconds (56000 allocations: 613 MB, 1.03% gc time) | |
| UTF-8 convert to UTF-16: 4.166 seconds (3000 allocations: 2000 MB, 3.09% gc time) | |
| UTF-8 convert to UTF-32: 4.729 seconds (3000 allocations: 4000 MB, 8.06% gc time) | |
| UTF-16 convert to UTF-8: 3.642 seconds (3000 allocations: 1313 MB, 2.06% gc time) | |
| UTF-16 convert to UTF-32: 2.582 seconds (3000 allocations: 4000 MB, 9.58% gc time) | |
| UTF-32 convert to UTF-8: 3.640 seconds (5000 allocations: 1313 MB, 2.01% gc time) | |
| UTF-32 convert to UTF-16: 2.236 seconds (5000 allocations: 2000 MB, 5.86% gc time) | |
| 3-byte:: Looping 1000 times, length=1048576 | |
| UTF-8: 1507328, UTF-16: 2097152, UTF-32: 4194304 | |
| UTF-8 length: 392.457 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 824.433 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 12.438 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 1.187 seconds (57000 allocations: 613 MB, 1.08% gc time) | |
| UTF-16 valid: 1.307 seconds (58000 allocations: 613 MB, 0.73% gc time) | |
| UTF-32 valid: 1.131 seconds (56000 allocations: 613 MB, 0.89% gc time) | |
| UTF-8 convert to UTF-16: 3.851 seconds (3000 allocations: 2000 MB, 3.23% gc time) | |
| UTF-8 convert to UTF-32: 5.332 seconds (3000 allocations: 4000 MB, 7.54% gc time) | |
| UTF-16 convert to UTF-8: 4.024 seconds (3000 allocations: 1438 MB, 2.61% gc time) | |
| UTF-16 convert to UTF-32: 2.417 seconds (3000 allocations: 4000 MB, 8.51% gc time) | |
| UTF-32 convert to UTF-8: 3.586 seconds (5000 allocations: 1438 MB, 2.04% gc time) | |
| UTF-32 convert to UTF-16: 2.079 seconds (5000 allocations: 2000 MB, 4.64% gc time) | |
| 4-byte:: Looping 1000 times, length=1048576 | |
| UTF-8: 1703936, UTF-16: 2359296, UTF-32: 4194304 | |
| UTF-8 length: 391.704 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 861.782 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 10.856 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 1.202 seconds (57000 allocations: 613 MB, 1.04% gc time) | |
| UTF-16 valid: 1.643 seconds (58000 allocations: 613 MB, 0.58% gc time) | |
| UTF-32 valid: 1.110 seconds (56000 allocations: 613 MB, 0.89% gc time) | |
| UTF-8 convert to UTF-16: 4.717 seconds (3000 allocations: 2250 MB, 3.27% gc time) | |
| UTF-8 convert to UTF-32: 4.783 seconds (3000 allocations: 4000 MB, 8.03% gc time) | |
| UTF-16 convert to UTF-8: 4.001 seconds (3000 allocations: 1625 MB, 2.86% gc time) | |
| UTF-16 convert to UTF-32: 3.237 seconds (3000 allocations: 4000 MB, 7.72% gc time) | |
| UTF-32 convert to UTF-8: 3.596 seconds (5000 allocations: 1625 MB, 4.13% gc time) | |
| UTF-32 convert to UTF-16: 3.045 seconds (5000 allocations: 2250 MB, 3.83% gc time) | |
| Surrogates:: Looping 1000 times, length=1048576 | |
| UTF-8: 1966080, UTF-16: 2359296, UTF-32: 4194304 | |
| UTF-8 length: 444.984 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 885.064 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 10.656 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 143.268 milliseconds (57000 allocations: 613 MB, 6.60% gc time) | |
| UTF-16 valid: 1.652 seconds (58000 allocations: 613 MB, 0.58% gc time) | |
| UTF-32 valid: 942.340 milliseconds (56000 allocations: 613 MB, 0.98% gc time) | |
| UTF-8 convert to UTF-16: 4.532 seconds (3000 allocations: 2250 MB, 3.18% gc time) | |
| UTF-8 convert to UTF-32: 5.525 seconds (3000 allocations: 4000 MB, 5.91% gc time) | |
| UTF-16 convert to UTF-8: 4.146 seconds (3000 allocations: 1625 MB, 2.86% gc time) | |
| UTF-16 convert to UTF-32: 3.246 seconds (3000 allocations: 4000 MB, 7.75% gc time) | |
| UTF-32 convert to UTF-8: 3.557 seconds (5000 allocations: 1625 MB, 2.64% gc time) | |
| UTF-32 convert to UTF-16: 3.109 seconds (5000 allocations: 2250 MB, 5.12% gc time) | |
| ASCII: Looping 1000 times, length=4194304 | |
| length: 10.087 microseconds (1000 allocations: 16000 bytes) | |
| is_valid_ascii: 2.092 seconds (56000 allocations: 613 MB, 1.34% gc time) | |
| Convert to UTF-8: 11.375 microseconds (1000 allocations: 16000 bytes) | |
| Convert to UTF-16: 1.496 seconds (3000 allocations: 8000 MB, 27.41% gc time) | |
| Convert to UTF-32: 3.800 seconds (3000 allocations: 16000 MB, 30.16% gc time) | |
| ASCII:: Looping 1000 times, length=4194304 | |
| UTF-8: 4194304, UTF-16: 8388608, UTF-32: 16777216 | |
| UTF-8 length: 928.687 milliseconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.166 seconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 10.709 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 2.053 seconds (57000 allocations: 613 MB, 0.98% gc time) | |
| UTF-16 valid: 4.154 seconds (58000 allocations: 613 MB, 0.20% gc time) | |
| UTF-32 valid: 3.109 seconds (56000 allocations: 613 MB, 0.24% gc time) | |
| UTF-8 convert to UTF-16: 4.490 seconds (3000 allocations: 8000 MB, 10.11% gc time) | |
| UTF-8 convert to UTF-32: 6.760 seconds (3000 allocations: 16000 MB, 17.68% gc time) | |
| UTF-16 convert to UTF-8: 5.904 seconds (3000 allocations: 4000 MB, 4.97% gc time) | |
| UTF-16 convert to UTF-32: 7.080 seconds (3000 allocations: 16000 MB, 16.68% gc time) | |
| UTF-32 convert to UTF-8: 5.252 seconds (5000 allocations: 4000 MB, 5.49% gc time) | |
| UTF-32 convert to UTF-16: 5.511 seconds (5000 allocations: 8000 MB, 7.91% gc time) | |
| Latin1:: Looping 1000 times, length=4194304 | |
| UTF-8: 5505024, UTF-16: 8388608, UTF-32: 16777216 | |
| UTF-8 length: 1.326 seconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.109 seconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 10.787 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 3.546 seconds (57000 allocations: 613 MB, 0.59% gc time) | |
| UTF-16 valid: 4.231 seconds (58000 allocations: 613 MB, 0.18% gc time) | |
| UTF-32 valid: 3.112 seconds (56000 allocations: 613 MB, 0.23% gc time) | |
| UTF-8 convert to UTF-16: 15.576 seconds (3000 allocations: 8000 MB, 4.15% gc time) | |
| UTF-8 convert to UTF-32: 18.428 seconds (3000 allocations: 16000 MB, 9.13% gc time) | |
| UTF-16 convert to UTF-8: 14.517 seconds (3000 allocations: 5250 MB, 3.27% gc time) | |
| UTF-16 convert to UTF-32: 11.842 seconds (3000 allocations: 16000 MB, 12.97% gc time) | |
| UTF-32 convert to UTF-8: 13.872 seconds (5000 allocations: 5250 MB, 2.49% gc time) | |
| UTF-32 convert to UTF-16: 8.891 seconds (5000 allocations: 8000 MB, 5.13% gc time) | |
| 2-byte:: Looping 1000 times, length=4194304 | |
| UTF-8: 5505024, UTF-16: 8388608, UTF-32: 16777216 | |
| UTF-8 length: 1.331 seconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.487 seconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 11.149 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 3.753 seconds (57000 allocations: 613 MB, 0.55% gc time) | |
| UTF-16 valid: 4.652 seconds (58000 allocations: 613 MB, 0.21% gc time) | |
| UTF-32 valid: 3.329 seconds (56000 allocations: 613 MB, 0.23% gc time) | |
| UTF-8 convert to UTF-16: 16.686 seconds (3000 allocations: 8000 MB, 3.85% gc time) | |
| UTF-8 convert to UTF-32: 20.519 seconds (3000 allocations: 16000 MB, 8.38% gc time) | |
| UTF-16 convert to UTF-8: 14.206 seconds (3000 allocations: 5250 MB, 4.07% gc time) | |
| UTF-16 convert to UTF-32: 10.324 seconds (3000 allocations: 16000 MB, 11.89% gc time) | |
| UTF-32 convert to UTF-8: 14.544 seconds (5000 allocations: 5250 MB, 3.10% gc time) | |
| UTF-32 convert to UTF-16: 8.618 seconds (5000 allocations: 8000 MB, 5.41% gc time) | |
| 3-byte:: Looping 1000 times, length=4194304 | |
| UTF-8: 6029312, UTF-16: 8388608, UTF-32: 16777216 | |
| UTF-8 length: 1.391 seconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.167 seconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 20.862 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 3.974 seconds (57000 allocations: 613 MB, 0.45% gc time) | |
| UTF-16 valid: 4.643 seconds (58000 allocations: 613 MB, 0.19% gc time) | |
| UTF-32 valid: 3.323 seconds (56000 allocations: 613 MB, 0.23% gc time) | |
| UTF-8 convert to UTF-16: 14.971 seconds (3000 allocations: 8000 MB, 4.18% gc time) | |
| UTF-8 convert to UTF-32: 20.113 seconds (3000 allocations: 16000 MB, 8.27% gc time) | |
| UTF-16 convert to UTF-8: 14.766 seconds (3000 allocations: 5750 MB, 4.08% gc time) | |
| UTF-16 convert to UTF-32: 9.555 seconds (3000 allocations: 16000 MB, 12.38% gc time) | |
| UTF-32 convert to UTF-8: 14.304 seconds (5000 allocations: 5750 MB, 3.06% gc time) | |
| UTF-32 convert to UTF-16: 8.251 seconds (5000 allocations: 8000 MB, 5.25% gc time) | |
| 4-byte:: Looping 1000 times, length=4194304 | |
| UTF-8: 6815744, UTF-16: 9437184, UTF-32: 16777216 | |
| UTF-8 length: 1.599 seconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.709 seconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 10.162 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 4.503 seconds (57000 allocations: 613 MB, 0.46% gc time) | |
| UTF-16 valid: 6.406 seconds (58000 allocations: 613 MB, 0.16% gc time) | |
| UTF-32 valid: 3.085 seconds (56000 allocations: 613 MB, 0.23% gc time) | |
| UTF-8 convert to UTF-16: 17.606 seconds (3000 allocations: 9000 MB, 5.57% gc time) | |
| UTF-8 convert to UTF-32: 19.032 seconds (3000 allocations: 16000 MB, 8.85% gc time) | |
| UTF-16 convert to UTF-8: 16.334 seconds (3000 allocations: 6500 MB, 3.94% gc time) | |
| UTF-16 convert to UTF-32: 15.154 seconds (3000 allocations: 16000 MB, 11.00% gc time) | |
| UTF-32 convert to UTF-8: 14.660 seconds (5000 allocations: 6500 MB, 3.18% gc time) | |
| UTF-32 convert to UTF-16: 12.284 seconds (5000 allocations: 9000 MB, 3.81% gc time) | |
| Surrogates:: Looping 1000 times, length=4194304 | |
| UTF-8: 7864320, UTF-16: 9437184, UTF-32: 16777216 | |
| UTF-8 length: 1.814 seconds (1000 allocations: 16000 bytes) | |
| UTF-16 length: 3.607 seconds (1000 allocations: 16000 bytes) | |
| UTF-32 length: 10.021 microseconds (1000 allocations: 16000 bytes) | |
| UTF-8 valid: 149.679 milliseconds (57000 allocations: 613 MB, 9.69% gc time) | |
| UTF-16 valid: 6.359 seconds (58000 allocations: 613 MB, 0.15% gc time) | |
| UTF-32 valid: 3.257 seconds (56000 allocations: 613 MB, 0.23% gc time) | |
| UTF-8 convert to UTF-16: 19.094 seconds (3000 allocations: 9000 MB, 4.99% gc time) | |
| UTF-8 convert to UTF-32: 22.226 seconds (3000 allocations: 16000 MB, 7.47% gc time) | |
| UTF-16 convert to UTF-8: 16.047 seconds (3000 allocations: 6500 MB, 4.07% gc time) | |
| UTF-16 convert to UTF-32: 14.455 seconds (3000 allocations: 16000 MB, 11.95% gc time) | |
| UTF-32 convert to UTF-8: 14.197 seconds (5000 allocations: 6500 MB, 3.22% gc time) | |
| UTF-32 convert to UTF-16: 12.070 seconds (5000 allocations: 9000 MB, 3.94% gc time) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment