This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 199
Precompiling process is considered slow #245
Comments
We're experiencing extremely slow asset precompilation also, with node reaching 99-100% cpu for the entire time, even if no js files were touched. I'm pouring over the source now, but it's making requirejs rails next to unusable on the smaller ec2 instances that use cpu credits... Anyone else getting this? |
+1 |
@siassaj did you ever find out what was causing it? I am seeing the same thing. |
@tilsammans Have you tried calling Node directly, using the generated |
Ah, not yet. Will check that out! |
@tilsammans sorry, never got to the bottom of it. |
I think you can avoid to include "node_modules" in assetes.rb |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I used to precompile a lot and I realize that everytime i'm doing precompiling, on my site it takes around 5 minutes long to finish precompile, while before using requireJS it's only taking me less than 1mins.
I suspect the reason is that because on precompiling, it keeps regenerating all files even if it's not changed. Please correct me if I'm wrong about this.
Will be happy to discuss if there's any tweak I can do to reduce the precompile process. Thank you
The text was updated successfully, but these errors were encountered: