下面是个摘录的压测结果 单位是µs
p99.9
这里的p是percent(百分比)
HAProxy
这行的p99.9
代表99.9%的请求响应时间不大于269µs
tm99.9
tm99.9
修整后的平均值,或所有样本的平均值,没有最佳和最差的0.1%。它比传统方法更有用,因为它消除了异常值的潜在不成比例的影响
参考
https://github.com/artilleryio/artillery/issues/91
https://medium.com/star-gazers/benchmarking-low-level-i-o-c-c-rust-golang-java-python-9a0d505f85f7
https://blog.csdn.net/Rylan11/article/details/101458344
https://www.cnblogs.com/robinunix/p/7827423.html
https://medium.com/@djsmith42/how-to-metric-edafaf959fc7
https://github.com/xnuter/perf-gauge/wiki/Benchmarking-TCP-Proxies-written-in-different-languages:-C,-CPP,-Rust,-Golang,-Java,-Python
https://medium.com/star-gazers/measuring-network-service-performance-fc987a794ba8
https://en.wikipedia.org/wiki/Truncated_mean
https://en.wikipedia.org/wiki/Standard_deviation