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

Use multiple threads to import resources. #47343

Merged
merged 1 commit into from
Apr 19, 2021

Commits on Apr 19, 2021

  1. Use multiple threads to import.

    - For now everything imports multithreaded by default (should work I guess, let's test).
    - Controllable per importer
    
    Early test benchmark. 64 large textures (importing as lossless, _not_ as vram) on a mobile i7, 12 threads:
    Importing goes down from 46 to 7 seconds.
    
    For VRAM I will change the logic to use a compressing thread in a subsequent PR, as well as implementing Betsy.
    reduz committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    2b730ca View commit details
    Browse the repository at this point in the history