Modeling distribution of performance measurements

前端 未结 6 1173
名媛妹妹
名媛妹妹 2021-01-31 19:46

How would you mathematically model the distribution of repeated real life performance measurements - \"Real life\" meaning you are not just looping over the code in question, bu

6条回答
  •  情话喂你
    2021-01-31 20:43

    In addition to already given answers consider Empirical Distributions. I have successful experience in using empirical distributions for performance analysis of several distributed systems. The idea is very straightforward. You need to build histogram of performance measurements. Measurements should be discretized with given accuracy. When you have histogram you could do several useful things:

    • calculate the probability of any given value (you are bound by accuracy only);
    • build PDF and CDF functions for the performance measurements;
    • generate sequence of response times according to a distribution. This one is very useful for performance modeling.

提交回复
热议问题