[chef] Re: Re: Re: knife command very slow


Chronological Thread 
  • From: Teemu Matilainen < >
  • To:
  • Subject: [chef] Re: Re: Re: knife command very slow
  • Date: Fri, 16 Aug 2013 15:35:01 +0300

On Thu, Aug 15, 2013 at 11:35 PM, Cassiano Leal 
< >
 wrote:
>
> After cleaning up, time went down to 0.54s. After installing chefspec, this
> time doubled. Still acceptable, but I wouldn’t expect that this gem would
> increase the time. knife-ec2 increases about .02s to the run time.

I'm quite sure the slowness is because of knife subcommand loading. It
crawl through files in all gems while trying to find knife commands.
Using Bundler to isolate loaded gems should indeed help.

-- 
Cheers,
  - Teemu



Archive powered by MHonArc 2.6.16.

§