From df45487aad396d13e48d450f0934b37ec3a07710 Mon Sep 17 00:00:00 2001 From: wangyazhou1313 Date: Mon, 9 Nov 2020 16:15:55 +0800 Subject: [PATCH] [TD-1988] add query_performance.py --- tests/pytest/query/query_performance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pytest/query/query_performance.py b/tests/pytest/query/query_performance.py index d70adce7a5..9c9c7c7996 100644 --- a/tests/pytest/query/query_performance.py +++ b/tests/pytest/query/query_performance.py @@ -151,7 +151,8 @@ class Demo: for each in (50, 80, 90, 95): _list.append(np.percentile(_data,each)) _str += ' %d 分位数 : %.4f 秒\n' % (each , np.percentile(_data,each)) - + + print(_str) if ding_flag: ding = Ding(values['ding_config']['urls'], values['ding_config']['at_mobiles']) ding.send_message(_str) -- GitLab