2 ms·
Do that every request, and it will be the same each time. With GC, you can see a latency spike when every request creates such a list and they aren't freed unt
by solidsnack9000 10y ago
Do that every request, and it will be the same each time.
With GC, you can see a latency spike when every request creates such a list and they aren't freed until, due to memory pressure, many are freed all at once. Some of the requests will get stuck waiting for a linked list node and have very high latency relative to the other ones.
The strength of ARC for interactive applications is its consistency.