Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startup time is very long #254

Open
alecGraves opened this issue Mar 25, 2023 · 1 comment
Open

startup time is very long #254

alecGraves opened this issue Mar 25, 2023 · 1 comment

Comments

@alecGraves
Copy link

The startup time for this utility is too long.

Startup time for vcs:

$ time vcs --version
vcs 0.3.0

real    0m0.170s
user    0m0.150s
sys     0m0.020s

Compared to bash:

$ time bash --version
GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

real    0m0.002s
user    0m0.001s
sys     0m0.001s

Or even a python3 program:

$ time python3 -c 'import sys; print(sys.version)'
3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]

real    0m0.016s
user    0m0.015s
sys     0m0.001s

And this is on some fairly ridiculous hardware:

$ time cat /proc/cpuinfo |  grep 'model name' | head -n1
model name      : 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz

real    0m0.002s
user    0m0.005s
sys     0m0.000s

It could be the python package structure.

@christophebedard
Copy link
Contributor

A PR to improve that would probably be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants