You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of create a List<TextureGpuData> and then using AddRange() to add the items, use a standard array with the already known size using BatchSize and then populate the data.
Some performance testing was performed using Benchmark dotnet and the improvements were huge. Find all of the areas where this type of work can be done and categorize them by the code area, such as rendering, buffering, etc. Create issues to combine all of these improvements together by category to do all of the work.
Complete The Item Below
What To Research
Look at the entire code base and look for areas to improve performance of array creation.
Here is an example of what we are looking for:
Instead of create a
List<TextureGpuData>
and then usingAddRange()
to add the items, use a standard array with the already known size usingBatchSize
and then populate the data.Some performance testing was performed using Benchmark dotnet and the improvements were huge. Find all of the areas where this type of work can be done and categorize them by the code area, such as rendering, buffering, etc. Create issues to combine all of these improvements together by category to do all of the work.
Perf Project Improvement Results
ListVsArrayPerf.zip
This is the percentage of improvement where using the standard array outperforms using the `List.
Research Results
No response
Acceptance Criteria
The items to complete to satisfy the Definition of Done.
ToDo Items
The items to complete to satisfy the Definition of Done.
Issue Dependencies
No response
Related Work
No response
Additional Information:
Priority Type Labels
low-priority
medium-priority
high-priority
Code of Conduct
The text was updated successfully, but these errors were encountered: