Skip to content

[test](microbench) Add some api of get_or_set#64691

Open
pingchunzhang wants to merge 1 commit into
apache:masterfrom
pingchunzhang:master
Open

[test](microbench) Add some api of get_or_set#64691
pingchunzhang wants to merge 1 commit into
apache:masterfrom
pingchunzhang:master

Conversation

@pingchunzhang

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@hello-stephen

Copy link
Copy Markdown
Contributor

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

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@pingchunzhang

Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen

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

------ Round 1 ----------------------------------
============================================
q1	17706	4133	4069	4069
q2	2045	317	186	186
q3	10296	1472	822	822
q4	4676	472	339	339
q5	7475	859	575	575
q6	180	171	141	141
q7	758	862	632	632
q8	9382	1549	1776	1549
q9	5793	4520	4483	4483
q10	6768	1785	1523	1523
q11	434	273	244	244
q12	629	426	311	311
q13	18117	3352	2749	2749
q14	274	260	237	237
q15	q16	780	777	710	710
q17	995	956	907	907
q18	6845	5734	5549	5549
q19	1185	1230	1171	1171
q20	482	388	267	267
q21	5548	2561	2396	2396
q22	443	366	297	297
Total cold run time: 100811 ms
Total hot run time: 29157 ms

----- Round 2, with runtime_filter_mode=off -----
============================================
q1	4323	4236	4254	4236
q2	333	357	228	228
q3	4615	4939	4382	4382
q4	2087	2135	1394	1394
q5	4473	4288	4301	4288
q6	234	179	131	131
q7	1743	1620	1644	1620
q8	2742	2201	2158	2158
q9	8088	8400	8038	8038
q10	4823	4756	4326	4326
q11	565	418	381	381
q12	776	767	561	561
q13	3110	3676	2907	2907
q14	293	292	287	287
q15	q16	711	766	661	661
q17	1340	1334	1311	1311
q18	8095	7299	7251	7251
q19	1175	1145	1118	1118
q20	2198	2202	1948	1948
q21	5294	4582	4498	4498
q22	535	465	408	408
Total cold run time: 57553 ms
Total hot run time: 52132 ms

@hello-stephen

Copy link
Copy Markdown
Contributor
TPC-DS: Total hot run time: 173095 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 e12afbfaccfb95139f9ab8ab0d245f838f6eac4d, data reload: false

query5	4311	626	482	482
query6	445	188	174	174
query7	4810	538	309	309
query8	356	212	198	198
query9	8781	4060	4069	4060
query10	434	323	251	251
query11	5944	2348	2211	2211
query12	158	104	100	100
query13	1261	608	408	408
query14	6372	5408	5053	5053
query14_1	4409	4375	4424	4375
query15	205	201	178	178
query16	1004	467	470	467
query17	960	713	591	591
query18	2450	484	343	343
query19	199	187	149	149
query20	111	107	106	106
query21	218	142	119	119
query22	13649	13583	13365	13365
query23	17254	16515	16206	16206
query23_1	16247	16260	16242	16242
query24	7523	1772	1320	1320
query24_1	1320	1309	1303	1303
query25	526	426	351	351
query26	1302	298	168	168
query27	2695	544	343	343
query28	4419	2053	2051	2051
query29	1060	629	487	487
query30	308	229	198	198
query31	1114	1071	942	942
query32	104	58	55	55
query33	514	300	248	248
query34	1245	1167	679	679
query35	754	773	678	678
query36	1392	1341	1196	1196
query37	154	100	84	84
query38	1877	1711	1634	1634
query39	906	901	894	894
query39_1	887	898	869	869
query40	223	120	97	97
query41	63	64	61	61
query42	84	85	87	85
query43	321	320	278	278
query44	1426	772	777	772
query45	198	184	180	180
query46	1049	1190	745	745
query47	2356	2341	2189	2189
query48	418	398	293	293
query49	635	462	349	349
query50	979	356	258	258
query51	4346	4303	4219	4219
query52	78	79	69	69
query53	248	260	191	191
query54	263	226	190	190
query55	73	68	62	62
query56	220	209	206	206
query57	1430	1393	1288	1288
query58	240	204	205	204
query59	1590	1602	1431	1431
query60	296	257	239	239
query61	178	169	173	169
query62	703	651	587	587
query63	233	197	197	197
query64	2627	808	644	644
query65	4850	4760	4759	4759
query66	1794	452	333	333
query67	29774	29710	29591	29591
query68	3409	1537	1003	1003
query69	419	312	260	260
query70	1055	982	956	956
query71	292	224	204	204
query72	2846	2740	2273	2273
query73	853	811	444	444
query74	5140	4922	4959	4922
query75	2723	2605	2223	2223
query76	2309	1163	824	824
query77	334	370	286	286
query78	12952	12659	11905	11905
query79	1499	1177	764	764
query80	1269	474	389	389
query81	520	279	240	240
query82	644	157	116	116
query83	334	279	254	254
query84	310	147	115	115
query85	944	520	417	417
query86	431	295	306	295
query87	1839	1824	1786	1786
query88	3724	2776	2776	2776
query89	422	380	332	332
query90	1924	186	184	184
query91	174	162	133	133
query92	63	60	57	57
query93	1594	1453	892	892
query94	727	354	302	302
query95	680	466	348	348
query96	1065	768	344	344
query97	2710	2702	2595	2595
query98	213	204	198	198
query99	1166	1141	1005	1005
Total cold run time: 259366 ms
Total hot run time: 173095 ms

@hello-stephen

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

query1	0.01	0.01	0.01
query2	0.09	0.05	0.05
query3	0.26	0.13	0.13
query4	1.61	0.13	0.13
query5	0.24	0.24	0.24
query6	1.23	1.07	1.07
query7	0.04	0.01	0.01
query8	0.06	0.04	0.04
query9	0.41	0.31	0.30
query10	0.56	0.54	0.52
query11	0.19	0.13	0.14
query12	0.19	0.15	0.15
query13	0.47	0.48	0.47
query14	1.00	1.04	1.00
query15	0.63	0.60	0.58
query16	0.31	0.32	0.33
query17	1.09	1.05	1.11
query18	0.23	0.22	0.21
query19	1.99	1.92	2.00
query20	0.02	0.02	0.01
query21	15.43	0.21	0.15
query22	4.85	0.05	0.06
query23	16.21	0.30	0.12
query24	2.97	0.42	0.32
query25	0.12	0.05	0.04
query26	0.72	0.20	0.16
query27	0.05	0.04	0.05
query28	3.51	0.92	0.53
query29	12.58	4.32	3.49
query30	0.27	0.16	0.16
query31	2.76	0.60	0.31
query32	3.24	0.60	0.49
query33	3.23	3.21	3.22
query34	15.60	4.22	3.54
query35	3.55	3.50	3.53
query36	0.60	0.43	0.42
query37	0.10	0.06	0.06
query38	0.05	0.04	0.03
query39	0.04	0.03	0.03
query40	0.19	0.16	0.15
query41	0.08	0.03	0.04
query42	0.04	0.02	0.03
query43	0.04	0.04	0.03
Total cold run time: 96.86 s
Total hot run time: 25.22 s

@hello-stephen

Copy link
Copy Markdown
Contributor

BE UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 54.41% (21359/39253)
Line Coverage 38.02% (204093/536788)
Region Coverage 34.03% (160197/470726)
Branch Coverage 35.05% (70179/200206)

@gavinchou gavinchou changed the title [test](microbench) Add some api of get_or_set (#9803) [test](microbench) Add some api of get_or_set Jun 23, 2026
@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label Jun 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100% (0/0) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 74.14% (28417/38327)
Line Coverage 58.06% (309804/533636)
Region Coverage 54.80% (259143/472861)
Branch Coverage 56.18% (112623/200457)

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/4.0.x dev/4.1.x reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants