What does processendpointexecute do in a rest process?

Hi,

Unfortunately I have a few fairly slow endpoints, in analyzing them I’ve found that the slowest step (by a lot) is the processendpointexecute. Is there a way to speed this process up? I now have an endpoint with a process that takes about 300 ms, which is totally fine, and then the processendpointexecute adds another 2 seconds to the process.

image

What does this process do and is it possible to speed it up?

Thanks in advance