I have a "simple" method in which I have a stopwatch that tracks the timing of the for parts.
My stopwatch told me:
- Part1: 2ms
- Part2: 20ms
- Part3: 300ms
- Part4: 5ms
TOTAL: 327ms
When I call my service from Postman the "Time" of the single call works like this:
- First call: 1.8s
- Second call: 8s
- Third call: 8s
- and so on
So, there are two questions:
Why the method tooks 300ms and the response 2 secs? (uploading 20kb attachment)
Why the second and later call took 4 times the time needed for the first one?
Working with a Web App 2 Core 3.5GB Ram on Azure
Thanks!