-
-
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.
- Loading branch information
Showing
25 changed files
with
74 additions
and
42 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
cff9804
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
1308
ns/op1373
ns/op0.95
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
799.8
ns/op796.5
ns/op1.00
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
7112
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
16002
ns/op16598
ns/op0.96
BenchmarkDocument/nested_update_test - B/op
11962
B/op11962
B/op1
BenchmarkDocument/nested_update_test - allocs/op
254
allocs/op254
allocs/op1
BenchmarkDocument/delete_test - ns/op
25354
ns/op22626
ns/op1.12
BenchmarkDocument/delete_test - B/op
15188
B/op15188
B/op1
BenchmarkDocument/delete_test - allocs/op
333
allocs/op333
allocs/op1
BenchmarkDocument/object_test - ns/op
8413
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
28341
ns/op29401
ns/op0.96
BenchmarkDocument/array_test - B/op
11818
B/op11819
B/op1.00
BenchmarkDocument/array_test - allocs/op
270
allocs/op270
allocs/op1
BenchmarkDocument/text_test - ns/op
30368
ns/op31226
ns/op0.97
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
28925
ns/op29299
ns/op0.99
BenchmarkDocument/text_composition_test - B/op
18278
B/op18278
B/op1
BenchmarkDocument/text_composition_test - allocs/op
477
allocs/op477
allocs/op1
BenchmarkDocument/rich_text_test - ns/op
79927
ns/op82820
ns/op0.97
BenchmarkDocument/rich_text_test - B/op
38540
B/op38540
B/op1
BenchmarkDocument/rich_text_test - allocs/op
1147
allocs/op1147
allocs/op1
BenchmarkDocument/counter_test - ns/op
16731
ns/op17386
ns/op0.96
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
2882521
ns/op2970186
ns/op0.97
BenchmarkDocument/text_edit_gc_100 - B/op
1655158
B/op1655326
B/op1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op
17092
allocs/op17093
allocs/op1.00
BenchmarkDocument/text_edit_gc_1000 - ns/op
227721652
ns/op231735416
ns/op0.98
BenchmarkDocument/text_edit_gc_1000 - B/op
144363092
B/op144366033
B/op1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op
200991
allocs/op201007
allocs/op1.00
BenchmarkDocument/text_split_gc_100 - ns/op
3384610
ns/op3385194
ns/op1.00
BenchmarkDocument/text_split_gc_100 - B/op
2313516
B/op2313331
B/op1.00
BenchmarkDocument/text_split_gc_100 - allocs/op
16194
allocs/op16194
allocs/op1
BenchmarkDocument/text_split_gc_1000 - ns/op
286402912
ns/op296761342
ns/op0.97
BenchmarkDocument/text_split_gc_1000 - B/op
228900760
B/op228881832
B/op1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op
204004
allocs/op203904
allocs/op1.00
BenchmarkDocument/text_delete_all_10000 - ns/op
10671335
ns/op11146892
ns/op0.96
BenchmarkDocument/text_delete_all_10000 - B/op
5810187
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
184843593
ns/op187188955
ns/op0.99
BenchmarkDocument/text_delete_all_100000 - B/op
81888866
B/op81887592
B/op1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op
411563
allocs/op411550
allocs/op1.00
BenchmarkDocument/text_100 - ns/op
233985
ns/op232235
ns/op1.01
BenchmarkDocument/text_100 - B/op
118483
B/op118483
B/op1
BenchmarkDocument/text_100 - allocs/op
5080
allocs/op5080
allocs/op1
BenchmarkDocument/text_1000 - ns/op
2572741
ns/op2502773
ns/op1.03
BenchmarkDocument/text_1000 - B/op
1153072
B/op1153073
B/op1.00
BenchmarkDocument/text_1000 - allocs/op
50084
allocs/op50084
allocs/op1
BenchmarkDocument/array_1000 - ns/op
1238488
ns/op1267389
ns/op0.98
BenchmarkDocument/array_1000 - B/op
1091210
B/op1091268
B/op1.00
BenchmarkDocument/array_1000 - allocs/op
11825
allocs/op11826
allocs/op1.00
BenchmarkDocument/array_10000 - ns/op
12799541
ns/op13549731
ns/op0.94
BenchmarkDocument/array_10000 - B/op
9799455
B/op9800047
B/op1.00
BenchmarkDocument/array_10000 - allocs/op
120289
allocs/op120291
allocs/op1.00
BenchmarkDocument/array_gc_100 - ns/op
154101
ns/op153664
ns/op1.00
BenchmarkDocument/array_gc_100 - B/op
132489
B/op132498
B/op1.00
BenchmarkDocument/array_gc_100 - allocs/op
1248
allocs/op1248
allocs/op1
BenchmarkDocument/array_gc_1000 - ns/op
1413817
ns/op1451255
ns/op0.97
BenchmarkDocument/array_gc_1000 - B/op
1158836
B/op1158965
B/op1.00
BenchmarkDocument/array_gc_1000 - allocs/op
12864
allocs/op12865
allocs/op1.00
BenchmarkDocument/counter_1000 - ns/op
213486
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
2233043
ns/op2222359
ns/op1.00
BenchmarkDocument/counter_10000 - B/op
2087783
B/op2087783
B/op1
BenchmarkDocument/counter_10000 - allocs/op
59772
allocs/op59772
allocs/op1
BenchmarkDocument/object_1000 - ns/op
1410574
ns/op1433455
ns/op0.98
BenchmarkDocument/object_1000 - B/op
1427984
B/op1427946
B/op1.00
BenchmarkDocument/object_1000 - allocs/op
9845
allocs/op9845
allocs/op1
BenchmarkDocument/object_10000 - ns/op
14626068
ns/op14878581
ns/op0.98
BenchmarkDocument/object_10000 - B/op
12166883
B/op12167003
B/op1.00
BenchmarkDocument/object_10000 - allocs/op
100561
allocs/op100561
allocs/op1
BenchmarkDocument/tree_100 - ns/op
721404
ns/op722947
ns/op1.00
BenchmarkDocument/tree_100 - B/op
442885
B/op442891
B/op1.00
BenchmarkDocument/tree_100 - allocs/op
4506
allocs/op4506
allocs/op1
BenchmarkDocument/tree_1000 - ns/op
47858041
ns/op48715965
ns/op0.98
BenchmarkDocument/tree_1000 - B/op
35222834
B/op35222566
B/op1.00
BenchmarkDocument/tree_1000 - allocs/op
44119
allocs/op44119
allocs/op1
BenchmarkDocument/tree_10000 - ns/op
6127216883
ns/op6243742972
ns/op0.98
BenchmarkDocument/tree_10000 - B/op
3438867888
B/op3439193776
B/op1.00
BenchmarkDocument/tree_10000 - allocs/op
440216
allocs/op440204
allocs/op1.00
BenchmarkDocument/tree_delete_all_1000 - ns/op
48740066
ns/op50492483
ns/op0.97
BenchmarkDocument/tree_delete_all_1000 - B/op
35687432
B/op35687345
B/op1.00
BenchmarkDocument/tree_delete_all_1000 - allocs/op
51744
allocs/op51744
allocs/op1
BenchmarkDocument/tree_edit_gc_100 - ns/op
2638154
ns/op2674319
ns/op0.99
BenchmarkDocument/tree_edit_gc_100 - B/op
2100190
B/op2099522
B/op1.00
BenchmarkDocument/tree_edit_gc_100 - allocs/op
11165
allocs/op11165
allocs/op1
BenchmarkDocument/tree_edit_gc_1000 - ns/op
195794452
ns/op200656697
ns/op0.98
BenchmarkDocument/tree_edit_gc_1000 - B/op
180290617
B/op180293307
B/op1.00
BenchmarkDocument/tree_edit_gc_1000 - allocs/op
113346
allocs/op113350
allocs/op1.00
BenchmarkDocument/tree_split_gc_100 - ns/op
1933555
ns/op1969140
ns/op0.98
BenchmarkDocument/tree_split_gc_100 - B/op
1363479
B/op1363475
B/op1.00
BenchmarkDocument/tree_split_gc_100 - allocs/op
8735
allocs/op8735
allocs/op1
BenchmarkDocument/tree_split_gc_1000 - ns/op
129724152
ns/op133034523
ns/op0.98
BenchmarkDocument/tree_split_gc_1000 - B/op
120284969
B/op120284053
B/op1.00
BenchmarkDocument/tree_split_gc_1000 - allocs/op
96194
allocs/op96193
allocs/op1.00
BenchmarkRPC/client_to_server - ns/op
353610941
ns/op356375965
ns/op0.99
BenchmarkRPC/client_to_server - B/op
16336634
B/op16323573
B/op1.00
BenchmarkRPC/client_to_server - allocs/op
166452
allocs/op165420
allocs/op1.01
BenchmarkRPC/client_to_client_via_server - ns/op
608434688
ns/op607723810
ns/op1.00
BenchmarkRPC/client_to_client_via_server - B/op
34770692
B/op34041892
B/op1.02
BenchmarkRPC/client_to_client_via_server - allocs/op
310746
allocs/op309871
allocs/op1.00
BenchmarkRPC/attach_large_document - ns/op
1423233530
ns/op1463602622
ns/op0.97
BenchmarkRPC/attach_large_document - B/op
1878654696
B/op1878647264
B/op1.00
BenchmarkRPC/attach_large_document - allocs/op
7061
allocs/op7043
allocs/op1.00
BenchmarkRPC/adminCli_to_server - ns/op
533313734
ns/op541741676
ns/op0.98
BenchmarkRPC/adminCli_to_server - B/op
35986140
B/op36380716
B/op0.99
BenchmarkRPC/adminCli_to_server - allocs/op
285611
allocs/op284616
allocs/op1.00
BenchmarkLocker - ns/op
64.37
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.36
ns/op38.64
ns/op0.99
BenchmarkLockerParallel - B/op
0
B/op0
B/opNaN
BenchmarkLockerParallel - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkLockerMoreKeys - ns/op
146.2
ns/op138.5
ns/op1.06
BenchmarkLockerMoreKeys - B/op
15
B/op15
B/op1
BenchmarkLockerMoreKeys - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkChange/Push_10_Changes - ns/op
3780528
ns/op3779429
ns/op1.00
BenchmarkChange/Push_10_Changes - B/op
126333
B/op126275
B/op1.00
BenchmarkChange/Push_10_Changes - allocs/op
1254
allocs/op1254
allocs/op1
BenchmarkChange/Push_100_Changes - ns/op
14020670
ns/op14129092
ns/op0.99
BenchmarkChange/Push_100_Changes - B/op
646821
B/op646942
B/op1.00
BenchmarkChange/Push_100_Changes - allocs/op
6537
allocs/op6540
allocs/op1.00
BenchmarkChange/Push_1000_Changes - ns/op
112863626
ns/op113213707
ns/op1.00
BenchmarkChange/Push_1000_Changes - B/op
6090923
B/op6011043
B/op1.01
BenchmarkChange/Push_1000_Changes - allocs/op
62157
allocs/op62155
allocs/op1.00
BenchmarkChange/Pull_10_Changes - ns/op
2848272
ns/op2837624
ns/op1.00
BenchmarkChange/Pull_10_Changes - B/op
100783
B/op100327
B/op1.00
BenchmarkChange/Pull_10_Changes - allocs/op
951
allocs/op951
allocs/op1
BenchmarkChange/Pull_100_Changes - ns/op
4291996
ns/op4303014
ns/op1.00
BenchmarkChange/Pull_100_Changes - B/op
258236
B/op257269
B/op1.00
BenchmarkChange/Pull_100_Changes - allocs/op
3154
allocs/op3154
allocs/op1
BenchmarkChange/Pull_1000_Changes - ns/op
8260991
ns/op8473189
ns/op0.97
BenchmarkChange/Pull_1000_Changes - B/op
1397506
B/op1393414
B/op1.00
BenchmarkChange/Pull_1000_Changes - allocs/op
26875
allocs/op26869
allocs/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - ns/op
16692087
ns/op16717315
ns/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - B/op
801188
B/op807884
B/op0.99
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op
6541
allocs/op6541
allocs/op1
BenchmarkSnapshot/Push_30KB_snapshot - ns/op
117275537
ns/op117501595
ns/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - B/op
6260108
B/op6250940
B/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op
62158
allocs/op62161
allocs/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op
6627486
ns/op6521588
ns/op1.02
BenchmarkSnapshot/Pull_3KB_snapshot - B/op
906694
B/op904310
B/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op
14881
allocs/op14878
allocs/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op
14765369
ns/op15228711
ns/op0.97
BenchmarkSnapshot/Pull_30KB_snapshot - B/op
6988207
B/op6983077
B/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op
144142
allocs/op144141
allocs/op1.00
BenchmarkSync/memory_sync_10_test - ns/op
6849
ns/op6917
ns/op0.99
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
52188
ns/op51493
ns/op1.01
BenchmarkSync/memory_sync_100_test - B/op
8662
B/op8650
B/op1.00
BenchmarkSync/memory_sync_100_test - allocs/op
274
allocs/op273
allocs/op1.00
BenchmarkSync/memory_sync_1000_test - ns/op
588146
ns/op598451
ns/op0.98
BenchmarkSync/memory_sync_1000_test - B/op
74598
B/op74330
B/op1.00
BenchmarkSync/memory_sync_1000_test - allocs/op
2124
allocs/op2108
allocs/op1.01
BenchmarkSync/memory_sync_10000_test - ns/op
7357813
ns/op7141413
ns/op1.03
BenchmarkSync/memory_sync_10000_test - B/op
760971
B/op761330
B/op1.00
BenchmarkSync/memory_sync_10000_test - allocs/op
20688
allocs/op20560
allocs/op1.01
BenchmarkTextEditing - ns/op
18706754880
ns/op19117165431
ns/op0.98
BenchmarkTextEditing - B/op
9037814192
B/op9037584392
B/op1.00
BenchmarkTextEditing - allocs/op
19922519
allocs/op19921383
allocs/op1.00
This comment was automatically generated by workflow using github-action-benchmark.