Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add caching for imported assets #11

Merged
merged 1 commit into from
Apr 25, 2020
Merged

Conversation

realkotob
Copy link
Collaborator

@realkotob realkotob commented Apr 25, 2020

This enables caching for imported assets between each run. This massively speeds up the export stage for big projects (which needs ~30 minutes to import 150MB for a 3D project).

Note that this saves the cache after a stage is done therefore new imports are not shared by the 3 platforms if they run in parallel. So if you add new files it will still import them once for each platform (but will not import them again in the future, which is what matters). There is no way to optimize this further at the moment since there is no separate CLI command to reimportat assets.

This will cache the imported files between each run. This massively speeds up the export stage for big projects.

Note that this will save the cache *after* a stage is done, so if you add new files it will still import them once for each platform (but will not import them again in the future, which is what matter).
@realkotob
Copy link
Collaborator Author

@abarichello abarichello merged commit b800450 into abarichello:master Apr 25, 2020
@abarichello
Copy link
Owner

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants