Show and write profile counters when the engine is shut down
- Dominant language
- C++
- Stars
- 6.3k
- Forks
- 455
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 129
Description
**Task (REQUIRED):**
Many developers are not really aware of all of the max count settings in game.project and how it is important to optimize them to reduce runtime memory usage. As a developer you have to pay attention to the values in the profiler and then adjust your game.project file accordingly. It would be convenient if a report of max counts was generated when the engine shuts down. This would both serve as an educational point to new developers and can be used by developers when they tweak their game.project settings during development and prior to release.
**Expected outcome (REQUIRED):**
Debug builds of the engine should collect profile counter max values and output these to the console and also write them to a file. It would also be useful to show the max values set in game.project
| Value | This run | game.project | Percent used |
|-------|---------|--------------|---------------|
| Sprites | 52 | 128 | 40.6% |
| Particlefx max particle count | 0 | 1024 | 0% |
| Particlefx max particle buffer count | 0 | 1024 | 0% |
| Particlefx max count | 1 | 64 | 1.5% |
| Particlefx max emitter count | 1 | 64 | 1.5% |
Contributor guide
Assessment
This issue has not been assessed yet.