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

[opt](function) opt ParseUrl function by process the input const column #36882

Merged
merged 3 commits into from
Jul 2, 2024

Conversation

Mryange
Copy link
Contributor

@Mryange Mryange commented Jun 26, 2024

Proposed changes

Issue Number: close #xxx

before

mysql [test10]>select count(parse_url(url, 'HOST')) from urldb;
+-------------------------------+
| count(parse_url(url, 'HOST')) |
+-------------------------------+
|                      10000000 |
+-------------------------------+
1 row in set (1.12 sec)

now

mysql [test10]>select count(parse_url(url, 'HOST')) from urldb;
+-------------------------------+
| count(parse_url(url, 'HOST')) |
+-------------------------------+
|                      10000000 |
+-------------------------------+
1 row in set (0.82 sec)

@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.

@Mryange
Copy link
Contributor Author

Mryange commented Jun 26, 2024

run buildall

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17629	4377	4259	4259
q2	2017	197	201	197
q3	10452	1135	1053	1053
q4	10189	766	740	740
q5	7532	2637	2590	2590
q6	217	139	141	139
q7	954	608	618	608
q8	9236	2068	2065	2065
q9	9040	6491	6479	6479
q10	9005	3738	3732	3732
q11	468	242	247	242
q12	538	234	231	231
q13	17761	2987	2979	2979
q14	267	226	221	221
q15	514	487	471	471
q16	509	384	372	372
q17	964	694	672	672
q18	7954	7408	7370	7370
q19	7763	1392	1510	1392
q20	648	319	312	312
q21	4932	3714	3943	3714
q22	404	341	339	339
Total cold run time: 118993 ms
Total hot run time: 40177 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4370	4275	4290	4275
q2	377	277	266	266
q3	3091	2890	2941	2890
q4	1992	1806	1727	1727
q5	5455	5518	5419	5419
q6	215	137	134	134
q7	2271	1884	1844	1844
q8	3267	3419	3386	3386
q9	8738	8719	8699	8699
q10	4174	3763	3807	3763
q11	641	516	496	496
q12	827	659	664	659
q13	17105	3183	3236	3183
q14	301	277	275	275
q15	535	482	472	472
q16	492	421	455	421
q17	1807	1498	1495	1495
q18	8194	7974	7839	7839
q19	1846	1673	1541	1541
q20	2114	1883	1860	1860
q21	8228	4949	4764	4764
q22	662	542	562	542
Total cold run time: 76702 ms
Total hot run time: 55950 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 174821 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 80f78057965ff96eac8e326915f0bf0851d5b9e2, data reload: false

query1	926	375	375	375
query2	6448	2385	2290	2290
query3	6637	202	218	202
query4	19086	17444	17193	17193
query5	3682	485	493	485
query6	262	188	156	156
query7	4608	289	295	289
query8	323	291	291	291
query9	8500	2456	2437	2437
query10	579	279	306	279
query11	10576	10080	9987	9987
query12	121	92	85	85
query13	1642	375	368	368
query14	9504	7584	7771	7584
query15	264	187	196	187
query16	8024	271	280	271
query17	1888	574	536	536
query18	2090	285	283	283
query19	202	154	160	154
query20	91	86	86	86
query21	218	136	126	126
query22	4351	3984	4062	3984
query23	33947	33470	33490	33470
query24	10742	2936	2933	2933
query25	600	399	405	399
query26	735	158	155	155
query27	2257	340	337	337
query28	5884	2180	2178	2178
query29	898	655	636	636
query30	264	163	162	162
query31	960	785	761	761
query32	99	54	57	54
query33	675	297	314	297
query34	849	497	494	494
query35	761	679	640	640
query36	1087	972	986	972
query37	145	76	80	76
query38	2964	2866	2838	2838
query39	905	873	842	842
query40	210	135	136	135
query41	57	55	53	53
query42	111	110	104	104
query43	610	549	560	549
query44	1097	745	722	722
query45	199	167	170	167
query46	1092	748	702	702
query47	1852	1772	1780	1772
query48	378	314	305	305
query49	864	432	437	432
query50	776	489	380	380
query51	6863	6801	6725	6725
query52	114	92	95	92
query53	364	296	286	286
query54	898	444	455	444
query55	74	72	76	72
query56	283	276	259	259
query57	1093	1044	1084	1044
query58	256	274	238	238
query59	3372	3197	3227	3197
query60	308	272	284	272
query61	92	92	92	92
query62	606	450	428	428
query63	321	293	288	288
query64	8492	2301	1747	1747
query65	3200	3117	3126	3117
query66	748	331	321	321
query67	15766	14968	14905	14905
query68	8579	536	575	536
query69	749	462	371	371
query70	1412	1105	1037	1037
query71	524	284	274	274
query72	8844	5696	5472	5472
query73	2210	324	323	323
query74	5891	5546	5456	5456
query75	4763	2662	2647	2647
query76	4761	966	927	927
query77	776	302	307	302
query78	10566	9932	10023	9932
query79	9173	520	529	520
query80	908	482	492	482
query81	547	225	224	224
query82	256	102	109	102
query83	336	178	172	172
query84	267	95	85	85
query85	873	275	307	275
query86	367	305	287	287
query87	3355	3067	3080	3067
query88	5090	2498	2506	2498
query89	514	385	385	385
query90	1948	189	194	189
query91	134	100	101	100
query92	59	47	50	47
query93	5950	509	516	509
query94	1301	192	187	187
query95	420	325	333	325
query96	629	275	269	269
query97	3215	3040	3065	3040
query98	210	202	205	202
query99	1136	843	839	839
Total cold run time: 289653 ms
Total hot run time: 174821 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.03
query2	0.08	0.04	0.04
query3	0.23	0.06	0.06
query4	1.65	0.08	0.09
query5	0.50	0.48	0.49
query6	1.13	0.72	0.74
query7	0.02	0.02	0.02
query8	0.05	0.04	0.04
query9	0.57	0.50	0.48
query10	0.54	0.55	0.53
query11	0.15	0.11	0.11
query12	0.15	0.11	0.12
query13	0.59	0.60	0.61
query14	0.79	0.78	0.77
query15	0.85	0.83	0.80
query16	0.37	0.37	0.37
query17	0.96	1.05	0.97
query18	0.22	0.25	0.24
query19	1.94	1.73	1.70
query20	0.02	0.01	0.01
query21	15.45	0.74	0.65
query22	4.49	6.39	1.74
query23	18.20	1.44	1.25
query24	2.10	0.21	0.22
query25	0.15	0.10	0.08
query26	0.25	0.18	0.17
query27	0.08	0.08	0.08
query28	13.24	1.00	1.02
query29	12.57	3.30	3.25
query30	0.25	0.06	0.06
query31	2.86	0.39	0.40
query32	3.27	0.47	0.50
query33	2.89	2.88	2.88
query34	17.10	4.41	4.42
query35	4.51	4.55	4.50
query36	0.65	0.47	0.48
query37	0.19	0.15	0.15
query38	0.16	0.15	0.14
query39	0.04	0.04	0.04
query40	0.17	0.17	0.14
query41	0.10	0.05	0.05
query42	0.05	0.04	0.05
query43	0.05	0.04	0.05
Total cold run time: 109.67 s
Total hot run time: 30.37 s

@Mryange
Copy link
Contributor Author

Mryange commented Jun 26, 2024

run buildall

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17625	4294	4439	4294
q2	2015	196	200	196
q3	10419	1273	1200	1200
q4	10190	772	785	772
q5	7488	2690	2631	2631
q6	219	134	135	134
q7	950	601	615	601
q8	9226	2063	2059	2059
q9	9037	6498	6463	6463
q10	8936	3698	3698	3698
q11	441	241	236	236
q12	480	228	227	227
q13	18813	2983	2963	2963
q14	259	222	223	222
q15	505	466	470	466
q16	519	371	374	371
q17	987	699	654	654
q18	8061	7476	7352	7352
q19	7042	1502	1430	1430
q20	665	332	332	332
q21	4843	3263	3221	3221
q22	382	324	334	324
Total cold run time: 119102 ms
Total hot run time: 39846 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4462	4290	4398	4290
q2	361	274	268	268
q3	3025	2840	2906	2840
q4	1929	1662	1733	1662
q5	5605	5474	5460	5460
q6	218	128	136	128
q7	2241	1874	1855	1855
q8	3245	3437	3440	3437
q9	8679	8780	8876	8780
q10	4299	3859	3915	3859
q11	604	520	518	518
q12	837	722	673	673
q13	17122	3123	3134	3123
q14	322	288	283	283
q15	535	482	489	482
q16	490	441	425	425
q17	1806	1537	1490	1490
q18	8216	7997	7757	7757
q19	1837	1736	1571	1571
q20	3192	1865	1866	1865
q21	8994	4956	4829	4829
q22	630	592	546	546
Total cold run time: 78649 ms
Total hot run time: 56141 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 174178 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 6cbd55ee6016905b90e971904bbbeb54cd6922c5, data reload: false

query1	928	386	374	374
query2	6425	2334	2273	2273
query3	6637	203	208	203
query4	19149	17594	17337	17337
query5	3558	477	490	477
query6	270	205	166	166
query7	4608	295	296	295
query8	308	270	276	270
query9	8480	2466	2478	2466
query10	556	316	292	292
query11	10465	10001	9947	9947
query12	118	88	81	81
query13	1645	393	376	376
query14	9581	8025	7798	7798
query15	301	186	189	186
query16	8062	270	287	270
query17	1894	572	534	534
query18	2062	292	284	284
query19	233	158	166	158
query20	90	81	84	81
query21	215	129	130	129
query22	4401	4070	3922	3922
query23	33771	33572	33454	33454
query24	11182	2878	2932	2878
query25	589	370	390	370
query26	829	169	165	165
query27	2276	325	336	325
query28	5946	2183	2166	2166
query29	872	639	636	636
query30	255	162	161	161
query31	970	766	750	750
query32	93	55	58	55
query33	758	285	290	285
query34	1019	493	480	480
query35	718	622	627	622
query36	1100	986	981	981
query37	144	73	70	70
query38	2986	2894	2819	2819
query39	897	805	839	805
query40	222	128	127	127
query41	52	50	52	50
query42	120	100	101	100
query43	579	521	550	521
query44	1241	745	723	723
query45	196	166	162	162
query46	1080	689	730	689
query47	1863	1771	1767	1767
query48	360	302	305	302
query49	837	407	418	407
query50	769	384	395	384
query51	6941	6885	6805	6805
query52	100	98	90	90
query53	361	296	288	288
query54	900	463	442	442
query55	76	78	72	72
query56	282	259	288	259
query57	1144	1036	1041	1036
query58	268	239	266	239
query59	3225	3113	2927	2927
query60	296	276	296	276
query61	94	89	90	89
query62	609	435	454	435
query63	325	286	295	286
query64	8892	2257	1736	1736
query65	3172	3080	3110	3080
query66	749	326	317	317
query67	15386	14800	14959	14800
query68	8165	562	559	559
query69	705	474	400	400
query70	1239	1131	1187	1131
query71	492	279	267	267
query72	8457	5486	5414	5414
query73	1055	327	324	324
query74	5874	5542	5393	5393
query75	4534	2648	2627	2627
query76	4407	969	952	952
query77	772	309	314	309
query78	10515	9801	9720	9720
query79	3313	513	515	513
query80	1032	473	491	473
query81	561	222	225	222
query82	735	110	109	109
query83	298	172	167	167
query84	267	86	83	83
query85	1184	286	273	273
query86	392	277	332	277
query87	3276	3116	3071	3071
query88	3894	2475	2450	2450
query89	506	380	387	380
query90	1865	192	193	192
query91	129	102	100	100
query92	61	48	51	48
query93	4643	506	502	502
query94	1142	187	187	187
query95	408	366	326	326
query96	603	273	274	273
query97	3259	3044	3068	3044
query98	216	195	191	191
query99	1216	856	851	851
Total cold run time: 279745 ms
Total hot run time: 174178 ms

@doris-robot
Copy link

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

query1	0.04	0.04	0.03
query2	0.08	0.04	0.05
query3	0.22	0.05	0.05
query4	1.68	0.08	0.08
query5	0.49	0.50	0.48
query6	1.13	0.72	0.73
query7	0.02	0.02	0.01
query8	0.05	0.05	0.05
query9	0.54	0.51	0.48
query10	0.53	0.53	0.53
query11	0.16	0.11	0.11
query12	0.14	0.11	0.12
query13	0.59	0.59	0.61
query14	0.76	0.77	0.79
query15	0.86	0.81	0.82
query16	0.36	0.34	0.37
query17	1.02	1.02	1.02
query18	0.22	0.26	0.23
query19	1.81	1.72	1.72
query20	0.01	0.00	0.00
query21	15.44	0.73	0.64
query22	4.42	7.17	1.73
query23	18.66	1.35	1.31
query24	2.08	0.23	0.22
query25	0.15	0.08	0.08
query26	0.28	0.17	0.18
query27	0.08	0.08	0.08
query28	13.22	1.02	0.99
query29	12.63	3.30	3.26
query30	0.26	0.06	0.05
query31	2.88	0.40	0.39
query32	3.28	0.48	0.47
query33	2.90	2.93	2.90
query34	17.26	4.52	4.38
query35	4.49	4.47	4.48
query36	0.66	0.49	0.48
query37	0.17	0.16	0.15
query38	0.15	0.15	0.14
query39	0.05	0.03	0.04
query40	0.18	0.15	0.14
query41	0.10	0.04	0.04
query42	0.06	0.04	0.04
query43	0.05	0.03	0.04
Total cold run time: 110.16 s
Total hot run time: 30.36 s

@@ -2277,70 +2279,102 @@ class FunctionStringParseUrl : public IFunction {
res_offsets.resize(input_rows_count);

size_t argument_size = arguments.size();
bool has_key = argument_size >= 3;
const bool has_key = argument_size >= 3;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

max size seems 3,should be dcheck bigger than 3?

ColumnString::Chars& res_chars,
ColumnString::Offsets& res_offsets) {
for (size_t i = 0; i < size; ++i) {
UrlParser::UrlPart& url_part = url_parts[part_const ? 0 : i];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use index_check_const

@Mryange
Copy link
Contributor Author

Mryange commented Jun 27, 2024

run buildall

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

@@ -17,6 +17,7 @@

#pragma once

#include <glog/logging.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: 'glog/logging.h' file not found [clang-diagnostic-error]

#include <glog/logging.h>
         ^

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	18068	4800	4437	4437
q2	2555	212	197	197
q3	11095	1184	1201	1184
q4	10257	859	916	859
q5	8421	2801	2664	2664
q6	222	139	139	139
q7	971	613	621	613
q8	9573	2120	2093	2093
q9	8740	6522	6497	6497
q10	8980	3757	3715	3715
q11	446	243	234	234
q12	422	239	234	234
q13	17775	3035	2999	2999
q14	265	228	221	221
q15	519	467	480	467
q16	524	375	370	370
q17	975	721	664	664
q18	8136	7619	7526	7526
q19	5923	1453	1463	1453
q20	666	322	327	322
q21	5004	3123	3888	3123
q22	393	336	345	336
Total cold run time: 119930 ms
Total hot run time: 40347 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4448	4306	4306	4306
q2	376	269	270	269
q3	3019	2761	2729	2729
q4	1866	1680	1626	1626
q5	5285	5318	5339	5318
q6	219	127	130	127
q7	2157	1667	1716	1667
q8	3218	3410	3325	3325
q9	8421	8365	8399	8365
q10	3891	3679	3659	3659
q11	591	496	493	493
q12	783	598	600	598
q13	16530	2990	3024	2990
q14	312	260	267	260
q15	520	486	489	486
q16	473	410	425	410
q17	1799	1494	1486	1486
q18	7768	7522	7530	7522
q19	1712	1664	1580	1580
q20	1961	1779	1784	1779
q21	4991	4768	4775	4768
q22	609	580	521	521
Total cold run time: 70949 ms
Total hot run time: 54284 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 173596 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 fe296164b19c65e43855bbb50272a11cd810cf54, data reload: false

query1	934	386	379	379
query2	6459	2321	2344	2321
query3	6649	204	215	204
query4	19182	17653	17348	17348
query5	4206	500	503	500
query6	266	178	173	173
query7	4600	294	293	293
query8	323	292	291	291
query9	8756	2424	2410	2410
query10	607	286	298	286
query11	10507	10287	10169	10169
query12	136	85	88	85
query13	1644	385	377	377
query14	10045	6842	7533	6842
query15	252	188	180	180
query16	8152	262	272	262
query17	1904	548	513	513
query18	2097	285	268	268
query19	206	151	152	151
query20	92	81	85	81
query21	213	131	123	123
query22	4622	4493	4202	4202
query23	34001	33348	33156	33156
query24	11165	2768	2796	2768
query25	609	361	388	361
query26	1581	152	151	151
query27	3028	314	310	310
query28	7664	2089	2077	2077
query29	938	617	597	597
query30	285	155	157	155
query31	947	751	753	751
query32	90	56	54	54
query33	778	285	280	280
query34	962	467	480	467
query35	769	622	601	601
query36	1132	952	975	952
query37	155	70	70	70
query38	2896	2749	2771	2749
query39	868	780	839	780
query40	285	127	125	125
query41	54	60	55	55
query42	126	100	99	99
query43	589	520	568	520
query44	1173	724	725	724
query45	190	164	166	164
query46	1078	720	722	720
query47	1876	1775	1777	1775
query48	379	303	305	303
query49	1193	412	406	406
query50	762	379	385	379
query51	6884	6750	6782	6750
query52	104	95	91	91
query53	359	296	285	285
query54	879	447	442	442
query55	75	80	75	75
query56	272	263	257	257
query57	1173	1051	1050	1050
query58	252	238	239	238
query59	3456	3183	3173	3173
query60	327	260	275	260
query61	94	88	94	88
query62	660	471	464	464
query63	324	290	292	290
query64	9862	2239	1777	1777
query65	3190	3134	3118	3118
query66	1071	333	325	325
query67	15524	15061	15130	15061
query68	4573	556	559	556
query69	461	307	304	304
query70	1222	1132	1123	1123
query71	382	270	277	270
query72	7131	5534	5685	5534
query73	750	322	322	322
query74	5947	5524	5493	5493
query75	3463	2658	2689	2658
query76	2790	939	942	939
query77	448	304	289	289
query78	10271	10097	9664	9664
query79	1617	523	520	520
query80	2166	460	474	460
query81	567	217	220	217
query82	1035	106	101	101
query83	310	170	172	170
query84	265	88	85	85
query85	1391	305	269	269
query86	394	315	325	315
query87	3366	3127	3119	3119
query88	3022	2350	2362	2350
query89	476	379	381	379
query90	1823	196	185	185
query91	130	97	99	97
query92	65	49	50	49
query93	1410	516	514	514
query94	1299	189	181	181
query95	396	312	316	312
query96	595	272	279	272
query97	3269	3109	3063	3063
query98	220	205	193	193
query99	1104	847	842	842
Total cold run time: 274289 ms
Total hot run time: 173596 ms

@doris-robot
Copy link

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

query1	0.05	0.03	0.04
query2	0.08	0.03	0.04
query3	0.23	0.05	0.05
query4	1.67	0.09	0.10
query5	0.50	0.49	0.47
query6	1.15	0.74	0.73
query7	0.02	0.01	0.01
query8	0.05	0.04	0.05
query9	0.55	0.50	0.49
query10	0.54	0.55	0.54
query11	0.15	0.11	0.12
query12	0.15	0.14	0.13
query13	0.59	0.58	0.58
query14	0.77	0.79	0.79
query15	0.84	0.83	0.82
query16	0.37	0.37	0.38
query17	0.99	0.97	1.03
query18	0.22	0.25	0.25
query19	1.90	1.71	1.71
query20	0.01	0.01	0.00
query21	15.43	0.74	0.64
query22	4.62	6.55	1.93
query23	18.30	1.37	1.26
query24	2.15	0.22	0.22
query25	0.17	0.09	0.09
query26	0.26	0.18	0.18
query27	0.08	0.07	0.08
query28	13.25	1.02	1.00
query29	12.61	3.34	3.36
query30	0.26	0.06	0.06
query31	2.86	0.40	0.39
query32	3.28	0.48	0.47
query33	2.84	2.93	2.93
query34	17.07	4.40	4.43
query35	4.59	4.45	4.57
query36	0.64	0.48	0.46
query37	0.18	0.15	0.15
query38	0.15	0.14	0.14
query39	0.04	0.04	0.03
query40	0.16	0.14	0.14
query41	0.09	0.05	0.05
query42	0.05	0.05	0.05
query43	0.04	0.05	0.04
Total cold run time: 109.95 s
Total hot run time: 30.7 s

@Mryange
Copy link
Contributor Author

Mryange commented Jun 27, 2024

run buildall

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@doris-robot
Copy link

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

------ Round 1 ----------------------------------
q1	17610	4346	4339	4339
q2	2016	188	195	188
q3	10463	1226	1101	1101
q4	10180	822	886	822
q5	7528	2701	2688	2688
q6	220	134	129	129
q7	972	602	597	597
q8	9231	2099	2084	2084
q9	8881	6523	6521	6521
q10	8981	3762	3721	3721
q11	465	237	239	237
q12	450	233	222	222
q13	17781	2945	3011	2945
q14	259	224	214	214
q15	518	474	482	474
q16	523	374	383	374
q17	975	679	712	679
q18	7998	7464	7385	7385
q19	4931	1521	1512	1512
q20	662	323	340	323
q21	4928	3155	3903	3155
q22	398	344	349	344
Total cold run time: 115970 ms
Total hot run time: 40054 ms

----- Round 2, with runtime_filter_mode=off -----
q1	4418	4242	4234	4234
q2	368	278	261	261
q3	2989	2799	2882	2799
q4	2014	1735	1711	1711
q5	5716	5495	5527	5495
q6	220	124	126	124
q7	2227	1874	1820	1820
q8	3293	3457	3418	3418
q9	8685	8686	8914	8686
q10	4119	3876	3658	3658
q11	632	516	515	515
q12	862	652	623	623
q13	15881	3213	3145	3145
q14	310	268	261	261
q15	549	481	494	481
q16	482	421	420	420
q17	1844	1524	1506	1506
q18	8122	7861	7713	7713
q19	1821	1512	1564	1512
q20	2135	1897	1841	1841
q21	5147	4959	4947	4947
q22	619	546	541	541
Total cold run time: 72453 ms
Total hot run time: 55711 ms

@doris-robot
Copy link

TPC-DS: Total hot run time: 174107 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 9656bd5b833ff8a6a96d2aaae518643cf1204589, data reload: false

query1	912	380	378	378
query2	6441	2477	2389	2389
query3	6645	213	215	213
query4	20361	17435	17200	17200
query5	3657	464	470	464
query6	279	158	162	158
query7	4589	296	283	283
query8	319	292	283	283
query9	8579	2324	2320	2320
query10	575	330	291	291
query11	10502	10049	9960	9960
query12	113	84	86	84
query13	1639	374	360	360
query14	10274	7764	7008	7008
query15	230	193	191	191
query16	7574	282	276	276
query17	1890	549	531	531
query18	1923	317	273	273
query19	200	143	143	143
query20	88	82	85	82
query21	221	150	132	132
query22	4313	3966	4136	3966
query23	33801	33675	33812	33675
query24	10967	2857	2868	2857
query25	614	382	362	362
query26	757	151	153	151
query27	2411	329	315	315
query28	6228	2087	2087	2087
query29	868	621	596	596
query30	248	174	163	163
query31	943	766	746	746
query32	86	54	56	54
query33	763	280	297	280
query34	1023	496	490	490
query35	752	636	625	625
query36	1121	983	965	965
query37	143	71	69	69
query38	2966	2847	2836	2836
query39	883	854	848	848
query40	210	131	126	126
query41	56	51	49	49
query42	110	102	103	102
query43	610	579	574	574
query44	1186	748	731	731
query45	222	169	173	169
query46	1078	712	712	712
query47	1844	1782	1751	1751
query48	368	303	299	299
query49	847	399	406	399
query50	762	380	379	379
query51	6915	6837	6838	6837
query52	100	99	90	90
query53	359	295	297	295
query54	903	439	443	439
query55	76	72	73	72
query56	274	261	257	257
query57	1127	1075	1052	1052
query58	256	244	256	244
query59	3405	3327	3338	3327
query60	297	276	270	270
query61	118	94	88	88
query62	612	474	449	449
query63	329	304	295	295
query64	8628	2250	1742	1742
query65	3163	3101	3100	3100
query66	780	324	331	324
query67	15413	15072	14954	14954
query68	4629	526	520	520
query69	571	443	381	381
query70	1083	1090	1141	1090
query71	430	278	266	266
query72	7074	5781	5549	5549
query73	765	325	323	323
query74	5893	5540	5445	5445
query75	3365	2640	2744	2640
query76	2623	923	917	917
query77	495	307	303	303
query78	10437	9707	9780	9707
query79	2706	508	514	508
query80	1015	474	459	459
query81	617	225	223	223
query82	1042	107	99	99
query83	272	168	175	168
query84	248	92	86	86
query85	1153	271	271	271
query86	450	312	337	312
query87	3324	3083	3062	3062
query88	3422	2443	2444	2443
query89	482	404	395	395
query90	1710	189	186	186
query91	133	104	103	103
query92	60	49	50	49
query93	1757	485	481	481
query94	1076	188	185	185
query95	394	316	307	307
query96	591	269	268	268
query97	3222	3063	3093	3063
query98	222	218	212	212
query99	1295	859	856	856
Total cold run time: 268502 ms
Total hot run time: 174107 ms

@doris-robot
Copy link

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

query1	0.04	0.03	0.03
query2	0.08	0.04	0.04
query3	0.22	0.05	0.05
query4	1.67	0.07	0.07
query5	0.49	0.49	0.47
query6	1.15	0.74	0.72
query7	0.02	0.02	0.01
query8	0.06	0.05	0.04
query9	0.56	0.51	0.50
query10	0.55	0.56	0.54
query11	0.15	0.11	0.11
query12	0.15	0.11	0.12
query13	0.59	0.58	0.60
query14	0.78	0.78	0.77
query15	0.85	0.82	0.81
query16	0.39	0.36	0.34
query17	0.98	1.03	1.01
query18	0.21	0.28	0.26
query19	1.76	1.69	1.71
query20	0.02	0.01	0.01
query21	15.44	0.73	0.66
query22	4.86	6.80	1.57
query23	18.26	1.42	1.27
query24	2.18	0.22	0.22
query25	0.16	0.08	0.09
query26	0.27	0.17	0.18
query27	0.08	0.09	0.09
query28	13.25	1.02	1.00
query29	12.58	3.36	3.32
query30	0.25	0.06	0.06
query31	2.87	0.40	0.38
query32	3.31	0.47	0.48
query33	2.93	2.86	2.92
query34	17.07	4.36	4.40
query35	4.48	4.48	4.52
query36	0.66	0.47	0.47
query37	0.19	0.16	0.15
query38	0.15	0.15	0.15
query39	0.04	0.04	0.03
query40	0.17	0.14	0.14
query41	0.10	0.05	0.05
query42	0.06	0.05	0.05
query43	0.05	0.04	0.04
Total cold run time: 110.13 s
Total hot run time: 30.23 s

Copy link
Contributor

@HappenLee HappenLee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

github-actions bot commented Jul 1, 2024

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

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 1, 2024
Copy link
Contributor

github-actions bot commented Jul 1, 2024

PR approved by anyone and no changes requested.

@HappenLee HappenLee merged commit 6c03ca1 into apache:master Jul 2, 2024
25 of 29 checks passed
dataroaring pushed a commit that referenced this pull request Jul 17, 2024
…mn (#36882)

before
```
mysql [test10]>select count(parse_url(url, 'HOST')) from urldb;
+-------------------------------+
| count(parse_url(url, 'HOST')) |
+-------------------------------+
|                      10000000 |
+-------------------------------+
1 row in set (1.12 sec)
```

now
```
mysql [test10]>select count(parse_url(url, 'HOST')) from urldb;
+-------------------------------+
| count(parse_url(url, 'HOST')) |
+-------------------------------+
|                      10000000 |
+-------------------------------+
1 row in set (0.82 sec)
```
@yiguolei yiguolei mentioned this pull request Sep 5, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/3.0.1-merged reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants