Hey guys,
I have a performance question about the scheduler. My script is in python3 and when I run directly on a terminal, I have a response time about 2.55s.
If I run exactly the same script inside a scheduler task with subprocess.check_output, my response time is increased by 100 times slower than the direct one.
I'm measuring the response time using the difference from two calls of time.clock(), one at the beginning of the script and a second one whenever it finishes to execute.
Does it make sense?
I'm not quite sure whether I am doing something wrong or not... As far as I understand, the overhead from the web service should be completely located outside the script and not reflect during its execution. What am I missing here? Any direction from where should I look for?
Thanks in advance!