18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-02 03:52:52 +01:00
Files
maszyna/application
jerrrrycho dde512da23 perf(test): no imgui frames in the test mode
The window of the test mode is hidden and the renderer is the null one, nobody sees the ui. Still every
frame began an imgui frame, whose ImGui_ImplGlfw_NewFrame() polled the window, the mouse
(WindowFromPoint) and the gamepads, and the null renderer ended it: ~2.2% of the main thread, with
NtUserWindowFromPoint another ~0.5%. In the test mode eu07_application::begin_ui_frame() and
render_ui() now do nothing; outside of it nothing changes. ui_layer::shutdown() ends the last frame
only if one was begun, as none is in the test mode (it crashed in imgui's error recovery at the exit).

600 s in --test, seed 12345, one run each: Tomaszewo (raj40821) sim 137.4 s against 151.5 s the step
before (-9%); L107 (linia_107_objazdy) sim 18.8 s against 20.5 s. The physics logs (14 and 9) and the
event logs are byte-identical to staging's, unit tests 1207/1207 with exact golden traces.
2026-11-30 08:43:31 +01:00
..