Hi! Possibly you’re facing some warmup or caching that boosts performance of subsequent calls, can you give more details about this behavior?
When is a call a "first call”, when the program first runs?
When you ran the script, in each run was the same picture used or you changed the picture in each petition? In other words:
1st: 2.673ms – This image is the same in the next tests (2nd, 3rd, 4th…) or do you change the picture only when the script starts?
2nd: 0.126ms
3rd: 0.111ms
4th: 0.117ms
5th: 0.183ms
6ht: 0.218ms
7th: 0.192ms
When you ran the script, in each run was the same picture used or you changed the picture in each petition? --> I changed picture for each time (means, defferent picture was used for 1st/2nd/3rd... but each file size is almost same.)
1st: 2.673ms – This image is the same in the next tests (2nd, 3rd, 4th…) or do you change the picture only when the script starts? --> No, image used for 1st and one for 2nd are different.
2nd: 0.126ms
3rd: 0.111ms
4th: 0.117ms
5th: 0.183ms
6ht: 0.218ms
7th: 0.192ms