@juggernautsei How many logging options are turned on? Try turning off logging and I bet you’ll see at least a 50% increase in performance.
I’m not saying this is a solution however, you may have logging turned on you don’t need. One biggy is make sure Audit Logging SELECT Query was not turned on.
btw: you’re missing some profiling files because the two you sent does not show any patient loading and times are short. If you note the extension on file, it is the process id for that segment of profile. You may get many files for one session. e.g each script that gets called will be another profile file.
You can also change php.ini for xdebug.profiler_output_name = "cachegrind.out.%p"
to say
xdebug.profiler_output_name = "cachegrind.out.%s"
for the script name the profile refers to.