You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "zhangstar333 (via GitHub)" <gi...@apache.org> on 2024/10/14 02:51:05 UTC

[PR] [improve](profile) add timer for record udf execute time [doris]

zhangstar333 opened a new pull request, #41779:
URL: https://github.com/apache/doris/pull/41779

   ## Proposed changes
   
   <img width="314" alt="image" src="https://github.com/user-attachments/assets/d4f4e2fc-6736-4660-a2c7-12e01eb1a4d1">
   
   
   <!--Describe your changes.-->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2413374457

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 192290 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit a535894e60c562b12548c250a38f0048971a8f35, data reload: false
   
   query1	900	391	405	391
   query2	6229	2067	2011	2011
   query3	8681	196	201	196
   query4	34393	23676	23518	23518
   query5	3485	472	463	463
   query6	282	166	165	165
   query7	4202	291	291	291
   query8	300	236	218	218
   query9	9495	2689	2702	2689
   query10	457	265	262	262
   query11	18031	15348	15447	15348
   query12	148	104	103	103
   query13	1560	424	404	404
   query14	9702	7511	7512	7511
   query15	278	176	179	176
   query16	7634	482	464	464
   query17	1720	600	582	582
   query18	2162	310	327	310
   query19	376	154	157	154
   query20	122	112	116	112
   query21	208	112	108	108
   query22	4665	4694	4467	4467
   query23	34965	34132	34235	34132
   query24	10631	2803	2806	2803
   query25	602	396	407	396
   query26	723	165	170	165
   query27	2009	277	280	277
   query28	6544	2447	2422	2422
   query29	718	437	417	417
   query30	268	158	158	158
   query31	1071	802	805	802
   query32	95	53	57	53
   query33	663	307	298	298
   query34	930	499	524	499
   query35	932	773	753	753
   query36	1095	969	929	929
   query37	152	90	91	90
   query38	4046	3984	3937	3937
   query39	1496	1410	1441	1410
   query40	211	99	98	98
   query41	48	45	48	45
   query42	129	103	99	99
   query43	529	491	479	479
   query44	1155	812	804	804
   query45	194	165	166	165
   query46	1152	700	718	700
   query47	1956	1864	1840	1840
   query48	419	335	323	323
   query49	890	437	425	425
   query50	832	390	387	387
   query51	7075	6878	6881	6878
   query52	101	91	86	86
   query53	254	178	180	178
   query54	1286	453	434	434
   query55	82	75	79	75
   query56	274	295	272	272
   query57	1314	1194	1168	1168
   query58	242	241	266	241
   query59	3150	3030	3131	3030
   query60	292	270	267	267
   query61	103	104	109	104
   query62	880	676	664	664
   query63	220	183	183	183
   query64	4137	646	614	614
   query65	3283	3212	3219	3212
   query66	830	312	308	308
   query67	15879	15646	15769	15646
   query68	4372	556	547	547
   query69	516	295	300	295
   query70	1196	1116	1137	1116
   query71	347	275	280	275
   query72	7280	3995	3920	3920
   query73	778	357	356	356
   query74	10180	9054	9058	9054
   query75	3413	2610	2668	2610
   query76	2691	888	902	888
   query77	586	291	286	286
   query78	10531	9579	9682	9579
   query79	1705	590	591	590
   query80	2459	444	451	444
   query81	590	237	239	237
   query82	724	139	132	132
   query83	298	134	135	134
   query84	279	74	70	70
   query85	1465	307	289	289
   query86	433	303	276	276
   query87	4562	4275	4314	4275
   query88	3615	2194	2166	2166
   query89	403	290	284	284
   query90	2002	184	184	184
   query91	136	103	100	100
   query92	59	46	48	46
   query93	1159	520	539	520
   query94	1092	298	297	297
   query95	343	238	241	238
   query96	608	276	279	276
   query97	3302	3102	3155	3102
   query98	216	194	198	194
   query99	1574	1321	1301	1301
   Total cold run time: 297801 ms
   Total hot run time: 192290 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2413386551

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 32.24 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit a535894e60c562b12548c250a38f0048971a8f35, data reload: false
   
   query1	0.04	0.03	0.03
   query2	0.07	0.03	0.03
   query3	0.23	0.06	0.06
   query4	1.65	0.11	0.11
   query5	0.50	0.48	0.49
   query6	1.12	0.73	0.73
   query7	0.02	0.02	0.02
   query8	0.05	0.03	0.03
   query9	0.57	0.50	0.50
   query10	0.54	0.54	0.55
   query11	0.13	0.11	0.10
   query12	0.13	0.11	0.11
   query13	0.61	0.60	0.60
   query14	2.70	2.71	2.73
   query15	0.90	0.82	0.82
   query16	0.39	0.40	0.39
   query17	1.00	1.04	1.06
   query18	0.19	0.20	0.20
   query19	1.83	1.83	1.95
   query20	0.01	0.01	0.01
   query21	15.35	0.59	0.58
   query22	3.09	2.09	1.78
   query23	17.02	0.99	0.72
   query24	3.06	0.69	1.59
   query25	0.16	0.04	0.10
   query26	0.56	0.15	0.13
   query27	0.05	0.04	0.03
   query28	10.70	1.10	1.08
   query29	12.54	3.21	3.19
   query30	0.25	0.06	0.06
   query31	2.88	0.38	0.38
   query32	3.29	0.46	0.45
   query33	2.96	2.99	3.05
   query34	17.14	4.47	4.52
   query35	4.48	4.52	4.55
   query36	0.66	0.50	0.50
   query37	0.08	0.05	0.05
   query38	0.04	0.03	0.03
   query39	0.03	0.02	0.02
   query40	0.17	0.13	0.12
   query41	0.08	0.02	0.03
   query42	0.03	0.03	0.02
   query43	0.03	0.03	0.03
   Total cold run time: 107.33 s
   Total hot run time: 32.24 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "HappenLee (via GitHub)" <gi...@apache.org>.
