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 benchmarks or stress tests for asset loading and processing #9730

Open
alice-i-cecile opened this issue Sep 9, 2023 · 0 comments
Open
Labels
A-Assets Load files from disk to use for things like images, models, and sounds C-Performance A change motivated by improving speed, memory usage or compile times

Comments

@alice-i-cecile
Copy link
Member

alice-i-cecile commented Sep 9, 2023

We have a pseudo stress test in the form of running the asset processor on everything in the assets folder. This is as simple as turning on AssetPlugin::processed_dev() in any example and running it. It will log the total duration. To repeat, just delete the imported_assets folder and run again.
I ran that about 10 times for both main and this pr before submitting it and the change here was dwarfed by very swingey results (my guess is filesystem i/o). We might need something a bit more targeted to isolate the perf difference.

Originally posted by @cart in #9729 (comment)

@alice-i-cecile alice-i-cecile changed the title Add benchmarks or stress tests for asset loading Add benchmarks or stress tests for asset loading and processing Sep 9, 2023
@alice-i-cecile alice-i-cecile added A-Assets Load files from disk to use for things like images, models, and sounds C-Performance A change motivated by improving speed, memory usage or compile times labels Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Assets Load files from disk to use for things like images, models, and sounds C-Performance A change motivated by improving speed, memory usage or compile times
Projects
None yet
Development

No branches or pull requests

1 participant