Jo Liss
Jo Liss

Reputation: 32955

rake-pipeline performance

We're using Rake::Pipeline::Middleware to serve a rake-pipeline project with Rack. It seems incredibly slow, like it's rebuilding everything whenever a file has changed.

Are we doing something wrong? Is there something we can do to speed it up?

Upvotes: 2

Views: 149

Answers (2)

Jo Liss
Jo Liss

Reputation: 32955

Adding therubyracer gem has helped as well, cutting total compile time by factor 3. We are compiling a lot of CoffeeScript, and having therubyracer available avoids shelling out to Node.

Upvotes: 1

bcardarella
bcardarella

Reputation: 4745

If you are compressing the files you should put a conditional in your Assetfile to not compress in development. The concat filters are not that slow. The uglify and yui_css filters are and you don't need the compression for dev.

Upvotes: 1

Related Questions