HappenLee commented on code in PR #41779:
URL: https://github.com/apache/doris/pull/41779#discussion_r1800640067


##########
be/src/vec/exprs/vexpr.cpp:
##########
@@ -575,6 +576,12 @@ Status VExpr::init_function_context(VExprContext* context,
             constant_cols.push_back(const_col);
         }
         fn_ctx->set_constant_cols(constant_cols);
+    } else {
+        if (function->is_udf_function()) {
+            auto* timer = ADD_TIMER(state->get_task()->get_task_profile(),

Review Comment:
   change to `UDF [java_funcrtion_name]`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "zhangstar333 (via GitHub)" <gi...@apache.org>.
zhangstar333 merged PR #41779:
URL: https://github.com/apache/doris/pull/41779


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2409928794

   TeamCity be ut coverage result:
    Function Coverage: 37.46% (9704/25906) 
    Line Coverage: 28.72% (80492/280260)
    Region Coverage: 28.17% (41661/147876)
    Branch Coverage: 24.74% (21169/85552)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/5e38f6c64be03d91b615601b567229b0f2d0dd1d_5e38f6c64be03d91b615601b567229b0f2d0dd1d/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2412760087

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 41588 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 19f0de1843ea9015a589fd6e4e2827ba21f3adab, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	17572	7520	7331	7331
   q2	2023	291	278	278
   q3	11830	1087	1208	1087
   q4	10565	874	922	874
   q5	7791	3178	3136	3136
   q6	236	153	147	147
   q7	1053	660	604	604
   q8	9361	1954	1983	1954
   q9	6552	6517	6469	6469
   q10	7044	2446	2448	2446
   q11	441	243	252	243
   q12	407	221	218	218
   q13	17786	2979	2996	2979
   q14	251	211	210	210
   q15	572	535	518	518
   q16	656	610	587	587
   q17	985	548	518	518
   q18	7342	6709	6895	6709
   q19	1354	980	942	942
   q20	484	189	178	178
   q21	3966	3172	3192	3172
   q22	1106	988	1000	988
   Total cold run time: 109377 ms
   Total hot run time: 41588 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	7336	7232	7235	7232
   q2	327	225	228	225
   q3	3088	2972	2951	2951
   q4	2123	1820	1793	1793
   q5	5832	5798	5755	5755
   q6	234	145	145	145
   q7	2299	1870	1834	1834
   q8	3425	3479	3516	3479
   q9	9008	8978	8934	8934
   q10	3589	3533	3543	3533
   q11	594	498	494	494
   q12	834	630	642	630
   q13	8476	3189	3188	3188
   q14	314	271	275	271
   q15	607	527	517	517
   q16	706	645	637	637
   q17	1834	1612	1624	1612
   q18	8429	7993	7582	7582
   q19	1729	1533	1473	1473
   q20	2107	1889	1871	1871
   q21	5608	5494	5494	5494
   q22	1153	1045	1090	1045
   Total cold run time: 69652 ms
   Total hot run time: 60695 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2412842088

   TeamCity be ut coverage result:
    Function Coverage: 37.44% (9706/25921) 
    Line Coverage: 28.72% (80564/280500)
    Region Coverage: 28.17% (41691/147978)
    Branch Coverage: 24.75% (21196/85634)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/19f0de1843ea9015a589fd6e4e2827ba21f3adab_19f0de1843ea9015a589fd6e4e2827ba21f3adab/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2412799545

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 191623 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 19f0de1843ea9015a589fd6e4e2827ba21f3adab, data reload: false
   
   query1	892	386	426	386
   query2	6256	2129	2122	2122
   query3	8694	196	202	196
   query4	34260	23801	23685	23685
   query5	3514	475	455	455
   query6	267	163	186	163
   query7	4188	286	295	286
   query8	281	219	214	214
   query9	9750	2708	2724	2708
   query10	460	272	271	271
   query11	17795	15238	15333	15238
   query12	150	97	97	97
   query13	1560	469	390	390
   query14	9740	7120	6991	6991
   query15	225	168	175	168
   query16	7901	421	449	421
   query17	1610	633	599	599
   query18	2075	322	315	315
   query19	226	160	160	160
   query20	120	110	115	110
   query21	212	102	104	102
   query22	4735	4534	4492	4492
   query23	34894	34028	33904	33904
   query24	11014	2816	2814	2814
   query25	627	416	414	414
   query26	1190	161	158	158
   query27	2660	284	288	284
   query28	7892	2449	2450	2449
   query29	869	425	412	412
   query30	261	153	151	151
   query31	1034	791	803	791
   query32	97	54	54	54
   query33	756	297	288	288
   query34	908	515	527	515
   query35	886	749	736	736
   query36	1099	935	1061	935
   query37	160	90	89	89
   query38	4027	3872	3981	3872
   query39	1516	1445	1408	1408
   query40	198	97	98	97
   query41	48	44	45	44
   query42	118	98	95	95
   query43	542	503	490	490
   query44	1209	829	841	829
   query45	200	161	170	161
   query46	1138	707	680	680
   query47	2001	1812	1850	1812
   query48	417	327	337	327
   query49	969	418	401	401
   query50	824	392	383	383
   query51	7179	7003	6967	6967
   query52	100	90	86	86
   query53	260	196	185	185
   query54	1185	434	438	434
   query55	76	80	76	76
   query56	278	262	269	262
   query57	1301	1157	1168	1157
   query58	247	237	254	237
   query59	3185	3043	2957	2957
   query60	308	268	276	268
   query61	130	123	124	123
   query62	897	675	675	675
   query63	211	181	184	181
   query64	3955	643	609	609
   query65	3262	3207	3196	3196
   query66	833	294	301	294
   query67	16048	15644	15708	15644
   query68	4439	567	570	567
   query69	502	275	285	275
   query70	1205	1147	1150	1147
   query71	360	277	280	277
   query72	6739	3979	4002	3979
   query73	791	347	362	347
   query74	10230	8927	8977	8927
   query75	3458	2694	2677	2677
   query76	2900	946	938	938
   query77	603	291	294	291
   query78	10580	9658	9575	9575
   query79	1877	591	596	591
   query80	1274	438	452	438
   query81	586	240	235	235
   query82	743	138	143	138
   query83	288	137	143	137
   query84	271	72	65	65
   query85	1232	304	288	288
   query86	335	298	265	265
   query87	4476	4349	4234	4234
   query88	3836	2205	2173	2173
   query89	408	292	281	281
   query90	2132	194	186	186
   query91	139	101	101	101
   query92	64	54	53	53
   query93	1111	527	529	527
   query94	994	295	259	259
   query95	349	247	241	241
   query96	603	278	285	278
   query97	3305	3140	3110	3110
   query98	222	204	206	204
   query99	1602	1309	1306	1306
   Total cold run time: 299574 ms
   Total hot run time: 191623 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2409927075

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 41603 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit 5e38f6c64be03d91b615601b567229b0f2d0dd1d, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	17599	7765	7328	7328
   q2	2029	293	273	273
   q3	12398	1101	1200	1101
   q4	10555	851	807	807
   q5	7741	3071	3035	3035
   q6	243	156	155	155
   q7	1061	630	609	609
   q8	9352	1975	1959	1959
   q9	6655	6531	6434	6434
   q10	7039	2419	2476	2419
   q11	446	254	253	253
   q12	413	227	220	220
   q13	17787	3044	3051	3044
   q14	250	215	212	212
   q15	575	534	525	525
   q16	662	599	604	599
   q17	1006	605	506	506
   q18	7390	6638	6830	6638
   q19	1345	965	989	965
   q20	485	185	189	185
   q21	4278	3433	3348	3348
   q22	1090	988	1016	988
   Total cold run time: 110399 ms
   Total hot run time: 41603 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	7365	7322	7309	7309
   q2	350	245	248	245
   q3	3122	3021	2983	2983
   q4	2135	1913	1800	1800
   q5	5777	5768	5793	5768
   q6	231	156	149	149
   q7	2312	1878	1854	1854
   q8	3477	3457	3574	3457
   q9	8918	8954	8977	8954
   q10	3643	3595	3566	3566
   q11	608	504	519	504
   q12	884	626	620	620
   q13	8327	3241	3203	3203
   q14	314	268	269	268
   q15	591	523	514	514
   q16	686	669	643	643
   q17	1849	1651	1620	1620
   q18	8394	7853	7665	7665
   q19	1746	1451	1482	1451
   q20	2141	1860	1948	1860
   q21	5551	5381	5569	5381
   q22	1123	1028	1099	1028
   Total cold run time: 69544 ms
   Total hot run time: 60842 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "zhangstar333 (via GitHub)" <gi...@apache.org>.
zhangstar333 commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2413213235

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2413314402

   PR approved by at least one committer and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2409849113

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "zhangstar333 (via GitHub)" <gi...@apache.org>.
zhangstar333 commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2409838541

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2412817903

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 32.15 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 19f0de1843ea9015a589fd6e4e2827ba21f3adab, data reload: false
   
   query1	0.04	0.03	0.03
   query2	0.06	0.03	0.03
   query3	0.23	0.07	0.07
   query4	1.63	0.10	0.10
   query5	0.49	0.51	0.51
   query6	1.12	0.72	0.72
   query7	0.02	0.01	0.02
   query8	0.04	0.02	0.03
   query9	0.56	0.50	0.49
   query10	0.57	0.54	0.55
   query11	0.13	0.10	0.10
   query12	0.13	0.10	0.12
   query13	0.61	0.60	0.59
   query14	2.83	2.73	2.81
   query15	0.89	0.82	0.83
   query16	0.41	0.38	0.38
   query17	1.05	1.06	1.10
   query18	0.20	0.20	0.20
   query19	1.94	1.84	2.06
   query20	0.02	0.01	0.02
   query21	15.36	0.60	0.56
   query22	2.86	2.60	1.81
   query23	17.04	0.99	0.84
   query24	2.91	0.39	1.28
   query25	0.22	0.11	0.08
   query26	0.56	0.13	0.14
   query27	0.04	0.04	0.04
   query28	11.14	1.09	1.07
   query29	12.55	3.25	3.25
   query30	0.25	0.06	0.06
   query31	2.87	0.41	0.38
   query32	3.25	0.46	0.47
   query33	2.98	3.00	3.03
   query34	16.94	4.50	4.47
   query35	4.45	4.48	4.51
   query36	0.67	0.51	0.48
   query37	0.09	0.06	0.06
   query38	0.05	0.03	0.03
   query39	0.03	0.02	0.02
   query40	0.15	0.12	0.12
   query41	0.07	0.02	0.03
   query42	0.03	0.03	0.02
   query43	0.03	0.03	0.03
   Total cold run time: 107.51 s
   Total hot run time: 32.15 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2409942729

   
   <details>
   <summary>ClickBench: <b>Total hot run time: 31.61 s</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
   ClickBench test result on commit 5e38f6c64be03d91b615601b567229b0f2d0dd1d, data reload: false
   
   query1	0.04	0.03	0.02
   query2	0.07	0.04	0.03
   query3	0.22	0.06	0.06
   query4	1.67	0.10	0.10
   query5	0.52	0.52	0.49
   query6	1.13	0.73	0.74
   query7	0.02	0.02	0.02
   query8	0.04	0.03	0.03
   query9	0.57	0.49	0.50
   query10	0.57	0.54	0.53
   query11	0.14	0.10	0.10
   query12	0.14	0.11	0.11
   query13	0.61	0.61	0.62
   query14	2.85	2.70	2.81
   query15	0.91	0.84	0.83
   query16	0.39	0.38	0.41
   query17	1.05	1.07	1.05
   query18	0.20	0.19	0.20
   query19	1.96	1.88	1.99
   query20	0.01	0.01	0.01
   query21	15.36	0.60	0.58
   query22	2.84	2.43	1.05
   query23	17.03	0.82	0.77
   query24	2.96	0.75	1.80
   query25	0.30	0.19	0.05
   query26	0.51	0.13	0.14
   query27	0.04	0.04	0.04
   query28	10.46	1.09	1.08
   query29	12.59	3.28	3.22
   query30	0.24	0.06	0.06
   query31	2.89	0.38	0.38
   query32	3.30	0.46	0.46
   query33	3.01	2.97	3.10
   query34	17.03	4.45	4.47
   query35	4.51	4.47	4.51
   query36	0.67	0.50	0.50
   query37	0.08	0.06	0.05
   query38	0.04	0.04	0.03
   query39	0.03	0.02	0.02
   query40	0.17	0.13	0.13
   query41	0.08	0.02	0.02
   query42	0.03	0.02	0.02
   query43	0.03	0.03	0.02
   Total cold run time: 107.31 s
   Total hot run time: 31.61 s
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2413322507

   TeamCity be ut coverage result:
    Function Coverage: 37.46% (9709/25921) 
    Line Coverage: 28.75% (80636/280502)
    Region Coverage: 28.19% (41708/147978)
    Branch Coverage: 24.77% (21213/85634)
    Coverage Report: http://coverage.selectdb-in.cc/coverage/a535894e60c562b12548c250a38f0048971a8f35_a535894e60c562b12548c250a38f0048971a8f35/report/index.html


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2409838449

   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR)
   
   Since 2024-03-18, the Document has been moved to [doris-website](https://github.com/apache/doris-website).
   See [Doris Document](https://cwiki.apache.org/confluence/display/DORIS/Doris+Document).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2409870606

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2413230127

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2413314774

   PR approved by anyone and no changes requested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2409938343

   
   <details>
   <summary>TPC-DS: <b>Total hot run time: 193002 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
   TPC-DS sf100 test result on commit 5e38f6c64be03d91b615601b567229b0f2d0dd1d, data reload: false
   
   query1	955	421	411	411
   query2	6272	2052	2096	2052
   query3	8679	193	205	193
   query4	34128	23769	23655	23655
   query5	3450	476	471	471
   query6	266	170	164	164
   query7	4183	316	314	314
   query8	288	226	219	219
   query9	9498	2647	2672	2647
   query10	458	272	263	263
   query11	17880	15556	15344	15344
   query12	153	102	100	100
   query13	1604	449	425	425
   query14	10465	7872	7735	7735
   query15	259	176	181	176
   query16	7754	464	499	464
   query17	1682	600	604	600
   query18	1516	302	320	302
   query19	365	165	160	160
   query20	122	115	120	115
   query21	213	108	109	108
   query22	4660	4390	4457	4390
   query23	35331	34163	34211	34163
   query24	11406	2800	2803	2800
   query25	590	420	410	410
   query26	983	159	163	159
   query27	2237	287	290	287
   query28	7327	2397	2415	2397
   query29	703	423	427	423
   query30	289	153	153	153
   query31	1035	803	789	789
   query32	99	54	54	54
   query33	756	279	311	279
   query34	915	532	522	522
   query35	895	740	739	739
   query36	1117	947	955	947
   query37	151	92	83	83
   query38	4087	3924	3919	3919
   query39	1506	1439	1427	1427
   query40	212	103	98	98
   query41	47	45	45	45
   query42	117	93	95	93
   query43	509	486	486	486
   query44	1304	828	825	825
   query45	195	169	161	161
   query46	1158	712	717	712
   query47	1967	1862	1894	1862
   query48	412	336	324	324
   query49	957	402	409	402
   query50	820	403	399	399
   query51	7145	7022	6984	6984
   query52	99	90	89	89
   query53	274	183	185	183
   query54	1197	419	408	408
   query55	85	72	73	72
   query56	266	244	252	244
   query57	1257	1151	1184	1151
   query58	245	238	222	222
   query59	3255	3154	2948	2948
   query60	304	267	266	266
   query61	103	97	100	97
   query62	876	682	673	673
   query63	224	187	189	187
   query64	4002	626	605	605
   query65	3257	3229	3235	3229
   query66	946	329	295	295
   query67	15873	15545	15791	15545
   query68	4429	581	584	581
   query69	525	285	284	284
   query70	1123	1140	1129	1129
   query71	378	274	272	272
   query72	7221	4146	3987	3987
   query73	799	355	366	355
   query74	10272	9061	9055	9055
   query75	3460	2783	2720	2720
   query76	2784	904	983	904
   query77	623	294	298	294
   query78	10509	9629	9628	9628
   query79	1919	599	603	599
   query80	1430	451	466	451
   query81	584	240	252	240
   query82	704	140	138	138
   query83	279	136	139	136
   query84	271	72	72	72
   query85	1568	289	285	285
   query86	424	303	307	303
   query87	4430	4340	4364	4340
   query88	3211	2209	2175	2175
   query89	414	296	286	286
   query90	1963	191	184	184
   query91	140	102	104	102
   query92	62	54	48	48
   query93	1325	545	552	545
   query94	1050	302	287	287
   query95	355	253	245	245
   query96	625	278	275	275
   query97	3264	3136	3103	3103
   query98	213	200	201	200
   query99	1665	1326	1315	1315
   Total cold run time: 299402 ms
   Total hot run time: 193002 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "zhangstar333 (via GitHub)" <gi...@apache.org>.
zhangstar333 commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2412666046

   run buildall


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2409862099

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2413346884

   
   <details>
   <summary>TPC-H: <b>Total hot run time: 41072 ms</b></summary>
   
   ```
   machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
   scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
   Tpch sf100 test result on commit a535894e60c562b12548c250a38f0048971a8f35, data reload: false
   
   ------ Round 1 ----------------------------------
   q1	17605	7373	7295	7295
   q2	2036	271	270	270
   q3	12042	1034	1113	1034
   q4	10562	864	850	850
   q5	7753	3105	3086	3086
   q6	237	152	146	146
   q7	1008	601	608	601
   q8	9371	1951	1977	1951
   q9	6963	6479	6388	6388
   q10	7044	2425	2462	2425
   q11	463	250	240	240
   q12	413	218	213	213
   q13	17774	2998	2981	2981
   q14	248	212	212	212
   q15	574	523	507	507
   q16	646	594	563	563
   q17	972	567	556	556
   q18	7223	6712	6721	6712
   q19	1344	1032	925	925
   q20	512	184	182	182
   q21	3911	3022	2931	2931
   q22	1113	1004	1007	1004
   Total cold run time: 109814 ms
   Total hot run time: 41072 ms
   
   ----- Round 2, with runtime_filter_mode=off -----
   q1	7276	7241	7303	7241
   q2	327	235	230	230
   q3	3066	2934	2967	2934
   q4	2079	1824	1778	1778
   q5	5741	5772	5765	5765
   q6	228	144	144	144
   q7	2256	1829	1773	1773
   q8	3394	3542	3444	3444
   q9	8944	8884	8933	8884
   q10	3587	3564	3578	3564
   q11	593	479	487	479
   q12	854	604	591	591
   q13	9811	3181	3151	3151
   q14	328	278	277	277
   q15	598	524	528	524
   q16	702	649	663	649
   q17	1868	1602	1613	1602
   q18	8363	7880	7573	7573
   q19	1717	1462	1578	1462
   q20	2120	1884	1900	1884
   q21	5534	5279	5449	5279
   q22	1165	1077	1085	1077
   Total cold run time: 70551 ms
   Total hot run time: 60305 ms
   ```
   </details>
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [improve](profile) add timer for record udf execute time [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #41779:
URL: https://github.com/apache/doris/pull/41779#issuecomment-2412670175

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org