forked from yorkie-team/yorkie
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fine-tune CI Workflows in PR #5
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…les in the target path are changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Go Benchmark
Benchmark suite | Current: 17ca7d9 | Previous: ab50d54 | Ratio |
---|---|---|---|
BenchmarkDocument/constructor_test |
1509 ns/op 1337 B/op 24 allocs/op |
1527 ns/op 1337 B/op 24 allocs/op |
0.99 |
BenchmarkDocument/constructor_test - ns/op |
1509 ns/op |
1527 ns/op |
0.99 |
BenchmarkDocument/constructor_test - B/op |
1337 B/op |
1337 B/op |
1 |
BenchmarkDocument/constructor_test - allocs/op |
24 allocs/op |
24 allocs/op |
1 |
BenchmarkDocument/status_test |
957 ns/op 1305 B/op 22 allocs/op |
950.8 ns/op 1305 B/op 22 allocs/op |
1.01 |
BenchmarkDocument/status_test - ns/op |
957 ns/op |
950.8 ns/op |
1.01 |
BenchmarkDocument/status_test - B/op |
1305 B/op |
1305 B/op |
1 |
BenchmarkDocument/status_test - allocs/op |
22 allocs/op |
22 allocs/op |
1 |
BenchmarkDocument/equals_test |
7601 ns/op 7273 B/op 132 allocs/op |
7571 ns/op 7273 B/op 132 allocs/op |
1.00 |
BenchmarkDocument/equals_test - ns/op |
7601 ns/op |
7571 ns/op |
1.00 |
BenchmarkDocument/equals_test - B/op |
7273 B/op |
7273 B/op |
1 |
BenchmarkDocument/equals_test - allocs/op |
132 allocs/op |
132 allocs/op |
1 |
BenchmarkDocument/nested_update_test |
16774 ns/op 12138 B/op 262 allocs/op |
17032 ns/op 12139 B/op 262 allocs/op |
0.98 |
BenchmarkDocument/nested_update_test - ns/op |
16774 ns/op |
17032 ns/op |
0.98 |
BenchmarkDocument/nested_update_test - B/op |
12138 B/op |
12139 B/op |
1.00 |
BenchmarkDocument/nested_update_test - allocs/op |
262 allocs/op |
262 allocs/op |
1 |
BenchmarkDocument/delete_test |
22524 ns/op 15363 B/op 341 allocs/op |
22554 ns/op 15363 B/op 341 allocs/op |
1.00 |
BenchmarkDocument/delete_test - ns/op |
22524 ns/op |
22554 ns/op |
1.00 |
BenchmarkDocument/delete_test - B/op |
15363 B/op |
15363 B/op |
1 |
BenchmarkDocument/delete_test - allocs/op |
341 allocs/op |
341 allocs/op |
1 |
BenchmarkDocument/object_test |
8573 ns/op 6817 B/op 120 allocs/op |
8598 ns/op 6817 B/op 120 allocs/op |
1.00 |
BenchmarkDocument/object_test - ns/op |
8573 ns/op |
8598 ns/op |
1.00 |
BenchmarkDocument/object_test - B/op |
6817 B/op |
6817 B/op |
1 |
BenchmarkDocument/object_test - allocs/op |
120 allocs/op |
120 allocs/op |
1 |
BenchmarkDocument/array_test |
29144 ns/op 11946 B/op 276 allocs/op |
30916 ns/op 11947 B/op 276 allocs/op |
0.94 |
BenchmarkDocument/array_test - ns/op |
29144 ns/op |
30916 ns/op |
0.94 |
BenchmarkDocument/array_test - B/op |
11946 B/op |
11947 B/op |
1.00 |
BenchmarkDocument/array_test - allocs/op |
276 allocs/op |
276 allocs/op |
1 |
BenchmarkDocument/text_test |
35348 ns/op 14715 B/op 469 allocs/op |
32323 ns/op 14715 B/op 469 allocs/op |
1.09 |
BenchmarkDocument/text_test - ns/op |
35348 ns/op |
32323 ns/op |
1.09 |
BenchmarkDocument/text_test - B/op |
14715 B/op |
14715 B/op |
1 |
BenchmarkDocument/text_test - allocs/op |
469 allocs/op |
469 allocs/op |
1 |
BenchmarkDocument/text_composition_test |
28935 ns/op 18422 B/op 484 allocs/op |
29089 ns/op 18422 B/op 484 allocs/op |
0.99 |
BenchmarkDocument/text_composition_test - ns/op |
28935 ns/op |
29089 ns/op |
0.99 |
BenchmarkDocument/text_composition_test - B/op |
18422 B/op |
18422 B/op |
1 |
BenchmarkDocument/text_composition_test - allocs/op |
484 allocs/op |
484 allocs/op |
1 |
BenchmarkDocument/rich_text_test |
80313 ns/op 38476 B/op 1148 allocs/op |
80528 ns/op 38475 B/op 1148 allocs/op |
1.00 |
BenchmarkDocument/rich_text_test - ns/op |
80313 ns/op |
80528 ns/op |
1.00 |
BenchmarkDocument/rich_text_test - B/op |
38476 B/op |
38475 B/op |
1.00 |
BenchmarkDocument/rich_text_test - allocs/op |
1148 allocs/op |
1148 allocs/op |
1 |
BenchmarkDocument/counter_test |
17332 ns/op 10722 B/op 244 allocs/op |
17352 ns/op 10722 B/op 244 allocs/op |
1.00 |
BenchmarkDocument/counter_test - ns/op |
17332 ns/op |
17352 ns/op |
1.00 |
BenchmarkDocument/counter_test - B/op |
10722 B/op |
10722 B/op |
1 |
BenchmarkDocument/counter_test - allocs/op |
244 allocs/op |
244 allocs/op |
1 |
BenchmarkDocument/text_edit_gc_100 |
1275052 ns/op 871038 B/op 16752 allocs/op |
1278541 ns/op 871005 B/op 16752 allocs/op |
1.00 |
BenchmarkDocument/text_edit_gc_100 - ns/op |
1275052 ns/op |
1278541 ns/op |
1.00 |
BenchmarkDocument/text_edit_gc_100 - B/op |
871038 B/op |
871005 B/op |
1.00 |
BenchmarkDocument/text_edit_gc_100 - allocs/op |
16752 allocs/op |
16752 allocs/op |
1 |
BenchmarkDocument/text_edit_gc_1000 |
49181681 ns/op 50535545 B/op 181721 allocs/op |
49681097 ns/op 50535879 B/op 181708 allocs/op |
0.99 |
BenchmarkDocument/text_edit_gc_1000 - ns/op |
49181681 ns/op |
49681097 ns/op |
0.99 |
BenchmarkDocument/text_edit_gc_1000 - B/op |
50535545 B/op |
50535879 B/op |
1.00 |
BenchmarkDocument/text_edit_gc_1000 - allocs/op |
181721 allocs/op |
181708 allocs/op |
1.00 |
BenchmarkDocument/text_split_gc_100 |
1870641 ns/op 1528809 B/op 15604 allocs/op |
1881406 ns/op 1528855 B/op 15604 allocs/op |
0.99 |
BenchmarkDocument/text_split_gc_100 - ns/op |
1870641 ns/op |
1881406 ns/op |
0.99 |
BenchmarkDocument/text_split_gc_100 - B/op |
1528809 B/op |
1528855 B/op |
1.00 |
BenchmarkDocument/text_split_gc_100 - allocs/op |
15604 allocs/op |
15604 allocs/op |
1 |
BenchmarkDocument/text_split_gc_1000 |
111331262 ns/op 135074908 B/op 182199 allocs/op |
114319292 ns/op 135076989 B/op 182204 allocs/op |
0.97 |
BenchmarkDocument/text_split_gc_1000 - ns/op |
111331262 ns/op |
114319292 ns/op |
0.97 |
BenchmarkDocument/text_split_gc_1000 - B/op |
135074908 B/op |
135076989 B/op |
1.00 |
BenchmarkDocument/text_split_gc_1000 - allocs/op |
182199 allocs/op |
182204 allocs/op |
1.00 |
BenchmarkDocument/text_delete_all_10000 |
15347439 ns/op 10184133 B/op 40680 allocs/op |
17238114 ns/op 10182181 B/op 40674 allocs/op |
0.89 |
BenchmarkDocument/text_delete_all_10000 - ns/op |
15347439 ns/op |
17238114 ns/op |
0.89 |
BenchmarkDocument/text_delete_all_10000 - B/op |
10184133 B/op |
10182181 B/op |
1.00 |
BenchmarkDocument/text_delete_all_10000 - allocs/op |
40680 allocs/op |
40674 allocs/op |
1.00 |
BenchmarkDocument/text_delete_all_100000 |
265784609 ns/op 142675616 B/op 411684 allocs/op |
298376502 ns/op 142667204 B/op 411639 allocs/op |
0.89 |
BenchmarkDocument/text_delete_all_100000 - ns/op |
265784609 ns/op |
298376502 ns/op |
0.89 |
BenchmarkDocument/text_delete_all_100000 - B/op |
142675616 B/op |
142667204 B/op |
1.00 |
BenchmarkDocument/text_delete_all_100000 - allocs/op |
411684 allocs/op |
411639 allocs/op |
1.00 |
BenchmarkDocument/text_100 |
226349 ns/op 120037 B/op 5081 allocs/op |
217979 ns/op 120037 B/op 5081 allocs/op |
1.04 |
BenchmarkDocument/text_100 - ns/op |
226349 ns/op |
217979 ns/op |
1.04 |
BenchmarkDocument/text_100 - B/op |
120037 B/op |
120037 B/op |
1 |
BenchmarkDocument/text_100 - allocs/op |
5081 allocs/op |
5081 allocs/op |
1 |
BenchmarkDocument/text_1000 |
2463199 ns/op 1169026 B/op 50085 allocs/op |
2368715 ns/op 1169024 B/op 50085 allocs/op |
1.04 |
BenchmarkDocument/text_1000 - ns/op |
2463199 ns/op |
2368715 ns/op |
1.04 |
BenchmarkDocument/text_1000 - B/op |
1169026 B/op |
1169024 B/op |
1.00 |
BenchmarkDocument/text_1000 - allocs/op |
50085 allocs/op |
50085 allocs/op |
1 |
BenchmarkDocument/array_1000 |
1278546 ns/op 1091256 B/op 11831 allocs/op |
1208449 ns/op 1091352 B/op 11831 allocs/op |
1.06 |
BenchmarkDocument/array_1000 - ns/op |
1278546 ns/op |
1208449 ns/op |
1.06 |
BenchmarkDocument/array_1000 - B/op |
1091256 B/op |
1091352 B/op |
1.00 |
BenchmarkDocument/array_1000 - allocs/op |
11831 allocs/op |
11831 allocs/op |
1 |
BenchmarkDocument/array_10000 |
13171465 ns/op 9799620 B/op 120294 allocs/op |
13179118 ns/op 9799321 B/op 120293 allocs/op |
1.00 |
BenchmarkDocument/array_10000 - ns/op |
13171465 ns/op |
13179118 ns/op |
1.00 |
BenchmarkDocument/array_10000 - B/op |
9799620 B/op |
9799321 B/op |
1.00 |
BenchmarkDocument/array_10000 - allocs/op |
120294 allocs/op |
120293 allocs/op |
1.00 |
BenchmarkDocument/array_gc_100 |
154404 ns/op 132719 B/op 1260 allocs/op |
146091 ns/op 132717 B/op 1260 allocs/op |
1.06 |
BenchmarkDocument/array_gc_100 - ns/op |
154404 ns/op |
146091 ns/op |
1.06 |
BenchmarkDocument/array_gc_100 - B/op |
132719 B/op |
132717 B/op |
1.00 |
BenchmarkDocument/array_gc_100 - allocs/op |
1260 allocs/op |
1260 allocs/op |
1 |
BenchmarkDocument/array_gc_1000 |
1476653 ns/op 1159246 B/op 12877 allocs/op |
1391036 ns/op 1159142 B/op 12876 allocs/op |
1.06 |
BenchmarkDocument/array_gc_1000 - ns/op |
1476653 ns/op |
1391036 ns/op |
1.06 |
BenchmarkDocument/array_gc_1000 - B/op |
1159246 B/op |
1159142 B/op |
1.00 |
BenchmarkDocument/array_gc_1000 - allocs/op |
12877 allocs/op |
12876 allocs/op |
1.00 |
BenchmarkDocument/counter_1000 |
210179 ns/op 193080 B/op 5771 allocs/op |
199345 ns/op 193080 B/op 5771 allocs/op |
1.05 |
BenchmarkDocument/counter_1000 - ns/op |
210179 ns/op |
199345 ns/op |
1.05 |
BenchmarkDocument/counter_1000 - B/op |
193080 B/op |
193080 B/op |
1 |
BenchmarkDocument/counter_1000 - allocs/op |
5771 allocs/op |
5771 allocs/op |
1 |
BenchmarkDocument/counter_10000 |
2223366 ns/op 2088012 B/op 59778 allocs/op |
2175493 ns/op 2087996 B/op 59778 allocs/op |
1.02 |
BenchmarkDocument/counter_10000 - ns/op |
2223366 ns/op |
2175493 ns/op |
1.02 |
BenchmarkDocument/counter_10000 - B/op |
2088012 B/op |
2087996 B/op |
1.00 |
BenchmarkDocument/counter_10000 - allocs/op |
59778 allocs/op |
59778 allocs/op |
1 |
BenchmarkDocument/object_1000 |
1467064 ns/op 1427946 B/op 9848 allocs/op |
1385408 ns/op 1428164 B/op 9849 allocs/op |
1.06 |
BenchmarkDocument/object_1000 - ns/op |
1467064 ns/op |
1385408 ns/op |
1.06 |
BenchmarkDocument/object_1000 - B/op |
1427946 B/op |
1428164 B/op |
1.00 |
BenchmarkDocument/object_1000 - allocs/op |
9848 allocs/op |
9849 allocs/op |
1.00 |
BenchmarkDocument/object_10000 |
15439398 ns/op 12166252 B/op 100563 allocs/op |
15344326 ns/op 12168793 B/op 100571 allocs/op |
1.01 |
BenchmarkDocument/object_10000 - ns/op |
15439398 ns/op |
15344326 ns/op |
1.01 |
BenchmarkDocument/object_10000 - B/op |
12166252 B/op |
12168793 B/op |
1.00 |
BenchmarkDocument/object_10000 - allocs/op |
100563 allocs/op |
100571 allocs/op |
1.00 |
BenchmarkDocument/tree_100 |
1064811 ns/op 943711 B/op 6101 allocs/op |
1013349 ns/op 943701 B/op 6101 allocs/op |
1.05 |
BenchmarkDocument/tree_100 - ns/op |
1064811 ns/op |
1013349 ns/op |
1.05 |
BenchmarkDocument/tree_100 - B/op |
943711 B/op |
943701 B/op |
1.00 |
BenchmarkDocument/tree_100 - allocs/op |
6101 allocs/op |
6101 allocs/op |
1 |
BenchmarkDocument/tree_1000 |
79055942 ns/op 86460379 B/op 60114 allocs/op |
72907549 ns/op 86460284 B/op 60114 allocs/op |
1.08 |
BenchmarkDocument/tree_1000 - ns/op |
79055942 ns/op |
72907549 ns/op |
1.08 |
BenchmarkDocument/tree_1000 - B/op |
86460379 B/op |
86460284 B/op |
1.00 |
BenchmarkDocument/tree_1000 - allocs/op |
60114 allocs/op |
60114 allocs/op |
1 |
BenchmarkDocument/tree_10000 |
9780872290 ns/op 8580650816 B/op 600207 allocs/op |
9471503799 ns/op 8580665696 B/op 600242 allocs/op |
1.03 |
BenchmarkDocument/tree_10000 - ns/op |
9780872290 ns/op |
9471503799 ns/op |
1.03 |
BenchmarkDocument/tree_10000 - B/op |
8580650816 B/op |
8580665696 B/op |
1.00 |
BenchmarkDocument/tree_10000 - allocs/op |
600207 allocs/op |
600242 allocs/op |
1.00 |
BenchmarkDocument/tree_delete_all_1000 |
80203696 ns/op 87509101 B/op 75263 allocs/op |
74335446 ns/op 87509021 B/op 75263 allocs/op |
1.08 |
BenchmarkDocument/tree_delete_all_1000 - ns/op |
80203696 ns/op |
74335446 ns/op |
1.08 |
BenchmarkDocument/tree_delete_all_1000 - B/op |
87509101 B/op |
87509021 B/op |
1.00 |
BenchmarkDocument/tree_delete_all_1000 - allocs/op |
75263 allocs/op |
75263 allocs/op |
1 |
BenchmarkDocument/tree_edit_gc_100 |
4038833 ns/op 4147917 B/op 15141 allocs/op |
3756806 ns/op 4147752 B/op 15141 allocs/op |
1.08 |
BenchmarkDocument/tree_edit_gc_100 - ns/op |
4038833 ns/op |
3756806 ns/op |
1.08 |
BenchmarkDocument/tree_edit_gc_100 - B/op |
4147917 B/op |
4147752 B/op |
1.00 |
BenchmarkDocument/tree_edit_gc_100 - allocs/op |
15141 allocs/op |
15141 allocs/op |
1 |
BenchmarkDocument/tree_edit_gc_1000 |
320455791 ns/op 383745630 B/op 154863 allocs/op |
297754304 ns/op 383742236 B/op 154839 allocs/op |
1.08 |
BenchmarkDocument/tree_edit_gc_1000 - ns/op |
320455791 ns/op |
297754304 ns/op |
1.08 |
BenchmarkDocument/tree_edit_gc_1000 - B/op |
383745630 B/op |
383742236 B/op |
1.00 |
BenchmarkDocument/tree_edit_gc_1000 - allocs/op |
154863 allocs/op |
154839 allocs/op |
1.00 |
BenchmarkDocument/tree_split_gc_100 |
2666287 ns/op 2412577 B/op 11125 allocs/op |
2477043 ns/op 2412425 B/op 11125 allocs/op |
1.08 |
BenchmarkDocument/tree_split_gc_100 - ns/op |
2666287 ns/op |
2477043 ns/op |
1.08 |
BenchmarkDocument/tree_split_gc_100 - B/op |
2412577 B/op |
2412425 B/op |
1.00 |
BenchmarkDocument/tree_split_gc_100 - allocs/op |
11125 allocs/op |
11125 allocs/op |
1 |
BenchmarkDocument/tree_split_gc_1000 |
193810350 ns/op 222253684 B/op 122008 allocs/op |
179853545 ns/op 222250372 B/op 121987 allocs/op |
1.08 |
BenchmarkDocument/tree_split_gc_1000 - ns/op |
193810350 ns/op |
179853545 ns/op |
1.08 |
BenchmarkDocument/tree_split_gc_1000 - B/op |
222253684 B/op |
222250372 B/op |
1.00 |
BenchmarkDocument/tree_split_gc_1000 - allocs/op |
122008 allocs/op |
121987 allocs/op |
1.00 |
BenchmarkRPC/client_to_server |
376394995 ns/op 17504453 B/op 175392 allocs/op |
381431333 ns/op 17235568 B/op 175396 allocs/op |
0.99 |
BenchmarkRPC/client_to_server - ns/op |
376394995 ns/op |
381431333 ns/op |
0.99 |
BenchmarkRPC/client_to_server - B/op |
17504453 B/op |
17235568 B/op |
1.02 |
BenchmarkRPC/client_to_server - allocs/op |
175392 allocs/op |
175396 allocs/op |
1.00 |
BenchmarkRPC/client_to_client_via_server |
630686502 ns/op 33050556 B/op 321068 allocs/op |
636626850 ns/op 31859264 B/op 321044 allocs/op |
0.99 |
BenchmarkRPC/client_to_client_via_server - ns/op |
630686502 ns/op |
636626850 ns/op |
0.99 |
BenchmarkRPC/client_to_client_via_server - B/op |
33050556 B/op |
31859264 B/op |
1.04 |
BenchmarkRPC/client_to_client_via_server - allocs/op |
321068 allocs/op |
321044 allocs/op |
1.00 |
BenchmarkRPC/attach_large_document |
1412915973 ns/op 1895505072 B/op 8833 allocs/op |
1260202007 ns/op 1918267208 B/op 8815 allocs/op |
1.12 |
BenchmarkRPC/attach_large_document - ns/op |
1412915973 ns/op |
1260202007 ns/op |
1.12 |
BenchmarkRPC/attach_large_document - B/op |
1895505072 B/op |
1918267208 B/op |
0.99 |
BenchmarkRPC/attach_large_document - allocs/op |
8833 allocs/op |
8815 allocs/op |
1.00 |
BenchmarkRPC/adminCli_to_server |
553456072 ns/op 35946412 B/op 289532 allocs/op |
549587430 ns/op 35960520 B/op 289565 allocs/op |
1.01 |
BenchmarkRPC/adminCli_to_server - ns/op |
553456072 ns/op |
549587430 ns/op |
1.01 |
BenchmarkRPC/adminCli_to_server - B/op |
35946412 B/op |
35960520 B/op |
1.00 |
BenchmarkRPC/adminCli_to_server - allocs/op |
289532 allocs/op |
289565 allocs/op |
1.00 |
BenchmarkLocker |
63.72 ns/op 16 B/op 1 allocs/op |
64.2 ns/op 16 B/op 1 allocs/op |
0.99 |
BenchmarkLocker - ns/op |
63.72 ns/op |
64.2 ns/op |
0.99 |
BenchmarkLocker - B/op |
16 B/op |
16 B/op |
1 |
BenchmarkLocker - allocs/op |
1 allocs/op |
1 allocs/op |
1 |
BenchmarkLockerParallel |
38.52 ns/op 0 B/op 0 allocs/op |
38.37 ns/op 0 B/op 0 allocs/op |
1.00 |
BenchmarkLockerParallel - ns/op |
38.52 ns/op |
38.37 ns/op |
1.00 |
BenchmarkLockerParallel - B/op |
0 B/op |
0 B/op |
1 |
BenchmarkLockerParallel - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkLockerMoreKeys |
149.6 ns/op 15 B/op 0 allocs/op |
142.2 ns/op 15 B/op 0 allocs/op |
1.05 |
BenchmarkLockerMoreKeys - ns/op |
149.6 ns/op |
142.2 ns/op |
1.05 |
BenchmarkLockerMoreKeys - B/op |
15 B/op |
15 B/op |
1 |
BenchmarkLockerMoreKeys - allocs/op |
0 allocs/op |
0 allocs/op |
1 |
BenchmarkChange/Push_10_Changes |
3900733 ns/op 121527 B/op 1284 allocs/op |
3914889 ns/op 121435 B/op 1284 allocs/op |
1.00 |
BenchmarkChange/Push_10_Changes - ns/op |
3900733 ns/op |
3914889 ns/op |
1.00 |
BenchmarkChange/Push_10_Changes - B/op |
121527 B/op |
121435 B/op |
1.00 |
BenchmarkChange/Push_10_Changes - allocs/op |
1284 allocs/op |
1284 allocs/op |
1 |
BenchmarkChange/Push_100_Changes |
14629698 ns/op 570476 B/op 6654 allocs/op |
14703861 ns/op 571636 B/op 6655 allocs/op |
0.99 |
BenchmarkChange/Push_100_Changes - ns/op |
14629698 ns/op |
14703861 ns/op |
0.99 |
BenchmarkChange/Push_100_Changes - B/op |
570476 B/op |
571636 B/op |
1.00 |
BenchmarkChange/Push_100_Changes - allocs/op |
6654 allocs/op |
6655 allocs/op |
1.00 |
BenchmarkChange/Push_1000_Changes |
117822262 ns/op 5273474 B/op 63148 allocs/op |
117541790 ns/op 5365328 B/op 63148 allocs/op |
1.00 |
BenchmarkChange/Push_1000_Changes - ns/op |
117822262 ns/op |
117541790 ns/op |
1.00 |
BenchmarkChange/Push_1000_Changes - B/op |
5273474 B/op |
5365328 B/op |
0.98 |
BenchmarkChange/Push_1000_Changes - allocs/op |
63148 allocs/op |
63148 allocs/op |
1 |
BenchmarkChange/Pull_10_Changes |
2907020 ns/op 101002 B/op 1004 allocs/op |
2922736 ns/op 100649 B/op 1005 allocs/op |
0.99 |
BenchmarkChange/Pull_10_Changes - ns/op |
2907020 ns/op |
2922736 ns/op |
0.99 |
BenchmarkChange/Pull_10_Changes - B/op |
101002 B/op |
100649 B/op |
1.00 |
BenchmarkChange/Pull_10_Changes - allocs/op |
1004 allocs/op |
1005 allocs/op |
1.00 |
BenchmarkChange/Pull_100_Changes |
4336687 ns/op 267088 B/op 3475 allocs/op |
4369802 ns/op 265492 B/op 3475 allocs/op |
0.99 |
BenchmarkChange/Pull_100_Changes - ns/op |
4336687 ns/op |
4369802 ns/op |
0.99 |
BenchmarkChange/Pull_100_Changes - B/op |
267088 B/op |
265492 B/op |
1.01 |
BenchmarkChange/Pull_100_Changes - allocs/op |
3475 allocs/op |
3475 allocs/op |
1 |
BenchmarkChange/Pull_1000_Changes |
8559463 ns/op 1494037 B/op 29861 allocs/op |
8728657 ns/op 1489312 B/op 29856 allocs/op |
0.98 |
BenchmarkChange/Pull_1000_Changes - ns/op |
8559463 ns/op |
8728657 ns/op |
0.98 |
BenchmarkChange/Pull_1000_Changes - B/op |
1494037 B/op |
1489312 B/op |
1.00 |
BenchmarkChange/Pull_1000_Changes - allocs/op |
29861 allocs/op |
29856 allocs/op |
1.00 |
BenchmarkSnapshot/Push_3KB_snapshot |
17022919 ns/op 711688 B/op 6655 allocs/op |
17103728 ns/op 716206 B/op 6656 allocs/op |
1.00 |
BenchmarkSnapshot/Push_3KB_snapshot - ns/op |
17022919 ns/op |
17103728 ns/op |
1.00 |
BenchmarkSnapshot/Push_3KB_snapshot - B/op |
711688 B/op |
716206 B/op |
0.99 |
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op |
6655 allocs/op |
6656 allocs/op |
1.00 |
BenchmarkSnapshot/Push_30KB_snapshot |
120977118 ns/op 5615547 B/op 63148 allocs/op |
120788832 ns/op 5580328 B/op 63149 allocs/op |
1.00 |
BenchmarkSnapshot/Push_30KB_snapshot - ns/op |
120977118 ns/op |
120788832 ns/op |
1.00 |
BenchmarkSnapshot/Push_30KB_snapshot - B/op |
5615547 B/op |
5580328 B/op |
1.01 |
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op |
63148 allocs/op |
63149 allocs/op |
1.00 |
BenchmarkSnapshot/Pull_3KB_snapshot |
6409067 ns/op 924155 B/op 15513 allocs/op |
6475555 ns/op 921734 B/op 15513 allocs/op |
0.99 |
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op |
6409067 ns/op |
6475555 ns/op |
0.99 |
BenchmarkSnapshot/Pull_3KB_snapshot - B/op |
924155 B/op |
921734 B/op |
1.00 |
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op |
15513 allocs/op |
15513 allocs/op |
1 |
BenchmarkSnapshot/Pull_30KB_snapshot |
15311368 ns/op 7161235 B/op 150106 allocs/op |
15031840 ns/op 7154131 B/op 150105 allocs/op |
1.02 |
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op |
15311368 ns/op |
15031840 ns/op |
1.02 |
BenchmarkSnapshot/Pull_30KB_snapshot - B/op |
7161235 B/op |
7154131 B/op |
1.00 |
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op |
150106 allocs/op |
150105 allocs/op |
1.00 |
BenchmarkSync/memory_sync_10_test |
6856 ns/op 1286 B/op 38 allocs/op |
6720 ns/op 1286 B/op 38 allocs/op |
1.02 |
BenchmarkSync/memory_sync_10_test - ns/op |
6856 ns/op |
6720 ns/op |
1.02 |
BenchmarkSync/memory_sync_10_test - B/op |
1286 B/op |
1286 B/op |
1 |
BenchmarkSync/memory_sync_10_test - allocs/op |
38 allocs/op |
38 allocs/op |
1 |
BenchmarkSync/memory_sync_100_test |
51018 ns/op 8639 B/op 273 allocs/op |
50408 ns/op 8645 B/op 273 allocs/op |
1.01 |
BenchmarkSync/memory_sync_100_test - ns/op |
51018 ns/op |
50408 ns/op |
1.01 |
BenchmarkSync/memory_sync_100_test - B/op |
8639 B/op |
8645 B/op |
1.00 |
BenchmarkSync/memory_sync_100_test - allocs/op |
273 allocs/op |
273 allocs/op |
1 |
BenchmarkSync/memory_sync_1000_test |
583553 ns/op 74175 B/op 2109 allocs/op |
579985 ns/op 74462 B/op 2127 allocs/op |
1.01 |
BenchmarkSync/memory_sync_1000_test - ns/op |
583553 ns/op |
579985 ns/op |
1.01 |
BenchmarkSync/memory_sync_1000_test - B/op |
74175 B/op |
74462 B/op |
1.00 |
BenchmarkSync/memory_sync_1000_test - allocs/op |
2109 allocs/op |
2127 allocs/op |
0.99 |
BenchmarkSync/memory_sync_10000_test |
7269614 ns/op 731967 B/op 20234 allocs/op |
7161165 ns/op 737629 B/op 20304 allocs/op |
1.02 |
BenchmarkSync/memory_sync_10000_test - ns/op |
7269614 ns/op |
7161165 ns/op |
1.02 |
BenchmarkSync/memory_sync_10000_test - B/op |
731967 B/op |
737629 B/op |
0.99 |
BenchmarkSync/memory_sync_10000_test - allocs/op |
20234 allocs/op |
20304 allocs/op |
1.00 |
BenchmarkTextEditing |
5312513783 ns/op 3901892576 B/op 18743140 allocs/op |
5055946510 ns/op 3901904576 B/op 18743151 allocs/op |
1.05 |
BenchmarkTextEditing - ns/op |
5312513783 ns/op |
5055946510 ns/op |
1.05 |
BenchmarkTextEditing - B/op |
3901892576 B/op |
3901904576 B/op |
1.00 |
BenchmarkTextEditing - allocs/op |
18743140 allocs/op |
18743151 allocs/op |
1.00 |
BenchmarkTree/10000_vertices_to_protobuf |
3390571 ns/op 6262944 B/op 70025 allocs/op |
3455061 ns/op 6262996 B/op 70025 allocs/op |
0.98 |
BenchmarkTree/10000_vertices_to_protobuf - ns/op |
3390571 ns/op |
3455061 ns/op |
0.98 |
BenchmarkTree/10000_vertices_to_protobuf - B/op |
6262944 B/op |
6262996 B/op |
1.00 |
BenchmarkTree/10000_vertices_to_protobuf - allocs/op |
70025 allocs/op |
70025 allocs/op |
1 |
BenchmarkTree/10000_vertices_from_protobuf |
151366995 ns/op 442172636 B/op 290039 allocs/op |
157943371 ns/op 442172558 B/op 290038 allocs/op |
0.96 |
BenchmarkTree/10000_vertices_from_protobuf - ns/op |
151366995 ns/op |
157943371 ns/op |
0.96 |
BenchmarkTree/10000_vertices_from_protobuf - B/op |
442172636 B/op |
442172558 B/op |
1.00 |
BenchmarkTree/10000_vertices_from_protobuf - allocs/op |
290039 allocs/op |
290038 allocs/op |
1.00 |
BenchmarkTree/20000_vertices_to_protobuf |
7438119 ns/op 12716925 B/op 140028 allocs/op |
7578722 ns/op 12716977 B/op 140028 allocs/op |
0.98 |
BenchmarkTree/20000_vertices_to_protobuf - ns/op |
7438119 ns/op |
7578722 ns/op |
0.98 |
BenchmarkTree/20000_vertices_to_protobuf - B/op |
12716925 B/op |
12716977 B/op |
1.00 |
BenchmarkTree/20000_vertices_to_protobuf - allocs/op |
140028 allocs/op |
140028 allocs/op |
1 |
BenchmarkTree/20000_vertices_from_protobuf |
689860366 ns/op 1697268320 B/op 580088 allocs/op |
693734290 ns/op 1697263848 B/op 580043 allocs/op |
0.99 |
BenchmarkTree/20000_vertices_from_protobuf - ns/op |
689860366 ns/op |
693734290 ns/op |
0.99 |
BenchmarkTree/20000_vertices_from_protobuf - B/op |
1697268320 B/op |
1697263848 B/op |
1.00 |
BenchmarkTree/20000_vertices_from_protobuf - allocs/op |
580088 allocs/op |
580043 allocs/op |
1.00 |
BenchmarkTree/30000_vertices_to_protobuf |
12244445 ns/op 19318327 B/op 210030 allocs/op |
12372091 ns/op 19318495 B/op 210030 allocs/op |
0.99 |
BenchmarkTree/30000_vertices_to_protobuf - ns/op |
12244445 ns/op |
12372091 ns/op |
0.99 |
BenchmarkTree/30000_vertices_to_protobuf - B/op |
19318327 B/op |
19318495 B/op |
1.00 |
BenchmarkTree/30000_vertices_to_protobuf - allocs/op |
210030 allocs/op |
210030 allocs/op |
1 |
BenchmarkTree/30000_vertices_from_protobuf |
1624012439 ns/op 3752036744 B/op 870052 allocs/op |
1664374274 ns/op 3752036296 B/op 870049 allocs/op |
0.98 |
BenchmarkTree/30000_vertices_from_protobuf - ns/op |
1624012439 ns/op |
1664374274 ns/op |
0.98 |
BenchmarkTree/30000_vertices_from_protobuf - B/op |
3752036744 B/op |
3752036296 B/op |
1.00 |
BenchmarkTree/30000_vertices_from_protobuf - allocs/op |
870052 allocs/op |
870049 allocs/op |
1.00 |
This comment was automatically generated by workflow using github-action-benchmark.
binary-ho
changed the title
Add a CI target check job and modify the jobs to run only when the fi…
Fine-tune CI Workflows in PR
Aug 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. What this PR does / why we need it:
The execution time of the jobs included in the CI was too long. We had to wait longer to receive results due to unnecessary tests.
To prevent unnecessary CI tests from running, each CI test now only runs when there are changes related to the corresponding code.
Target packages:
2. Which issue(s) this PR fixes
3. Special notes for your reviewer
Please check the target packages for each CI job.
Although I tried to classify them on my own, there are a few parts that feel ambiguous.
3.1 Build test target
There’s no specific target in the CI yml file, but I added
yorkie/design/**
to paths-ignore.If there was a particular reason for not including the design package in the related issue yorkie-team#873, please let me know!
As a result, changes to the following targets will be ignored. (No CI tests will run)
If there are any other targets that should be added, please let me know.
Additionally, a job has been added to check the packages affected by changes.
And each job checks the flag values as follows and executes the job if the value is true.
3.2 Bench test target
By default, all packages under
yorkie/pkg
are included. I marked these withO
in the diagram below.The parts that felt ambiguous are marked with
?
in the diagram, and I’ve left additional questions.3.2.1 (Question) Packages that need confirmation
Should the following packages be included or excluded in the benchmark targets?
yorkie/client
package → Since it mainly serves as a layer for making calls likeyorkie/api
, I want to exclude it. (I have excluded it for now.)yorkie/server/packs
package → This package defines functions for pushing or pulling changes. I believe onlyserver/packs
within the server package should be included in the bench target. Is this correct? (I have included it for now.)3.2.2 Packages excluded from the bench test target
yorkie/api
→ Excluded from the bench target since it only makes API callsyorkie/cmd
,yorkie/internal
,yorkie/design
→ Excluded from the bench targetyorkie/server
(excluding theyorkie/server/packs
package)3.3 Shard test target
yorkie/server/backend/database
3.4 Test Result
I tested to ensure everything works correctly.
3.4.1 Build test
Only the build will be executed when packages unrelated to CRDT and shard-test are modified.
→ Github Action Result: https://github.com/yorkie-team/yorkie/actions/runs/10387699150
3.4.2 Bench test
After modifying the packs.go file, both the build test and benchmark were executed out of the three jobs.
(The build failure was due to adding a
TODO
comment for testing purposes)→ Github Action Result: https://github.com/yorkie-team/yorkie/actions/runs/10387811024
3.4.3 Sharding-test
After modifying the server/backend/database/memory/database.go file, the sharding test was additionally executed.
(The build failure was due to adding a
TODO
comment for testing purposes)→ Github Action Result: https://github.com/yorkie-team/yorkie/actions/runs/10387851119