-
-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise server code and remove gRPC-related flags
- Loading branch information
1 parent
c93f27f
commit b3bec3d
Showing
7 changed files
with
43 additions
and
149 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
b3bec3d
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
BenchmarkDocument/constructor_test - ns/op
1347
ns/op1373
ns/op0.98
BenchmarkDocument/constructor_test - B/op
1208
B/op1208
B/op1
BenchmarkDocument/constructor_test - allocs/op
20
allocs/op20
allocs/op1
BenchmarkDocument/status_test - ns/op
784.3
ns/op796.5
ns/op0.98
BenchmarkDocument/status_test - B/op
1176
B/op1176
B/op1
BenchmarkDocument/status_test - allocs/op
18
allocs/op18
allocs/op1
BenchmarkDocument/equals_test - ns/op
7165
ns/op8302
ns/op0.86
BenchmarkDocument/equals_test - B/op
6913
B/op6913
B/op1
BenchmarkDocument/equals_test - allocs/op
120
allocs/op120
allocs/op1
BenchmarkDocument/nested_update_test - ns/op
16210
ns/op16598
ns/op0.98
BenchmarkDocument/nested_update_test - B/op
11963
B/op11962
B/op1.00
BenchmarkDocument/nested_update_test - allocs/op
254
allocs/op254
allocs/op1
BenchmarkDocument/delete_test - ns/op
23490
ns/op22626
ns/op1.04
BenchmarkDocument/delete_test - B/op
15187
B/op15188
B/op1.00
BenchmarkDocument/delete_test - allocs/op
333
allocs/op333
allocs/op1
BenchmarkDocument/object_test - ns/op
8476
ns/op8699
ns/op0.97
BenchmarkDocument/object_test - B/op
6721
B/op6721
B/op1
BenchmarkDocument/object_test - allocs/op
116
allocs/op116
allocs/op1
BenchmarkDocument/array_test - ns/op
29090
ns/op29401
ns/op0.99
BenchmarkDocument/array_test - B/op
11819
B/op11819
B/op1
BenchmarkDocument/array_test - allocs/op
270
allocs/op270
allocs/op1
BenchmarkDocument/text_test - ns/op
30575
ns/op31226
ns/op0.98
BenchmarkDocument/text_test - B/op
14796
B/op14795
B/op1.00
BenchmarkDocument/text_test - allocs/op
468
allocs/op468
allocs/op1
BenchmarkDocument/text_composition_test - ns/op
29095
ns/op29299
ns/op0.99
BenchmarkDocument/text_composition_test - B/op
18276
B/op18278
B/op1.00
BenchmarkDocument/text_composition_test - allocs/op
477
allocs/op477
allocs/op1
BenchmarkDocument/rich_text_test - ns/op
80748
ns/op82820
ns/op0.97
BenchmarkDocument/rich_text_test - B/op
38541
B/op38540
B/op1.00
BenchmarkDocument/rich_text_test - allocs/op
1147
allocs/op1147
allocs/op1
BenchmarkDocument/counter_test - ns/op
16839
ns/op17386
ns/op0.97
BenchmarkDocument/counter_test - B/op
10210
B/op10210
B/op1
BenchmarkDocument/counter_test - allocs/op
236
allocs/op236
allocs/op1
BenchmarkDocument/text_edit_gc_100 - ns/op
2921706
ns/op2970186
ns/op0.98
BenchmarkDocument/text_edit_gc_100 - B/op
1655004
B/op1655326
B/op1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op
17091
allocs/op17093
allocs/op1.00
BenchmarkDocument/text_edit_gc_1000 - ns/op
236175567
ns/op231735416
ns/op1.02
BenchmarkDocument/text_edit_gc_1000 - B/op
144355707
B/op144366033
B/op1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op
200958
allocs/op201007
allocs/op1.00
BenchmarkDocument/text_split_gc_100 - ns/op
3386974
ns/op3385194
ns/op1.00
BenchmarkDocument/text_split_gc_100 - B/op
2313530
B/op2313331
B/op1.00
BenchmarkDocument/text_split_gc_100 - allocs/op
16194
allocs/op16194
allocs/op1
BenchmarkDocument/text_split_gc_1000 - ns/op
297684579
ns/op296761342
ns/op1.00
BenchmarkDocument/text_split_gc_1000 - B/op
228896792
B/op228881832
B/op1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op
203961
allocs/op203904
allocs/op1.00
BenchmarkDocument/text_delete_all_10000 - ns/op
11750523
ns/op11146892
ns/op1.05
BenchmarkDocument/text_delete_all_10000 - B/op
5809842
B/op5810543
B/op1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op
40672
allocs/op40675
allocs/op1.00
BenchmarkDocument/text_delete_all_100000 - ns/op
192657954
ns/op187188955
ns/op1.03
BenchmarkDocument/text_delete_all_100000 - B/op
81902617
B/op81887592
B/op1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op
411629
allocs/op411550
allocs/op1.00
BenchmarkDocument/text_100 - ns/op
228993
ns/op232235
ns/op0.99
BenchmarkDocument/text_100 - B/op
118482
B/op118483
B/op1.00
BenchmarkDocument/text_100 - allocs/op
5080
allocs/op5080
allocs/op1
BenchmarkDocument/text_1000 - ns/op
2437065
ns/op2502773
ns/op0.97
BenchmarkDocument/text_1000 - B/op
1153070
B/op1153073
B/op1.00
BenchmarkDocument/text_1000 - allocs/op
50084
allocs/op50084
allocs/op1
BenchmarkDocument/array_1000 - ns/op
1245157
ns/op1267389
ns/op0.98
BenchmarkDocument/array_1000 - B/op
1091185
B/op1091268
B/op1.00
BenchmarkDocument/array_1000 - allocs/op
11825
allocs/op11826
allocs/op1.00
BenchmarkDocument/array_10000 - ns/op
13235254
ns/op13549731
ns/op0.98
BenchmarkDocument/array_10000 - B/op
9799994
B/op9800047
B/op1.00
BenchmarkDocument/array_10000 - allocs/op
120292
allocs/op120291
allocs/op1.00
BenchmarkDocument/array_gc_100 - ns/op
153064
ns/op153664
ns/op1.00
BenchmarkDocument/array_gc_100 - B/op
132485
B/op132498
B/op1.00
BenchmarkDocument/array_gc_100 - allocs/op
1248
allocs/op1248
allocs/op1
BenchmarkDocument/array_gc_1000 - ns/op
1419083
ns/op1451255
ns/op0.98
BenchmarkDocument/array_gc_1000 - B/op
1158870
B/op1158965
B/op1.00
BenchmarkDocument/array_gc_1000 - allocs/op
12864
allocs/op12865
allocs/op1.00
BenchmarkDocument/counter_1000 - ns/op
212872
ns/op215664
ns/op0.99
BenchmarkDocument/counter_1000 - B/op
192852
B/op192852
B/op1
BenchmarkDocument/counter_1000 - allocs/op
5765
allocs/op5765
allocs/op1
BenchmarkDocument/counter_10000 - ns/op
2212818
ns/op2222359
ns/op1.00
BenchmarkDocument/counter_10000 - B/op
2087782
B/op2087783
B/op1.00
BenchmarkDocument/counter_10000 - allocs/op
59772
allocs/op59772
allocs/op1
BenchmarkDocument/object_1000 - ns/op
1425433
ns/op1433455
ns/op0.99
BenchmarkDocument/object_1000 - B/op
1427820
B/op1427946
B/op1.00
BenchmarkDocument/object_1000 - allocs/op
9844
allocs/op9845
allocs/op1.00
BenchmarkDocument/object_10000 - ns/op
15025673
ns/op14878581
ns/op1.01
BenchmarkDocument/object_10000 - B/op
12166632
B/op12167003
B/op1.00
BenchmarkDocument/object_10000 - allocs/op
100559
allocs/op100561
allocs/op1.00
BenchmarkDocument/tree_100 - ns/op
1079193
ns/op722947
ns/op1.49
BenchmarkDocument/tree_100 - B/op
943679
B/op442891
B/op2.13
BenchmarkDocument/tree_100 - allocs/op
6099
allocs/op4506
allocs/op1.35
BenchmarkDocument/tree_1000 - ns/op
78283607
ns/op48715965
ns/op1.61
BenchmarkDocument/tree_1000 - B/op
86460500
B/op35222566
B/op2.45
BenchmarkDocument/tree_1000 - allocs/op
60113
allocs/op44119
allocs/op1.36
BenchmarkDocument/tree_10000 - ns/op
9803510453
ns/op6243742972
ns/op1.57
BenchmarkDocument/tree_10000 - B/op
8580969736
B/op3439193776
B/op2.50
BenchmarkDocument/tree_10000 - allocs/op
600204
allocs/op440204
allocs/op1.36
BenchmarkDocument/tree_delete_all_1000 - ns/op
79919115
ns/op50492483
ns/op1.58
BenchmarkDocument/tree_delete_all_1000 - B/op
86990437
B/op35687345
B/op2.44
BenchmarkDocument/tree_delete_all_1000 - allocs/op
67752
allocs/op51744
allocs/op1.31
BenchmarkDocument/tree_edit_gc_100 - ns/op
3855096
ns/op2674319
ns/op1.44
BenchmarkDocument/tree_edit_gc_100 - B/op
4120989
B/op2099522
B/op1.96
BenchmarkDocument/tree_edit_gc_100 - allocs/op
14356
allocs/op11165
allocs/op1.29
BenchmarkDocument/tree_edit_gc_1000 - ns/op
327620521
ns/op200656697
ns/op1.63
BenchmarkDocument/tree_edit_gc_1000 - B/op
383468834
B/op180293307
B/op2.13
BenchmarkDocument/tree_edit_gc_1000 - allocs/op
145425
allocs/op113350
allocs/op1.28
BenchmarkDocument/tree_split_gc_100 - ns/op
2663794
ns/op1969140
ns/op1.35
BenchmarkDocument/tree_split_gc_100 - B/op
2386852
B/op1363475
B/op1.75
BenchmarkDocument/tree_split_gc_100 - allocs/op
10341
allocs/op8735
allocs/op1.18
BenchmarkDocument/tree_split_gc_1000 - ns/op
195475330
ns/op133034523
ns/op1.47
BenchmarkDocument/tree_split_gc_1000 - B/op
221990714
B/op120284053
B/op1.85
BenchmarkDocument/tree_split_gc_1000 - allocs/op
112254
allocs/op96193
allocs/op1.17
BenchmarkRPC/client_to_server - ns/op
365730827
ns/op356375965
ns/op1.03
BenchmarkRPC/client_to_server - B/op
16392277
B/op16323573
B/op1.00
BenchmarkRPC/client_to_server - allocs/op
166911
allocs/op165420
allocs/op1.01
BenchmarkRPC/client_to_client_via_server - ns/op
619327906
ns/op607723810
ns/op1.02
BenchmarkRPC/client_to_client_via_server - B/op
33212956
B/op34041892
B/op0.98
BenchmarkRPC/client_to_client_via_server - allocs/op
312116
allocs/op309871
allocs/op1.01
BenchmarkRPC/attach_large_document - ns/op
1178312668
ns/op1463602622
ns/op0.81
BenchmarkRPC/attach_large_document - B/op
1878726200
B/op1878647264
B/op1.00
BenchmarkRPC/attach_large_document - allocs/op
7545
allocs/op7043
allocs/op1.07
BenchmarkRPC/adminCli_to_server - ns/op
550865726
ns/op541741676
ns/op1.02
BenchmarkRPC/adminCli_to_server - B/op
36815336
B/op36380716
B/op1.01
BenchmarkRPC/adminCli_to_server - allocs/op
290166
allocs/op284616
allocs/op1.02
BenchmarkLocker - ns/op
64.8
ns/op65.29
ns/op0.99
BenchmarkLocker - B/op
16
B/op16
B/op1
BenchmarkLocker - allocs/op
1
allocs/op1
allocs/op1
BenchmarkLockerParallel - ns/op
38.98
ns/op38.64
ns/op1.01
BenchmarkLockerParallel - B/op
0
B/op0
B/opNaN
BenchmarkLockerParallel - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkLockerMoreKeys - ns/op
145.5
ns/op138.5
ns/op1.05
BenchmarkLockerMoreKeys - B/op
15
B/op15
B/op1
BenchmarkLockerMoreKeys - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkChange/Push_10_Changes - ns/op
3835458
ns/op3779429
ns/op1.01
BenchmarkChange/Push_10_Changes - B/op
125674
B/op126275
B/op1.00
BenchmarkChange/Push_10_Changes - allocs/op
1254
allocs/op1254
allocs/op1
BenchmarkChange/Push_100_Changes - ns/op
14289532
ns/op14129092
ns/op1.01
BenchmarkChange/Push_100_Changes - B/op
649234
B/op646942
B/op1.00
BenchmarkChange/Push_100_Changes - allocs/op
6538
allocs/op6540
allocs/op1.00
BenchmarkChange/Push_1000_Changes - ns/op
115792914
ns/op113213707
ns/op1.02
BenchmarkChange/Push_1000_Changes - B/op
6053491
B/op6011043
B/op1.01
BenchmarkChange/Push_1000_Changes - allocs/op
62157
allocs/op62155
allocs/op1.00
BenchmarkChange/Pull_10_Changes - ns/op
2886505
ns/op2837624
ns/op1.02
BenchmarkChange/Pull_10_Changes - B/op
100355
B/op100327
B/op1.00
BenchmarkChange/Pull_10_Changes - allocs/op
952
allocs/op951
allocs/op1.00
BenchmarkChange/Pull_100_Changes - ns/op
4364190
ns/op4303014
ns/op1.01
BenchmarkChange/Pull_100_Changes - B/op
257255
B/op257269
B/op1.00
BenchmarkChange/Pull_100_Changes - allocs/op
3154
allocs/op3154
allocs/op1
BenchmarkChange/Pull_1000_Changes - ns/op
8548841
ns/op8473189
ns/op1.01
BenchmarkChange/Pull_1000_Changes - B/op
1393551
B/op1393414
B/op1.00
BenchmarkChange/Pull_1000_Changes - allocs/op
26870
allocs/op26869
allocs/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - ns/op
17403929
ns/op16717315
ns/op1.04
BenchmarkSnapshot/Push_3KB_snapshot - B/op
799994
B/op807884
B/op0.99
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op
6543
allocs/op6541
allocs/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - ns/op
119487759
ns/op117501595
ns/op1.02
BenchmarkSnapshot/Push_30KB_snapshot - B/op
6177537
B/op6250940
B/op0.99
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op
62158
allocs/op62161
allocs/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op
6533311
ns/op6521588
ns/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - B/op
903921
B/op904310
B/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op
14876
allocs/op14878
allocs/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op
14744045
ns/op15228711
ns/op0.97
BenchmarkSnapshot/Pull_30KB_snapshot - B/op
6976180
B/op6983077
B/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op
144139
allocs/op144141
allocs/op1.00
BenchmarkSync/memory_sync_10_test - ns/op
6910
ns/op6917
ns/op1.00
BenchmarkSync/memory_sync_10_test - B/op
1286
B/op1286
B/op1
BenchmarkSync/memory_sync_10_test - allocs/op
38
allocs/op38
allocs/op1
BenchmarkSync/memory_sync_100_test - ns/op
52513
ns/op51493
ns/op1.02
BenchmarkSync/memory_sync_100_test - B/op
8652
B/op8650
B/op1.00
BenchmarkSync/memory_sync_100_test - allocs/op
273
allocs/op273
allocs/op1
BenchmarkSync/memory_sync_1000_test - ns/op
606756
ns/op598451
ns/op1.01
BenchmarkSync/memory_sync_1000_test - B/op
74380
B/op74330
B/op1.00
BenchmarkSync/memory_sync_1000_test - allocs/op
2109
allocs/op2108
allocs/op1.00
BenchmarkSync/memory_sync_10000_test - ns/op
7590003
ns/op7141413
ns/op1.06
BenchmarkSync/memory_sync_10000_test - B/op
769583
B/op761330
B/op1.01
BenchmarkSync/memory_sync_10000_test - allocs/op
20705
allocs/op20560
allocs/op1.01
BenchmarkTextEditing - ns/op
19385936586
ns/op19117165431
ns/op1.01
BenchmarkTextEditing - B/op
9038436768
B/op9037584392
B/op1.00
BenchmarkTextEditing - allocs/op
19922544
allocs/op19921383
allocs/op1.00
This comment was automatically generated by workflow using github-action-benchmark.