Skip to content

Instantly share code, notes, and snippets.

@ScottPJones
Created January 1, 2018 16:49
Show Gist options
  • Save ScottPJones/bb67b0df516e0533659abfa2c329735c to your computer and use it in GitHub Desktop.
Save ScottPJones/bb67b0df516e0533659abfa2c329735c to your computer and use it in GitHub Desktop.
Performance results on v0.7 latest (1-1-2018)
julia> dispbench(res)
File name Lines Chars Avg C/L Empty Min Max MaxType
ASCII-Dict.txt 235886 2257223 9.569 0 1 24 ASCIIStr
Character Types: ASCII Latin1 2-Byte UCS2 UTF32 Surrogate Invalid
Total characters: 2257223 0 0 0 0 0 0
Lines with > 0: 235886 0 0 0 0 0 0
Type B/Char sizeof length isascii isvalid
string string
Results: 2257223 2257223 235886 235886
String 1.000 0.354 2.527 3.716 2.547
UniStr 1.000 0.334 0.793 9.896 1.313
ASCIIStr 1.000 0.436 3.110 49.615 32.796
####################################################################################################
File name Lines Chars Avg C/L Empty Min Max MaxType
Chinese.txt 27932 877727 31.424 0 1 80 UCS2Str
Character Types: ASCII Latin1 2-Byte UCS2 UTF32 Surrogate Invalid
Total characters: 23172 0 1 854554 0 0 0
Lines with > 0: 124 0 0 27808 0 0 0
Type B/Char sizeof length isascii isvalid
string string
Results: 2586836 877727 124 27932
String 2.947 0.083 4.458 0.429 2.744
UniStr 1.989 0.384 4.757 3.449 4.783
UCS2Str 2.000 0.474 25.509 1.231 115.526
####################################################################################################
File name Lines Chars Avg C/L Empty Min Max MaxType
Hungarian.txt 8222 468065 56.928 0 1 72 UCS2Str
Character Types: ASCII Latin1 2-Byte UCS2 UTF32 Surrogate Invalid
Total characters: 428018 34550 3358 2139 0 0 0
Lines with > 0: 347 4187 2312 1376 0 0 0
Type B/Char sizeof length isascii isvalid
string string
Results: 510251 468065 347 8222
String 1.090 0.040 1.959 0.698 1.669
UniStr 1.476 0.172 2.742 3.663 3.138
UCS2Str 2.000 0.525 25.281 1.836 127.540
####################################################################################################
File name Lines Chars Avg C/L Empty Min Max MaxType
Japanese.txt 2037 292885 143.783 0 3 2191 UCS2Str
Character Types: ASCII Latin1 2-Byte UCS2 UTF32 Surrogate Invalid
Total characters: 1590 0 0 291295 0 0 0
Lines with > 0: 12 0 0 2025 0 0 0
Type B/Char sizeof length isascii isvalid
string string
Results: 875475 292885 12 2037
String 2.989 0.010 4.008 0.098 2.186
UniStr 1.998 0.268 17.527 3.653 15.013
UCS2Str 2.000 0.541 198.188 1.901 419.567
####################################################################################################
File name Lines Chars Avg C/L Empty Min Max MaxType
Russian.txt 5427 481891 88.795 0 4 605 UCS2Str
Character Types: ASCII Latin1 2-Byte UCS2 UTF32 Surrogate Invalid
Total characters: 100030 469 379784 1608 0 0 0
Lines with > 0: 3 0 4079 1345 0 0 0
Type B/Char sizeof length isascii isvalid
string string
Results: 865360 481891 3 5427
String 1.796 0.025 4.043 0.203 3.410
UniStr 2.000 0.391 12.073 5.182 15.574
UCS2Str 2.000 0.561 89.778 2.093 436.317
####################################################################################################
File name Lines Chars Avg C/L Empty Min Max MaxType
Swedish.txt 11160 591452 52.997 0 3 76 LatinStr
Character Types: ASCII Latin1 2-Byte UCS2 UTF32 Surrogate Invalid
Total characters: 564808 26644 0 0 0 0 0
Lines with > 0: 1518 9642 0 0 0 0 0
Type B/Char sizeof length isascii isvalid
string string
Results: 618096 591452 1518 11160
String 1.045 0.039 1.435 0.778 1.101
UniStr 1.000 0.259 2.779 7.258 2.451
LatinStr 1.045 0.717 26.279 2.318 90.006
####################################################################################################
File name Lines Chars Avg C/L Empty Min Max MaxType
Telugu.txt 7519 505822 67.273 0 3 123 UCS2Str
Character Types: ASCII Latin1 2-Byte UCS2 UTF32 Surrogate Invalid
Total characters: 76016 0 0 429806 0 0 0
Lines with > 0: 40 0 0 7479 0 0 0
Type B/Char sizeof length isascii isvalid
string string
Results: 1365434 505822 40 7519
String 2.699 0.029 4.087 0.255 3.444
UniStr 1.999 0.292 8.961 5.016 12.686
UCS2Str 2.000 0.512 70.494 2.337 357.237
####################################################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment