Skip to content

Instantly share code, notes, and snippets.

@ScottPJones
Created December 19, 2017 20:39
Show Gist options
  • Save ScottPJones/03734dbc53152856e11d8e5b020aac5b to your computer and use it in GitHub Desktop.
Save ScottPJones/03734dbc53152856e11d8e5b020aac5b to your computer and use it in GitHub Desktop.
Performance data of string/character processing
14:29 $ julia7
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.7.0-DEV.3108 (2017-12-19 11:51 UTC)
_/ |\__'_|_|_|\__'_| | Commit c16c0cb* (0 days old master)
|__/ | x86_64-apple-darwin17.3.0
julia> include("/j/bench2.jl")
W- `parse(str::AbstractString, pos::Int; kwargs...)` is deprecated, use `Meta.parse(str, pos; kwargs...)` instead. -Warn:Core::-1
| caller = ip:0x0
Chinese.txt: 27932 lines, 877727 characters
String: Bytes: 2586836 Chars: 877727 2.947 bytes/char
sizeof: 2586836 62.107µs
codeunits iteration: 2586836 1704.206µs
length: 877727 2907.014µs
SK length: 877727 2994.420µs
Chars iteration: 877727 4283.381µs
codepoints iteration: 877727 4394.594µs
isascii on string: 23172 4325.813µs
isvalid on string: 877727 6828.408µs
isascii: 23172 4104.148µs
iscntrl: 65 4756.850µs
isvalid: 877727 6794.954µs
islower: 91 10219.925µs
isupper: 49 10203.609µs
isalpha: 724709 10216.452µs
isalnum: 724733 12190.484µs
isspace: 12394 11074.643µs
isprint: 877662 10468.179µs
ispunct: 139222 10456.079µs
isgraph: 865333 10320.982µs
isdigit: 24 4821.837µs
isxdigit: 76 5633.651µs
English-1.txt: 15952 lines, 974112 characters
String: Bytes: 995206 Chars: 974112 1.022 bytes/char
sizeof: 995206 25.807µs
codeunits iteration: 995206 725.853µs
length: 974112 967.993µs
SK length: 974112 983.739µs
Chars iteration: 974112 1001.043µs
codepoints iteration: 974112 1081.721µs
isascii on string: 963564 1229.332µs
isvalid on string: 974112 4135.892µs
isascii: 963564 1166.050µs
iscntrl: 0 1662.208µs
isvalid: 974112 4424.049µs
islower: 739480 5932.981µs
isupper: 22391 5944.931µs
isalpha: 761871 5816.623µs
isalnum: 761884 8265.268µs
isspace: 168550 4279.532µs
isprint: 974112 6249.986µs
ispunct: 43678 6103.286µs
isgraph: 805562 5978.739µs
isdigit: 13 1727.672µs
isxdigit: 236233 5068.908µs
English.txt: 51863 lines, 3142689 characters
String: Bytes: 3208544 Chars: 3142689 1.021 bytes/char
sizeof: 3208544 119.353µs
codeunits iteration: 3208544 2478.834µs
length: 3142689 3171.602µs
SK length: 3142689 3345.886µs
Chars iteration: 3142689 3504.570µs
codepoints iteration: 3142689 3521.481µs
isascii on string: 3104427 4093.557µs
isvalid on string: 3142689 14087.579µs
isascii: 3104427 4101.852µs
iscntrl: 0 5666.902µs
isvalid: 3142689 13962.156µs
islower: 2449632 18921.579µs
isupper: 67352 19216.227µs
isalpha: 2516984 18944.120µs
isalnum: 2517988 26047.232µs
isspace: 514179 13578.016µs
isprint: 3142689 19877.008µs
ispunct: 110520 20509.267µs
isgraph: 2628510 19474.302µs
isdigit: 1004 5833.880µs
isxdigit: 782168 15910.467µs
French.txt: 9082 lines, 566851 characters
String: Bytes: 585905 Chars: 566851 1.034 bytes/char
sizeof: 585905 15.547µs
codeunits iteration: 585905 1018.630µs
length: 566851 643.561µs
SK length: 566851 692.962µs
Chars iteration: 566851 715.798µs
codepoints iteration: 566851 717.825µs
isascii on string: 549022 871.887µs
isvalid on string: 566851 2678.292µs
isascii: 549022 870.275µs
iscntrl: 0 1132.088µs
isvalid: 566851 2714.286µs
islower: 437184 3491.179µs
isupper: 15748 3595.365µs
isalpha: 452932 3582.716µs
isalnum: 453913 4871.432µs
isspace: 89728 2545.226µs
isprint: 566851 3652.051µs
ispunct: 22890 3635.733µs
isgraph: 477123 3646.150µs
isdigit: 980 1108.638µs
isxdigit: 144655 2963.728µs
German.txt: 9442 lines, 635698 characters
String: Bytes: 647507 Chars: 635698 1.019 bytes/char
sizeof: 647507 16.906µs
codeunits iteration: 647507 454.960µs
length: 635698 712.399µs
SK length: 635698 629.274µs
Chars iteration: 635698 712.549µs
codepoints iteration: 635698 707.694µs
isascii on string: 623889 828.427µs
isvalid on string: 635698 2765.346µs
isascii: 623889 857.476µs
iscntrl: 0 1106.580µs
isvalid: 635698 2894.428µs
islower: 497815 4025.442µs
isupper: 26382 3931.545µs
isalpha: 524197 3809.585µs
isalnum: 524330 5144.258µs
isspace: 94879 2680.662µs
isprint: 635698 4082.600µs
ispunct: 16481 4094.336µs
isgraph: 540819 3951.526µs
isdigit: 132 1188.149µs
isxdigit: 188516 3298.044µs
Hungarian.txt: 8222 lines, 468065 characters
String: Bytes: 510251 Chars: 468065 1.090 bytes/char
sizeof: 510251 13.832µs
codeunits iteration: 510251 430.831µs
length: 468065 782.922µs
SK length: 468065 767.398µs
Chars iteration: 468065 938.803µs
codepoints iteration: 468065 934.578µs
isascii on string: 428018 950.937µs
isvalid on string: 468065 2420.845µs
isascii: 428018 955.608µs
iscntrl: 0 1242.140µs
isvalid: 468065 2404.347µs
islower: 374367 3270.349µs
isupper: 9453 3598.214µs
isalpha: 383820 3200.375µs
isalnum: 383985 4641.497µs
isspace: 64919 2405.199µs
isprint: 468065 3304.980µs
ispunct: 19124 3375.067µs
isgraph: 403146 3346.062µs
isdigit: 165 1228.429µs
isxdigit: 96838 2557.563µs
Japanese.txt: 2037 lines, 292885 characters
String: Bytes: 875475 Chars: 292885 2.989 bytes/char
sizeof: 875475 2.367µs
codeunits iteration: 875475 318.296µs
length: 292885 885.298µs
SK length: 292885 941.220µs
Chars iteration: 292885 1463.438µs
codepoints iteration: 292885 1442.418µs
isascii on string: 1590 1409.222µs
isvalid on string: 292885 2271.170µs
isascii: 1590 1425.033µs
iscntrl: 0 1563.435µs
isvalid: 292885 2282.576µs
islower: 591 3442.887µs
isupper: 43 3589.570µs
isalpha: 211339 3434.799µs
isalnum: 211761 4574.821µs
isspace: 804 3807.744µs
isprint: 292885 3686.950µs
ispunct: 79613 3600.058µs
isgraph: 292081 3566.031µs
isdigit: 417 1645.916µs
isxdigit: 573 1935.754µs
Portuguese.txt: 3541 lines, 195387 characters
String: Bytes: 199599 Chars: 195387 1.022 bytes/char
sizeof: 199599 5.774µs
codeunits iteration: 199599 160.675µs
length: 195387 237.050µs
SK length: 195387 239.870µs
Chars iteration: 195387 244.091µs
codepoints iteration: 195387 237.603µs
isascii on string: 191175 292.415µs
isvalid on string: 195387 933.662µs
isascii: 191175 267.597µs
iscntrl: 0 380.675µs
isvalid: 195387 897.432µs
islower: 151796 1226.683µs
isupper: 3560 1203.232µs
isalpha: 155356 1255.631µs
isalnum: 155792 1659.977µs
isspace: 32379 807.699µs
isprint: 195387 1359.796µs
ispunct: 7184 1334.724µs
isgraph: 163008 1224.527µs
isdigit: 436 388.298µs
isxdigit: 57296 1081.527µs
Russian.txt: 5427 lines, 481891 characters
String: Bytes: 865360 Chars: 481891 1.796 bytes/char
sizeof: 865360 8.626µs
codeunits iteration: 865360 414.597µs
length: 481891 1991.053µs
SK length: 481891 2062.070µs
Chars iteration: 481891 2522.854µs
codepoints iteration: 481891 2588.914µs
isascii on string: 100030 2331.405µs
isvalid on string: 481891 3973.716µs
isascii: 100030 2377.666µs
iscntrl: 0 2744.965µs
isvalid: 481891 3835.249µs
islower: 366086 5557.797µs
isupper: 14155 5513.275µs
isalpha: 380241 5608.128µs
isalnum: 380537 5608.279µs
isspace: 74875 5495.723µs
isprint: 481891 5591.723µs
ispunct: 26399 5534.025µs
isgraph: 407016 5601.804µs
isdigit: 296 2802.994µs
isxdigit: 444 3068.527µs
Spanish.txt: 31622 lines, 2060688 characters
String: Bytes: 2104254 Chars: 2060688 1.021 bytes/char
sizeof: 2104254 60.644µs
codeunits iteration: 2104254 1586.333µs
length: 2060688 2246.550µs
SK length: 2060688 2261.218µs
Chars iteration: 2060688 2388.163µs
codepoints iteration: 2060688 2352.060µs
isascii on string: 2017122 2801.056µs
isvalid on string: 2060688 9264.105µs
isascii: 2017122 2759.414µs
iscntrl: 0 3711.275µs
isvalid: 2060688 8901.945µs
islower: 1616591 12761.295µs
isupper: 24193 12639.360µs
isalpha: 1640784 12646.324µs
isalnum: 1640804 17646.722µs
isspace: 352985 8778.640µs
isprint: 2060688 13059.959µs
ispunct: 66899 13295.656µs
isgraph: 1707703 12849.533µs
isdigit: 20 4121.951µs
isxdigit: 593814 10482.731µs
Swedish.txt: 11160 lines, 591452 characters
String: Bytes: 618096 Chars: 591452 1.045 bytes/char
sizeof: 618096 17.508µs
codeunits iteration: 618096 528.704µs
length: 591452 712.117µs
SK length: 591452 746.283µs
Chars iteration: 591452 802.604µs
codepoints iteration: 591452 883.828µs
isascii on string: 564808 991.857µs
isvalid on string: 591452 2835.952µs
isascii: 564808 919.514µs
iscntrl: 0 1362.077µs
isvalid: 591452 2777.788µs
islower: 460105 3775.235µs
isupper: 9646 3811.666µs
isalpha: 469751 3852.571µs
isalnum: 471608 5044.038µs
isspace: 100599 2660.621µs
isprint: 591452 3894.221µs
ispunct: 19244 3999.687µs
isgraph: 490853 3774.992µs
isdigit: 1857 1270.630µs
isxdigit: 141818 2980.526µs
Telugu.txt: 7519 lines, 505822 characters
String: Bytes: 1365434 Chars: 505822 2.699 bytes/char
sizeof: 1365434 12.130µs
codeunits iteration: 1365434 667.280µs
length: 505822 1937.992µs
SK length: 505822 1934.104µs
Chars iteration: 505822 2758.976µs
codepoints iteration: 505822 3315.884µs
isascii on string: 76016 2708.777µs
isvalid on string: 505822 4177.508µs
isascii: 76016 2653.814µs
iscntrl: 0 3015.184µs
isvalid: 505822 4256.844µs
islower: 592 6015.098µs
isupper: 92 6192.704µs
isalpha: 243569 6107.149µs
isalnum: 243808 7280.883µs
isspace: 53954 6310.678µs
isprint: 505505 6209.542µs
ispunct: 21131 6200.154µs
isgraph: 451551 6146.416µs
isdigit: 239 3094.421µs
isxdigit: 456 3473.077µs
15:25 $ julian
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: https://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.7.0-DEV.2919 (2017-12-13 15:45 UTC)
_/ |\__'_|_|_|\__'_| | Commit 24fce75* (6 days old master)
|__/ | x86_64-apple-darwin17.2.0
julia> Pkg.rm("Strs") ; Pkg.clone("/j/Strs.jl")
INFO: Removing Strs (unregistered)
INFO: Cloning Strs from /j/Strs.jl
INFO: Computing changes...
INFO: No packages to install, update or remove
julia> include("/j/bench2.jl")
WARNING: importing deprecated binding Base.ParseError into StringLiterals.
WARNING: Base.ParseError is deprecated, use Base.Meta.ParseError instead.
likely near /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:23
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:339
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:132
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:342
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:132
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:339
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:132
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:342
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:132
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:339
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:132
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:342
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:132
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:339
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:152
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:342
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:152
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:339
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:152
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:342
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:152
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:339
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:152
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:342
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:152
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:339
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:152
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:342
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:152
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:311
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:239
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:311
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:239
WARNING: parse(str::AbstractString, pos::Int; kwargs...) is deprecated, use Meta.parse(str, pos; kwargs...) instead.
Stacktrace:
[1] depwarn at ./deprecated.jl:68 [inlined]
[2] #parse#874(::NamedTuple{(:greedy,),Tuple{Bool}}, ::Function, ::String, ::Int64) at ./deprecated.jl:56
[3] #parse at ./<missing>:0 [inlined]
[4] s_interp_parse_vec(::Bool, ::String, ::typeof(StringLiterals.s_unescape_legacy)) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:311
[5] s_print(::Bool, ::String, ::Function) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:290
[6] s_print(::Bool, ::String) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:288
[7] @pr_str(::LineNumberNode, ::Module, ::Any) at /Users/scott/.julia/v0.7/StringLiterals/src/StringLiterals.jl:45
[8] include at ./boot.jl:279 [inlined]
[9] include_relative(::Module, ::String) at ./loading.jl:509
[10] include(::Module, ::String) at ./sysimg.jl:15
[11] include(::String) at ./sysimg.jl:54
[12] top-level scope
[13] eval at ./boot.jl:282 [inlined]
[14] eval(::Module, ::Expr) at ./repl/REPL.jl:3
[15] eval_user_input(::Any, ::Base.REPL.REPLBackend) at ./repl/REPL.jl:70
[16] macro expansion at ./repl/REPL.jl:101 [inlined]
[17] (::getfield(Base.REPL, Symbol("##1#2")){Base.REPL.REPLBackend})() at ./event.jl:95
in expression starting at /j/bench2.jl:239
Chinese.txt: 27932 lines, 877727 characters
String: Bytes: 2586836 Chars: 877727 2.947 bytes/char
sizeof: 2586836 62.031µs
codeunits iteration: 2586836 1916.243µs
length: 877727 957.327µs
SK length: 877727 3348.345µs
Chars iteration: 877727 7580.370µs
codepoints iteration: 877727 7572.999µs
isascii on string: 23172 7507.283µs
isvalid on string: 877727 8081.727µs
isascii: 23172 7613.893µs
iscntrl: 65 7795.483µs
isvalid: 877727 8135.131µs
islower: 91 9577.991µs
isupper: 49 9918.523µs
isalpha: 724709 9670.285µs
isalnum: 724733 11239.997µs
isspace: 12394 10229.945µs
isprint: 877662 9837.052µs
ispunct: 139222 9847.584µs
isgraph: 865333 9838.433µs
isdigit: 24 7948.436µs
isxdigit: 76 8448.098µs
English-1.txt: 15952 lines, 974112 characters
String: Bytes: 995206 Chars: 974112 1.022 bytes/char
sizeof: 995206 29.648µs
codeunits iteration: 995206 906.535µs
length: 974112 411.570µs
SK length: 974112 932.493µs
Chars iteration: 974112 955.556µs
codepoints iteration: 974112 929.979µs
isascii on string: 963564 1016.970µs
isvalid on string: 974112 1536.288µs
isascii: 963564 1028.657µs
iscntrl: 0 1442.740µs
isvalid: 974112 1597.023µs
islower: 739480 3295.094µs
isupper: 22391 3928.339µs
isalpha: 761871 3655.602µs
isalnum: 761884 5671.420µs
isspace: 168550 3455.185µs
isprint: 974112 3588.372µs
ispunct: 43678 4009.760µs
isgraph: 805562 3629.697µs
isdigit: 13 1492.871µs
isxdigit: 236233 4954.922µs
English.txt: 51863 lines, 3142689 characters
String: Bytes: 3208544 Chars: 3142689 1.021 bytes/char
sizeof: 3208544 137.386µs
codeunits iteration: 3208544 2849.066µs
length: 3142689 1484.464µs
SK length: 3142689 3191.570µs
Chars iteration: 3142689 3315.772µs
codepoints iteration: 3142689 3365.203µs
isascii on string: 3104427 3995.375µs
isvalid on string: 3142689 6210.968µs
isascii: 3104427 3592.875µs
iscntrl: 0 4791.176µs
isvalid: 3142689 5309.081µs
islower: 2449632 11462.906µs
isupper: 67352 13378.341µs
isalpha: 2516984 12300.343µs
isalnum: 2517988 18565.006µs
isspace: 514179 11420.897µs
isprint: 3142689 11815.326µs
ispunct: 110520 13894.463µs
isgraph: 2628510 12012.836µs
isdigit: 1004 5194.025µs
isxdigit: 782168 15036.900µs
French.txt: 9082 lines, 566851 characters
String: Bytes: 585905 Chars: 566851 1.034 bytes/char
sizeof: 585905 16.966µs
codeunits iteration: 585905 473.900µs
length: 566851 263.133µs
SK length: 566851 643.772µs
Chars iteration: 566851 794.701µs
codepoints iteration: 566851 782.370µs
isascii on string: 549022 773.180µs
isvalid on string: 566851 1149.601µs
isascii: 549022 750.520µs
iscntrl: 0 996.760µs
isvalid: 566851 1104.450µs
islower: 437184 2096.806µs
isupper: 15748 2362.988µs
isalpha: 452932 2555.686µs
isalnum: 453913 3263.255µs
isspace: 89728 2012.778µs
isprint: 566851 2225.678µs
ispunct: 22890 2444.205µs
isgraph: 477123 2229.402µs
isdigit: 980 1031.366µs
isxdigit: 144655 3284.467µs
German.txt: 9442 lines, 635698 characters
String: Bytes: 647507 Chars: 635698 1.019 bytes/char
sizeof: 647507 17.388µs
codeunits iteration: 647507 521.279µs
length: 635698 296.011µs
SK length: 635698 784.723µs
Chars iteration: 635698 928.837µs
codepoints iteration: 635698 680.200µs
isascii on string: 623889 770.474µs
isvalid on string: 635698 1119.228µs
isascii: 623889 773.690µs
iscntrl: 0 995.299µs
isvalid: 635698 1077.138µs
islower: 497815 2242.256µs
isupper: 26382 2624.588µs
isalpha: 524197 2438.539µs
isalnum: 524330 3428.731µs
isspace: 94879 2182.543µs
isprint: 635698 2335.842µs
ispunct: 16481 2592.827µs
isgraph: 540819 2436.650µs
isdigit: 132 1043.840µs
isxdigit: 188516 3172.729µs
Hungarian.txt: 8222 lines, 468065 characters
String: Bytes: 510251 Chars: 468065 1.090 bytes/char
sizeof: 510251 14.806µs
codeunits iteration: 510251 455.294µs
length: 468065 272.910µs
SK length: 468065 732.495µs
Chars iteration: 468065 1159.550µs
codepoints iteration: 468065 1064.224µs
isascii on string: 428018 1095.756µs
isvalid on string: 468065 1261.883µs
isascii: 428018 1077.965µs
iscntrl: 0 1300.368µs
isvalid: 468065 1307.683µs
islower: 374367 2019.981µs
isupper: 9453 2273.241µs
isalpha: 383820 2218.276µs
isalnum: 383985 2946.092µs
isspace: 64919 2062.135µs
isprint: 468065 2153.586µs
ispunct: 19124 2320.634µs
isgraph: 403146 2117.986µs
isdigit: 165 1288.092µs
isxdigit: 96838 2565.292µs
Japanese.txt: 2037 lines, 292885 characters
String: Bytes: 875475 Chars: 292885 2.989 bytes/char
sizeof: 875475 2.807µs
codeunits iteration: 875475 329.739µs
length: 292885 265.739µs
SK length: 292885 918.179µs
Chars iteration: 292885 2770.884µs
codepoints iteration: 292885 2554.429µs
isascii on string: 1590 2835.855µs
isvalid on string: 292885 2668.379µs
isascii: 1590 2483.729µs
iscntrl: 0 2595.986µs
isvalid: 292885 2621.146µs
islower: 591 3136.904µs
isupper: 43 3294.762µs
isalpha: 211339 3276.832µs
isalnum: 211761 4328.099µs
isspace: 804 3490.579µs
isprint: 292885 3233.451µs
ispunct: 79613 3282.936µs
isgraph: 292081 3222.135µs
isdigit: 417 2630.407µs
isxdigit: 573 2639.353µs
Portuguese.txt: 3541 lines, 195387 characters
String: Bytes: 199599 Chars: 195387 1.022 bytes/char
sizeof: 199599 5.563µs
codeunits iteration: 199599 178.309µs
length: 195387 112.941µs
SK length: 195387 212.031µs
Chars iteration: 195387 242.753µs
codepoints iteration: 195387 240.831µs
isascii on string: 191175 278.416µs
isvalid on string: 195387 460.219µs
isascii: 191175 248.590µs
iscntrl: 0 340.961µs
isvalid: 195387 351.135µs
islower: 151796 701.673µs
isupper: 3560 863.232µs
isalpha: 155356 775.207µs
isalnum: 155792 1138.639µs
isspace: 32379 721.522µs
isprint: 195387 753.555µs
ispunct: 7184 849.358µs
isgraph: 163008 769.347µs
isdigit: 436 365.102µs
isxdigit: 57296 988.146µs
Russian.txt: 5427 lines, 481891 characters
String: Bytes: 865360 Chars: 481891 1.796 bytes/char
sizeof: 865360 9.705µs
codeunits iteration: 865360 502.365µs
length: 481891 292.984µs
SK length: 481891 1680.066µs
Chars iteration: 481891 4307.690µs
codepoints iteration: 481891 4123.436µs
isascii on string: 100030 4114.892µs
isvalid on string: 481891 4710.676µs
isascii: 100030 4187.100µs
iscntrl: 0 4295.886µs
isvalid: 481891 4327.876µs
islower: 366086 5149.088µs
isupper: 14155 5299.392µs
isalpha: 380241 5153.205µs
isalnum: 380537 4991.147µs
isspace: 74875 5277.703µs
isprint: 481891 5040.883µs
ispunct: 26399 5689.582µs
isgraph: 407016 5561.162µs
isdigit: 296 4499.358µs
isxdigit: 444 4420.969µs
Spanish.txt: 31622 lines, 2060688 characters
String: Bytes: 2104254 Chars: 2060688 1.021 bytes/char
sizeof: 2104254 70.719µs
codeunits iteration: 2104254 1785.016µs
length: 2060688 973.496µs
SK length: 2060688 2140.562µs
Chars iteration: 2060688 2551.766µs
codepoints iteration: 2060688 2623.987µs
isascii on string: 2017122 2650.772µs
isvalid on string: 2060688 3765.985µs
isascii: 2017122 2963.119µs
iscntrl: 0 3803.275µs
isvalid: 2060688 3652.280µs
islower: 1616591 7521.537µs
isupper: 24193 8778.644µs
isalpha: 1640784 7916.310µs
isalnum: 1640804 11994.609µs
isspace: 352985 7479.333µs
isprint: 2060688 7868.478µs
ispunct: 66899 8599.280µs
isgraph: 1707703 7768.554µs
isdigit: 20 3455.427µs
isxdigit: 593814 10264.507µs
Swedish.txt: 11160 lines, 591452 characters
String: Bytes: 618096 Chars: 591452 1.045 bytes/char
sizeof: 618096 18.919µs
codeunits iteration: 618096 546.336µs
length: 591452 277.841µs
SK length: 591452 716.785µs
Chars iteration: 591452 954.313µs
codepoints iteration: 591452 928.127µs
isascii on string: 564808 1006.042µs
isvalid on string: 591452 1289.870µs
isascii: 564808 971.824µs
iscntrl: 0 1232.766µs
isvalid: 591452 1264.565µs
islower: 460105 2326.478µs
isupper: 9646 2637.824µs
isalpha: 469751 2399.315µs
isalnum: 471608 3365.120µs
isspace: 100599 2207.392µs
isprint: 591452 2434.751µs
ispunct: 19244 2551.282µs
isgraph: 490853 2400.589µs
isdigit: 1857 1272.369µs
isxdigit: 141818 3079.650µs
Telugu.txt: 7519 lines, 505822 characters
String: Bytes: 1365434 Chars: 505822 2.699 bytes/char
sizeof: 1365434 12.695µs
codeunits iteration: 1365434 938.908µs
length: 505822 474.763µs
SK length: 505822 1951.449µs
Chars iteration: 505822 4281.222µs
codepoints iteration: 505822 4203.231µs
isascii on string: 76016 5272.235µs
isvalid on string: 505822 4744.070µs
isascii: 76016 4318.407µs
iscntrl: 0 4561.464µs
isvalid: 505822 4513.788µs
islower: 592 5424.731µs
isupper: 92 6486.635µs
isalpha: 243569 5591.465µs
isalnum: 243808 6257.572µs
isspace: 53954 5672.694µs
isprint: 505505 5594.449µs
ispunct: 21131 5541.873µs
isgraph: 451551 5319.532µs
isdigit: 239 4473.302µs
isxdigit: 456 4828.067µs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment