jak-project/game
Tyler Wilding 1cc20508e9
tracing: add some more startup related events and a new --profile-until-event flag (#3385)
While trying to narrow down why sometimes SDL takes 20-40seconds to
initialize I built up some more profiling features.

TLDR - I still don't know why SDL is taking a long time but I've
narrowed it down to it initializing the `GAME_CONTROLLER` subsystem.
This isn't unprecedented, I found numerous github issues and articles
suggesting this is the problem:

![image](https://github.com/open-goal/jak-project/assets/13153231/1853326b-7a40-458e-87a0-f7a9f44781e3)

I imagine it is hardware/OS related on some level, there are even some
recent commits in SDL that have made it worse on certain platforms. I've
had this problem myself so I will hope to get it again soon so i can
debug where in the SDL code the delay occurs and make a proper bug
report. Hopefully this helps but it's not yet confirmed -
https://github.com/open-goal/jak-project/pull/3384
2024-02-23 14:44:17 -05:00
..
assets New Crowdin updates (#3382) 2024-02-19 23:17:29 -05:00
common [jak3] Decomp for gkernel, gkernel-h, gstate, gstring (#3326) 2024-01-21 18:08:05 -05:00
external game: refactor discord code and improve jak 2 support (#2714) 2023-06-17 05:16:40 +01:00
graphics tracing: add some more startup related events and a new --profile-until-event flag (#3385) 2024-02-23 14:44:17 -05:00
kernel Fix remaining cpp20 issues (#3375) 2024-02-17 20:16:46 -05:00
mips2c Decompile joint, collide-func, clean up joint decompression code for all games (#3369) 2024-02-11 09:50:07 -05:00
overlord d/j3: do a few mood related files and fix some issues along the way (#3365) 2024-02-04 08:40:43 -05:00
sce [jak2] fully implement *user* (#3046) 2023-10-01 04:28:30 +01:00
settings g/j2: Some more work on the SQL editor - dump and seed light data (#2954) 2023-09-08 21:21:02 -04:00
sound Switch to std::span (#3376) 2024-02-18 13:23:19 -05:00
system tracing: add some more startup related events and a new --profile-until-event flag (#3385) 2024-02-23 14:44:17 -05:00
tools i18n: transcribe missing english subtitles (#3199) 2023-11-18 14:06:01 -05:00
CMakeLists.txt Fix remaining cpp20 issues (#3375) 2024-02-17 20:16:46 -05:00
main.cpp tracing: add some more startup related events and a new --profile-until-event flag (#3385) 2024-02-23 14:44:17 -05:00
runtime.cpp [jak3] Decomp for gkernel, gkernel-h, gstate, gstring (#3326) 2024-01-21 18:08:05 -05:00
runtime.h g/j2: Integrate highscores with Speedrun.com/JakSpeedruns.com when speedrunner mode is enabled (#3037) 2023-10-11 20:43:55 -04:00