Question on time spent when using collectLatest

I’ve been learning about kotlin flows from the official website and the part where it measures the time it took to execute flow collection using collectLatest is confusing me. The codes are shown in the images. Basically, I thought that the time it takes to collect from simple flow is 600~ ms, but the actual time happens to be 700~ ms. Is it really taking extra 100 ms that I’m missing or is that extra 100 ms happening outside of delay functions?

https://preview.redd.it/vf923i4tgdv91.png?width=720&format=png&auto=webp&s=ecd2b0d90fb8cc8219e6d25436bd562857e4841f

https://preview.redd.it/1nzw4k4tgdv91.png?width=807&format=png&auto=webp&s=1cb588d040259c272d456ac8b00aa98ef36ee320

https://preview.redd.it/j6blck4tgdv91.png?width=232&format=png&auto=webp&s=e5b7bfbf64e3e4e623b4651311e44756a9ea72b0

submitted by /u/JasurbekDevv
[link] [comments]