Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test](case) add time funciton ut case #34874

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

M1saka2003
Copy link
Contributor

Proposed changes

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@M1saka2003
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.69% (8990/25192)
Line Coverage: 27.38% (74405/271792)
Region Coverage: 26.62% (38469/144507)
Branch Coverage: 23.45% (19636/83734)
Coverage Report: http://coverage.selectdb-in.cc/coverage/b1933c051f16066639c6c0ea305a28e2935688a5_b1933c051f16066639c6c0ea305a28e2935688a5/report/index.html

@doris-robot
Copy link

TPC-H: Total hot run time: 40840 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpch-tools
Tpch sf100 test result on commit b1933c051f16066639c6c0ea305a28e2935688a5, data reload: false

------ Round 1 ----------------------------------
q1	7068	4266	4225	4225
q2	661	185	189	185
q3	6084	1140	1161	1140
q4	1028	722	712	712
q5	2669	2744	2539	2539
q6	221	142	151	142
q7	1242	730	639	639
q8	2029	2142	2191	2142
q9	7037	6762	6680	6680
q10	4047	4017	3791	3791
q11	354	240	234	234
q12	382	211	215	211
q13	16272	3144	3118	3118
q14	276	232	228	228
q15	525	489	476	476
q16	487	415	406	406
q17	987	719	706	706
q18	8488	7922	8004	7922
q19	4186	1597	1525	1525
q20	566	339	325	325
q21	5110	3208	4186	3208
q22	369	287	286	286
Total cold run time: 70088 ms
Total hot run time: 40840 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4403	4368	4365	4365
q2	379	254	278	254
q3	3213	2887	2681	2681
q4	1916	1590	1618	1590
q5	5475	5330	5276	5276
q6	210	122	124	122
q7	2249	1880	1880	1880
q8	3201	3345	3352	3345
q9	8423	8370	8386	8370
q10	3902	3705	3688	3688
q11	590	489	494	489
q12	744	600	620	600
q13	6558	3039	2981	2981
q14	303	265	253	253
q15	524	481	470	470
q16	476	421	425	421
q17	1768	1474	1474	1474
q18	7598	7782	7404	7404
q19	1656	1555	1501	1501
q20	1950	1754	1760	1754
q21	4927	4798	4890	4798
q22	591	486	503	486
Total cold run time: 61056 ms
Total hot run time: 54202 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 187724 ms
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/tpcds-tools
TPC-DS sf100 test result on commit b1933c051f16066639c6c0ea305a28e2935688a5, data reload: false

query1	925	385	374	374
query2	6429	2475	2446	2446
query3	6642	205	211	205
query4	24876	21271	21308	21271
query5	4195	419	434	419
query6	263	198	175	175
query7	4607	299	293	293
query8	239	186	198	186
query9	8352	2466	2480	2466
query10	452	272	255	255
query11	14783	14217	14165	14165
query12	134	88	87	87
query13	1653	377	361	361
query14	10248	9099	7557	7557
query15	206	169	173	169
query16	7649	271	261	261
query17	1293	550	545	545
query18	1948	274	267	267
query19	193	146	152	146
query20	90	85	84	84
query21	197	131	135	131
query22	5119	4888	4892	4888
query23	34159	34286	33483	33483
query24	5091	2869	2850	2850
query25	474	377	373	373
query26	709	166	175	166
query27	1810	323	347	323
query28	3722	2113	2086	2086
query29	841	607	612	607
query30	228	174	187	174
query31	917	741	729	729
query32	58	57	53	53
query33	442	249	254	249
query34	885	477	488	477
query35	754	670	687	670
query36	1049	911	938	911
query37	108	74	70	70
query38	2864	2780	2776	2776
query39	1622	1577	1549	1549
query40	203	132	129	129
query41	50	45	45	45
query42	105	98	101	98
query43	592	555	530	530
query44	1062	736	744	736
query45	270	262	263	262
query46	1087	719	733	719
query47	1982	1873	1872	1872
query48	404	310	294	294
query49	759	405	390	390
query50	767	388	407	388
query51	6707	6685	6669	6669
query52	100	96	90	90
query53	358	285	290	285
query54	525	428	422	422
query55	72	78	73	73
query56	252	217	219	217
query57	1218	1144	1167	1144
query58	216	201	204	201
query59	3533	3382	3187	3187
query60	258	236	251	236
query61	117	86	86	86
query62	578	482	465	465
query63	311	293	301	293
query64	7730	7460	7359	7359
query65	3146	3091	3085	3085
query66	680	349	352	349
query67	15255	15073	15164	15073
query68	4599	545	529	529
query69	449	302	304	302
query70	1196	1153	1109	1109
query71	389	274	275	274
query72	7507	2544	2324	2324
query73	709	328	330	328
query74	6482	6182	6106	6106
query75	3283	2664	2602	2602
query76	2316	973	974	973
query77	421	262	266	262
query78	10644	10089	10147	10089
query79	1966	519	518	518
query80	1045	470	440	440
query81	498	242	240	240
query82	674	95	96	95
query83	234	168	164	164
query84	247	84	83	83
query85	1546	260	262	260
query86	575	308	321	308
query87	3398	3199	3210	3199
query88	4299	2496	2448	2448
query89	471	383	386	383
query90	1854	184	190	184
query91	125	98	97	97
query92	64	50	51	50
query93	2835	512	494	494
query94	1126	185	186	185
query95	404	310	305	305
query96	598	272	277	272
query97	3169	2994	3032	2994
query98	241	216	217	216
query99	1213	909	897	897
Total cold run time: 269140 ms
Total hot run time: 187724 ms

