Open jeffmoss opened 1 year ago
Thank you for letting us know. We'll look into it.
To add another data point, the heroku-kafka plugin adds nearly 5 seconds to startup. Here are some timings with no plugins, then just after adding heroku-kafka.
> time heroku version
heroku/9.2.1 darwin-arm64 node-v16.20.2
________________________________________________________
Executed in 1.04 secs fish external
usr time 267.60 millis 0.13 millis 267.46 millis
sys time 115.09 millis 2.15 millis 112.94 millis
> heroku plugins:install heroku-kafka
> time heroku version
heroku/9.2.1 darwin-arm64 node-v16.20.2
________________________________________________________
Executed in 5.91 secs fish external
usr time 717.23 millis 0.11 millis 717.12 millis
sys time 653.56 millis 1.17 millis 652.40 millis
What is the current behavior?
Currently if you install some plugins the CLI slows down considerably, for example the heroku-pg-extras plugin:
Before
After
What is the expected behavior?
I would expect some commands like
ps
would not load the entire plugin suite, saving time.