展开

关键词

python numpy库np.percentile用法说明

在python中计算一个多维数组的任意百分比分位数,此处的百分位是从小到大排列,只需用np.percentile即可…… a = range(1,101) #求取a数列第90%分位的数值 np.percentile of floats) Percentile to compute。 , 2.5]]) np.percentile(a, 50, axis=1) #axis为1,在横行上求 array([ 7., 2.]) 补充知识:关于np.percentile函数的自己的理解(我觉得很对) 最近在跑别人baseline的时候看到np.percentile这个函数,之前没有用过,就跑去官方文档看了看到底是怎么工作的(官方文档连接 以上这篇python numpy库np.percentile用法说明就是小编分享给大家的全部内容了,希望能给大家一个参考。

1.3K10

Elasticsearch 7.10.1集群压测报告(8核32G*3,AMD)

index-append 301.696 ms 90th percentile service time index-append 444.837 ms 99th percentile service percentile service time default 4.45552 ms 99.9th percentile service time default 9.09098 ms 100th percentile ms 99.9th percentile latency term 42.9865 ms 100th percentile latency term 45.2784 ms 50th percentile ms 99.9th percentile latency phrase 22.6104 ms 100th percentile latency phrase 26.7837 ms 50th percentile ms 100th percentile latency scroll 643.218 ms 50th percentile service time scroll 606.853 ms 90th percentile

242137
  • 广告
    关闭

    什么是世界上最好的编程语言?丨云托管征文活动

    代金券、腾讯视频VIP、QQ音乐VIP、QB、公仔等奖励等你来拿!

  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    Elasticsearch 6.0.0本地单机16核32G压测报告

    latency | index-append | 1668.42 | ms | | 50th percentile latency | index-stats | 10.6119 | ms | | 50th percentile latency | node-stats | 8.49078 | ms | | 50th percentile latency | default | 11.3709 | ms | | 50th percentile latency | term | 4.76169 | ms | | 50th percentile

    656178

    Elasticsearch 7.10.1集群压测报告(16核64G*3 SSD云盘,AMD)

    latency node-stats 3.296191 ms 90th percentile latency node-stats 3.799131 ms 99th percentile latency 5.385959 ms 99.9th percentile latency default 8.354142 ms 100th percentile latency default 9.191337 ms 50th percentile service time default 3.050713 ms 90th percentile service time default 3.320561 ms ms 99.9th percentile latency term 7.350553 ms 100th percentile latency term 14.43949 ms 50th percentile percentile service time phrase 3.2294 ms 99.9th percentile service time phrase 14.31686 ms 100th percentile

    316128

    Elasticsearch 7.10.1压测对比(32核64G*3,AMD vs Intel)

    percentile latency node-stats 13.89930012 17.28893067 ms 24.39% ↓ 100th percentile latency node-stats ms 128.87% ↓ 99th percentile latency default 4.861934567 10.33466394 ms 112.56% ↓ 99.9th percentile ↓ 50th percentile service time term 2.060926985 6.956591504 ms 237.55% ↓ 90th percentile service time 205.91% ↓ 99.9th percentile service time term 5.322029319 14.61610132 ms 174.63% ↓ 100th percentile ms 161.29% ↓ 50th percentile service time phrase 2.745976526 6.466332998 ms 135.48% ↓ 90th percentile

    525169

    Elasticsearch 7.10.1集群压测报告(4核16G*3,Intel)

    latency index-append 757.069 ms 90th percentile latency index-append 1558.87 ms 99th percentile latency index-append 3131.2 ms 99.9th percentile latency index-append 4159.98 ms 100th percentile latency index-stats 3.74153 ms 90th percentile latency index-stats 4.26026 ms 99th percentile latency index-stats 5.06623 ms 99.9th percentile latency index-stats 10.9303 ms 100th percentile ms 99.9th percentile latency term 6.21686 ms 100th percentile latency term 7.67519 ms 50th percentile

    459167

    通过 esrally 压测elasticsearch

    latency |           index-append |     4678.18 |      ms | |                                   50th percentile latency |            index-stats |     88.8076 |      ms | |                                   50th percentile latency |             node-stats |      98.339 |      ms | |                                   50th percentile latency |                default |     22.3396 |      ms | |                                   50th percentile latency |                   term |     16.8316 |      ms | |                                   50th percentile

    65610

    Elasticsearch 7.10.1压测对比(4核16G*3,AMD vs Intel)

    32.95% ↓ 90th percentile service time index-append 1124.045881 1558.868251 ms 38.68% ↓ 99th percentile percentile latency node-stats 7.707171939 23.36412157 ms 203.15% ↓ 100th percentile latency node-stats ↓ 90th percentile service time node-stats 3.7464312 3.9880273 ms 6.45% ↓ 99th percentile service time 90.82% ↓ 50th percentile service time phrase 2.5868585 3.566522 ms 37.87% ↓ 90th percentile service percentile service time country agg uncached 262.609831 273.88985 ms 4.30% ↓ 90th percentile service

    535177

    Elastic Stack最佳实践:7.10.1与7.14.2的性能比较

    2.03125 ms -21.17% 99th percentile latency default 15.3999 15.3726 -0.02733 ms -0.18% 100th percentile ms -14.21% 99th percentile latency term 22.8338 16.6021 -6.23172 ms -27.29% 100th percentile latency ms +13.01% 99th percentile latency range 25.3066 27.5328 2.22616 ms +8.80% 100th percentile latency +42.44% 90th percentile service time range 17.3298 18.4377 1.10789 ms +6.39% 99th percentile service ms -4.99% 99th percentile latency scroll 478.402 508.923 30.5212 ms +6.38% 100th percentile latency

    63950

    Elasticsearch 7.10.1集群压测报告(16核64G*3 本地NVMe SSD,Intel)

    latency index-stats 3.455013706 ms 90th percentile latency index-stats 3.865102708 ms 99th percentile latency node-stats 3.845604981 ms 90th percentile latency node-stats 4.411485343 ms 99th percentile latency node-stats 7.24903738 ms 99.9th percentile latency node-stats 30.31716143 ms 100th percentile latency term 3.888126492 ms 90th percentile latency term 4.309532285 ms 99th percentile latency term ms 50th percentile service time term 3.183407011 ms 90th percentile service time term 3.321979992 ms

    3091310

    Elasticsearch 7.10.1压测对比(8核32G*3,AMD vs Intel)

    ms 10.92% ↓ 99th percentile latency default 5.309187091 5.544531 ms 4.43% ↓ 99.9th percentile latency ↑ 50th percentile service time default 3.115127998 3.653902 ms 17.30% ↓ 90th percentile service time percentile service time country agg cached 3.822819996 7.436497 ms 94.53% ↓ 100th percentile service 5.43% ↓ 99th percentile latency scroll 630.3750427 666.913 ms 5.80% ↓ 100th percentile latency scroll ms 7.28% ↓ 90th percentile service time expression 470.9279876 564.8901 ms 19.95% ↓ 99th percentile

    313148

    Elasticsearch压测之Esrally压测标准

    越小越好 100th percentile latency node-stats 提交请求和收到完整回复之间的时间段 越小越好 50th percentile service time node-stats 越小越好 90th percentile service time default 请求处理开始和接收完整响应之间的时间段 越小越好 99th percentile service time default 越小越好 99.9th percentile service time term 请求处理开始和接收完整响应之间的时间段 越小越好 100th percentile service time term 越小越好 90th percentile service time phrase 请求处理开始和接收完整响应之间的时间段 越小越好 99th percentile service time phrase percentile latency decay_geo_gauss_script_score 提交请求和收到完整回复之间的时间段 越小越好 50th percentile service time

    770148

    Elasticsearch 7.10.1集群压测报告(8核32G*3,Intel)

    latency index-append 356.13 ms 90th percentile latency index-append 1044.3 ms 99th percentile latency index-append 2036.47 ms 100th percentile latency index-append 2761.67 ms 50th percentile latency index-stats 3.76232 ms 90th percentile latency index-stats 4.31119 ms 99th percentile latency index-stats 25.0359 ms 99.9th percentile latency index-stats 87.6608 ms 100th percentile ms 99.9th percentile latency term 12.8783 ms 100th percentile latency term 19.7935 ms 50th percentile

    222127

    Elasticsearch 7.10.1集群压测报告(32核64G*3,Intel)

    10.33466 ms 99.9th percentile latency default 22.50608 ms 100th percentile latency default 26.34883 ms 50th percentile service time default 7.163304 ms 90th percentile service time default 7.841727 ms ms 99.9th percentile latency term 28.44925 ms 100th percentile latency term 30.47515 ms 50th percentile service time term 6.956592 ms 90th percentile service time term 7.521901 ms 99th percentile service percentile service time phrase 8.131189 ms 99.9th percentile service time phrase 28.56503 ms 100th percentile

    354149

    Elasticsearch 7.10.1集群压测报告(32核64G*3,AMD)

    latency node-stats 3.69659 ms 90th percentile latency node-stats 4.27771 ms 99th percentile latency percentile service time default 3.60439 ms 99.9th percentile service time default 5.87795 ms 100th percentile 99.9th percentile latency term 6.03389 ms 100th percentile latency term 7.04569 ms 50th percentile service ms 99.9th percentile latency phrase 14.8293 ms 100th percentile latency phrase 20.7531 ms 50th percentile ms 100th percentile latency scroll 639.222 ms 50th percentile service time scroll 615.78 ms 90th percentile

    236147

    Elasticsearch 7.10.1压测对比( Intel竟然压不过AMD)

    ↑ 50th percentile service time index-stats 2.447953 2.740973 ms 11.97% ↓ 90th percentile service time ms -7.54% ↑ 99.9th percentile service time index-stats 12.41878 4.324396 ms -65.18% ↑ 100th percentile ↓ 50th percentile service time node-stats 2.566179 3.116541 ms 21.45% ↓ 90th percentile service time 7.446993 ms -10.86% ↑ 100th percentile latency default 9.191337 10.88422 ms 18.42% ↓ 50th percentile ↓ 99th percentile latency term 3.933137 4.719402 ms 19.99% ↓ 99.9th percentile latency term 7.350553

    405116

    Elasticsearch 7.10.1集群压测报告(4核16G*3,AMD)

    273.913 ms 99th percentile service time country_agg_uncached 297.431 ms 100th percentile service time 2.41103 ms 99.9th percentile service time country_agg_cached 6.71132 ms 100th percentile service time ms 100th percentile latency scroll 629.479 ms 50th percentile service time scroll 601.664 ms 90th percentile latency expression 480.244 ms 90th percentile latency expression 497.217 ms 99th percentile latency 478.77 ms 90th percentile service time expression 496.211 ms 99th percentile service time expression

    664217

    扫码关注腾讯云开发者

    领取腾讯云代金券