[Maintenance]: Timing improvements
Closed this issue · 0 comments
kwvanderlinde commented
Describe the problem
CodeTimer has a few easy-to-fix issues that make it less than ideal for performance testing, particularly when testing map rendering:
- Memory usage swings crazily when the performance data window is open, and eventually adds some lag.
- Times are reported in milliseconds, which is often too coarse.
- The performance data is a little harsh on the eyes since the results are not visually aligned.
The improvement you'd like to see
- When updating the text of the performance window, append the new results instead of replacing the entire text.
- Allow timers to be configured with the desired time unit.
- Change the performance window to be monospaced.
Expected Benefits
It will be easier to evaluate the performance benefits or drawbacks of code changes.
Additional Context
No response