Metric Impure Pure
AVG (ms) 7 7
MED (ms) 8 7
90 (%) 10 9
95 (%) 11 10
99 (%) 14 19
MIN (ms) 4 2
MAX (ms) 347 118
ERR (%) 0% 0%
R/S (sec) 1162.20 1248.63
MEM (MB) 1449 1538
LD 13 8
The loading benchmark provides a more balanced picture. While the pure service is still slightly ahead (about 7% faster), it uses about 6% more memory than the impure one.
Memory Usage - Load
Overall, both implementations deliver nearly the same results. But again, the pure one causes a significantly lower system load like in the first benchmark.
We’ll continue benchmarking the remaining endpoints in the next lesson.