-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
system:wslWindows Subsystem Linux (WSL)Windows Subsystem Linux (WSL)
Description
Following up on a slack conversation, there is indeed a substantial regression in the responsivity of a CLI application written with Comonicon:
Julia 1.10:
~/.julia/bin$ time ./cli --help
# lots of output
real 0m0.285s
user 0m0.395s
sys 0m0.642sJulia 1.11-rc1:
real 0m3.681s
user 0m3.656s
sys 0m0.866sI haven't really participated in the Julia 1.11 release and don't have time to check myself, but since it's a pretty sizable regression I'm slapping a milestone on it. (I am not personally affected by CLI TTFX, though.)
Here are the specifics of what I tested:
tim@diva:/tmp/TTFX/CLI$ tree
.
├── Manifest.toml
├── Project.toml
└── src
└── CLI.jl
1 directory, 3 files
tim@diva:/tmp/TTFX/CLI$ cat src/CLI.jl
module CLI
using Comonicon
"""
ArgParse example implemented in Comonicon.
# Arguments
- `x`: an argument
# Options
- `--opt1 <arg>`: an option
- `-o, --opt2 <arg>`: another option
# Flags
- `-f, --flag`: a flag
"""
Comonicon.@main function main(x; opt1=1, opt2::Int=2, flag=false)
println("Parsed args:")
println("flag=>", flag)
println("arg=>", x)
println("opt1=>", opt1)
println("opt2=>", opt2)
end
end # module CLIBuild with
(CLI) pkg> buildand then test with
~/.julia/bin$ time ./cli --helpMetadata
Metadata
Assignees
Labels
system:wslWindows Subsystem Linux (WSL)Windows Subsystem Linux (WSL)