Has there been any discussion or development to parallelize the compilation 
of asset pipeline assets? All assets get built serially, and this seems 
like an obvious candidate for parallelization.

What are the major complexities here? Has this been attempted already?

I think I understand the basics of the moving parts in the compilation 
process: the ruby process has a javascript runtime available to it, 
iterates through each file in the app/assets/*.js, parses the files with 
sprockets, concatenates them and minifies them. Please correct me here if 
I'm missing anything, or have any of the details incorrect.

If the core team is open to this, I'd love to discuss it further. I know 
some of some of my colleagues and I would love to take a crack at an 
implementation.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-core/-/3JcYZx2_vXgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to