Those timings seem incredibly slow.
I guess the question is - what does that server call do? I presume it’s that server call that is taking all those 20seconds
There are some posts about how to improve speed in the forum.
Suggestions to optimize performance
Typically if I have something on the client that’s taking more than 1second to complete (usually because of retrieving and manipulating data table stuff) I’ll work out ways to load the minimum necessary and turn the rest into a background task.