Skip to content
This repository was archived by the owner on Apr 27, 2022. It is now read-only.
This repository was archived by the owner on Apr 27, 2022. It is now read-only.

cli client: long startup times #1046

@zenhack

Description

@zenhack

I've noticed on the box @naved001 just gave me access to that running the command line tool is a bit slow, enough to be slightly annoying:

$ time hil --help
Usage: hil [OPTIONS] COMMAND [ARGS]...

  The HIL Command line.

  Every subcommand supports --help option to see all arguments (positional
  and optional) and additional help for that subcommand.

Options:
  --version  Show the version and exit.
  --help     Show this message and exit.

Commands:
  headnode           Commands related to headnode
  network            Commands related to network
  networking-action  Commands related to networking-actions
  node               Commands related to node
  port               Commands related to port
  project            Commands related to project
  switch             Commands related to switch
  user               Commands related to user

real	0m1.248s
user	0m1.013s
sys	0m0.237s
$ 

almost a second and a half just to display the help. Not a showstopper, but like I said, annoying, and it really shouldn't take that long to start up. We should figure out what's going on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions