Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
multiple threads to compile assets? #308
I have a fork that handles multi-threaded manifest.compile()
On an 8 core box running with 8 manifest compiler workers we've dropped asset compilation from 7 minutes (1 core intel box) down to 50 seconds. Not too shabby.
I haven't had time to cleanup the code and issue a pull request yet but it does work.
If someone has a solution for this, please leave a note. Thanks
Boy its been a long time but finally dropped the monkey patch into a gem:
You can now compile your manifest with as many processes as you need and I've included a processor detector as well.
We use this multiple times a day deploying all over the place. Hope this helps other out there.