@doris-robot
Copy link

ClickBench: Total hot run time: 30.5 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit b1933c051f16066639c6c0ea305a28e2935688a5, data reload: false

query1	0.04	0.03	0.03
query2	0.08	0.03	0.04
query3	0.23	0.06	0.06
query4	1.66	0.07	0.07
query5	0.52	0.49	0.52
query6	1.12	0.73	0.73
query7	0.02	0.02	0.01
query8	0.04	0.03	0.04
query9	0.55	0.50	0.49
query10	0.54	0.55	0.56
query11	0.15	0.11	0.11
query12	0.14	0.12	0.12
query13	0.58	0.58	0.59
query14	0.78	0.79	0.77
query15	0.82	0.80	0.80
query16	0.36	0.36	0.37
query17	1.03	1.01	0.99
query18	0.25	0.24	0.24
query19	1.84	1.75	1.78
query20	0.02	0.01	0.02
query21	15.60	0.69	0.67
query22	4.32	6.99	2.04
query23	18.34	1.32	1.23
query24	1.92	0.21	0.20
query25	0.16	0.09	0.08
query26	0.26	0.16	0.16
query27	0.07	0.08	0.07
query28	13.38	1.00	0.99
query29	13.33	3.28	3.25
query30	0.25	0.07	0.05
query31	2.86	0.39	0.38
query32	3.27	0.46	0.46
query33	2.81	2.81	2.87
query34	17.05	4.38	4.40
query35	4.46	4.48	4.62
query36	0.63	0.47	0.45
query37	0.17	0.16	0.15
query38	0.15	0.14	0.15
query39	0.04	0.03	0.04
query40	0.16	0.15	0.15
query41	0.09	0.05	0.04
query42	0.05	0.05	0.04
query43	0.04	0.03	0.04
Total cold run time: 110.18 s
Total hot run time: 30.5 s

@M1saka2003 M1saka2003 force-pushed the time branch 2 times, most recently from 1a9e597 to 65ef236 Compare May 16, 2024 06:42
@M1saka2003
Copy link
Contributor Author

run buildall

@doris-robot
Copy link

TeamCity be ut coverage result:
Function Coverage: 35.77% (9021/25219)
Line Coverage: 27.46% (74731/272146)
Region Coverage: 26.72% (38667/144709)
Branch Coverage: 23.55% (19747/83838)
Coverage Report: http://coverage.selectdb-in.cc/coverage/2d7188fddede7792693a981ea09110066dd264b5_2d7188fddede7792693a981ea09110066dd264b5/report/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants