chef-workstation icon indicating copy to clipboard operation
chef-workstation copied to clipboard

knife commands are very slow in windows

Open thirumoorthir opened this issue 6 years ago • 2 comments

Description

After installing chefdk knife command takes more than two minutes to finish run

Chef Workstation Version

Platform Version

It happens only in windows OS --all

thirumoorthir avatar Dec 27 '19 18:12 thirumoorthir

This is a known issue that we're working on currently.

tas50 avatar Dec 30 '19 20:12 tas50

A large part of this has been resolved in #914. We had a lot of extra requires that were happening in the various knife cloud plugins which were running anything you did something in knife. The logic in Ruby to require a library is particularly slow on Windows so this had a large impact there. I'm going to leave this open for now since there's additional work, to do such as #864, but #914 should have a pretty huge impact on performance.

tas50 avatar Feb 04 '20 20:02 tas50