Can you help us to understand the resource fingerprint of your pine code? As the same number of cycles are used locally and remotely, the natural place to look is how large is the resource pool when executing remotely vs locally on a resource where your code has a high dependency.