Files
Bubberstation/code/modules/unit_tests/unit_test.dm
FalloutFalcon b3f204099b Display slowest unit tests in CL (#93587)
## About The Pull Request
Compiles and displays a sorted list of unit times by run length at the
end of all the unit tests.

<img width="679" height="617" alt="image"
src="https://github.com/user-attachments/assets/e3788de4-b58a-40f3-b7de-29695fc7b1f6"
/>
<img width="550" height="744" alt="image"
src="https://github.com/user-attachments/assets/6d794c07-9983-4250-bdcf-4ad07c737d47"
/>


Right now its just if its longer then 1 second but I could make it break
after like 10 entries.
## Why It's Good For The Game
Makes it way easier to spot ABNORMALLY slow unit tests. I understand
that there is not a ton of optimization that can be made for some of
these.
## Changelog
N/A

---------

Co-authored-by: mrmanlikesbt <99309552+mrmanlikesbt@users.noreply.github.com>
2025-10-25 07:19:32 -04:00

16 KiB