-
-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. integrate text, counter, tree type interface 2. decouple the build json from buildCRDTElement 3. fix duplicated deregister 4. relevant testcode update
- Loading branch information
1 parent
085c495
commit a7e7c90
Showing
7 changed files
with
132 additions
and
72 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
a7e7c90
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
1441
ns/op1457
ns/op0.99
BenchmarkDocument/constructor_test - B/op
1224
B/op1224
B/op1
BenchmarkDocument/constructor_test - allocs/op
21
allocs/op21
allocs/op1
BenchmarkDocument/status_test - ns/op
831.5
ns/op849.5
ns/op0.98
BenchmarkDocument/status_test - B/op
1192
B/op1192
B/op1
BenchmarkDocument/status_test - allocs/op
19
allocs/op19
allocs/op1
BenchmarkDocument/equals_test - ns/op
7339
ns/op7524
ns/op0.98
BenchmarkDocument/equals_test - B/op
6977
B/op6977
B/op1
BenchmarkDocument/equals_test - allocs/op
124
allocs/op124
allocs/op1
BenchmarkDocument/nested_update_test - ns/op
16624
ns/op18601
ns/op0.89
BenchmarkDocument/nested_update_test - B/op
12059
B/op12059
B/op1
BenchmarkDocument/nested_update_test - allocs/op
260
allocs/op260
allocs/op1
BenchmarkDocument/delete_test - ns/op
22273
ns/op22335
ns/op1.00
BenchmarkDocument/delete_test - B/op
15284
B/op15284
B/op1
BenchmarkDocument/delete_test - allocs/op
339
allocs/op339
allocs/op1
BenchmarkDocument/object_test - ns/op
8501
ns/op8516
ns/op1.00
BenchmarkDocument/object_test - B/op
6753
B/op6753
B/op1
BenchmarkDocument/object_test - allocs/op
118
allocs/op118
allocs/op1
BenchmarkDocument/array_test - ns/op
31578
ns/op28781
ns/op1.10
BenchmarkDocument/array_test - B/op
11883
B/op11883
B/op1
BenchmarkDocument/array_test - allocs/op
274
allocs/op274
allocs/op1
BenchmarkDocument/text_test - ns/op
30332
ns/op30487
ns/op0.99
BenchmarkDocument/text_test - B/op
14916
B/op14828
B/op1.01
BenchmarkDocument/text_test - allocs/op
470
allocs/op470
allocs/op1
BenchmarkDocument/text_composition_test - ns/op
28782
ns/op28865
ns/op1.00
BenchmarkDocument/text_composition_test - B/op
18428
B/op18310
B/op1.01
BenchmarkDocument/text_composition_test - allocs/op
479
allocs/op479
allocs/op1
BenchmarkDocument/rich_text_test - ns/op
79956
ns/op80677
ns/op0.99
BenchmarkDocument/rich_text_test - B/op
38677
B/op38572
B/op1.00
BenchmarkDocument/rich_text_test - allocs/op
1149
allocs/op1149
allocs/op1
BenchmarkDocument/counter_test - ns/op
16791
ns/op16759
ns/op1.00
BenchmarkDocument/counter_test - B/op
10466
B/op10242
B/op1.02
BenchmarkDocument/counter_test - allocs/op
238
allocs/op238
allocs/op1
BenchmarkDocument/text_edit_gc_100 - ns/op
2953612
ns/op2887897
ns/op1.02
BenchmarkDocument/text_edit_gc_100 - B/op
1658339
B/op1655169
B/op1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op
17094
allocs/op17094
allocs/op1
BenchmarkDocument/text_edit_gc_1000 - ns/op
231701032
ns/op229415441
ns/op1.01
BenchmarkDocument/text_edit_gc_1000 - B/op
144381641
B/op144344868
B/op1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op
200938
allocs/op200908
allocs/op1.00
BenchmarkDocument/text_split_gc_100 - ns/op
3368740
ns/op3374708
ns/op1.00
BenchmarkDocument/text_split_gc_100 - B/op
2316508
B/op2313351
B/op1.00
BenchmarkDocument/text_split_gc_100 - allocs/op
16194
allocs/op16195
allocs/op1.00
BenchmarkDocument/text_split_gc_1000 - ns/op
288176074
ns/op287430465
ns/op1.00
BenchmarkDocument/text_split_gc_1000 - B/op
228929652
B/op228891160
B/op1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op
203999
allocs/op203934
allocs/op1.00
BenchmarkDocument/text_delete_all_10000 - ns/op
11057653
ns/op10779697
ns/op1.03
BenchmarkDocument/text_delete_all_10000 - B/op
5810596
B/op5809238
B/op1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op
40674
allocs/op40669
allocs/op1.00
BenchmarkDocument/text_delete_all_100000 - ns/op
188531110
ns/op188925896
ns/op1.00
BenchmarkDocument/text_delete_all_100000 - B/op
81906141
B/op81910706
B/op1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op
411640
allocs/op411662
allocs/op1.00
BenchmarkDocument/text_100 - ns/op
231275
ns/op229354
ns/op1.01
BenchmarkDocument/text_100 - B/op
120139
B/op118514
B/op1.01
BenchmarkDocument/text_100 - allocs/op
5082
allocs/op5082
allocs/op1
BenchmarkDocument/text_1000 - ns/op
2513218
ns/op2502759
ns/op1.00
BenchmarkDocument/text_1000 - B/op
1169126
B/op1153102
B/op1.01
BenchmarkDocument/text_1000 - allocs/op
50086
allocs/op50086
allocs/op1
BenchmarkDocument/array_1000 - ns/op
1304358
ns/op1262770
ns/op1.03
BenchmarkDocument/array_1000 - B/op
1091345
B/op1091147
B/op1.00
BenchmarkDocument/array_1000 - allocs/op
11830
allocs/op11829
allocs/op1.00
BenchmarkDocument/array_10000 - ns/op
13539712
ns/op13221008
ns/op1.02
BenchmarkDocument/array_10000 - B/op
9799951
B/op9799195
B/op1.00
BenchmarkDocument/array_10000 - allocs/op
120294
allocs/op120291
allocs/op1.00
BenchmarkDocument/array_gc_100 - ns/op
154947
ns/op172372
ns/op0.90
BenchmarkDocument/array_gc_100 - B/op
132663
B/op139899
B/op0.95
BenchmarkDocument/array_gc_100 - allocs/op
1259
allocs/op1472
allocs/op0.86
BenchmarkDocument/array_gc_1000 - ns/op
1464722
ns/op1651513
ns/op0.89
BenchmarkDocument/array_gc_1000 - B/op
1159216
B/op1241466
B/op0.93
BenchmarkDocument/array_gc_1000 - allocs/op
12875
allocs/op14897
allocs/op0.86
BenchmarkDocument/counter_1000 - ns/op
210626
ns/op210894
ns/op1.00
BenchmarkDocument/counter_1000 - B/op
192916
B/op192884
B/op1.00
BenchmarkDocument/counter_1000 - allocs/op
5767
allocs/op5767
allocs/op1
BenchmarkDocument/counter_10000 - ns/op
2198485
ns/op2217464
ns/op0.99
BenchmarkDocument/counter_10000 - B/op
2087848
B/op2087814
B/op1.00
BenchmarkDocument/counter_10000 - allocs/op
59774
allocs/op59774
allocs/op1
BenchmarkDocument/object_1000 - ns/op
1442235
ns/op1442631
ns/op1.00
BenchmarkDocument/object_1000 - B/op
1428087
B/op1428083
B/op1.00
BenchmarkDocument/object_1000 - allocs/op
9847
allocs/op9847
allocs/op1
BenchmarkDocument/object_10000 - ns/op
15183645
ns/op15149865
ns/op1.00
BenchmarkDocument/object_10000 - B/op
12166069
B/op12166338
B/op1.00
BenchmarkDocument/object_10000 - allocs/op
100560
allocs/op100562
allocs/op1.00
BenchmarkDocument/tree_100 - ns/op
1073924
ns/op1068412
ns/op1.01
BenchmarkDocument/tree_100 - B/op
943710
B/op943709
B/op1.00
BenchmarkDocument/tree_100 - allocs/op
6101
allocs/op6101
allocs/op1
BenchmarkDocument/tree_1000 - ns/op
79075518
ns/op79029252
ns/op1.00
BenchmarkDocument/tree_1000 - B/op
86460530
B/op86460602
B/op1.00
BenchmarkDocument/tree_1000 - allocs/op
60115
allocs/op60116
allocs/op1.00
BenchmarkDocument/tree_10000 - ns/op
9758515588
ns/op9661149264
ns/op1.01
BenchmarkDocument/tree_10000 - B/op
8580979016
B/op8580973784
B/op1.00
BenchmarkDocument/tree_10000 - allocs/op
600221
allocs/op600230
allocs/op1.00
BenchmarkDocument/tree_delete_all_1000 - ns/op
78464676
ns/op79816852
ns/op0.98
BenchmarkDocument/tree_delete_all_1000 - B/op
86991249
B/op86990889
B/op1.00
BenchmarkDocument/tree_delete_all_1000 - allocs/op
67755
allocs/op67750
allocs/op1.00
BenchmarkDocument/tree_edit_gc_100 - ns/op
3871200
ns/op3866691
ns/op1.00
BenchmarkDocument/tree_edit_gc_100 - B/op
4121072
B/op4121023
B/op1.00
BenchmarkDocument/tree_edit_gc_100 - allocs/op
14358
allocs/op14358
allocs/op1
BenchmarkDocument/tree_edit_gc_1000 - ns/op
327182171
ns/op326051394
ns/op1.00
BenchmarkDocument/tree_edit_gc_1000 - B/op
383467236
B/op383466086
B/op1.00
BenchmarkDocument/tree_edit_gc_1000 - allocs/op
145418
allocs/op145407
allocs/op1.00
BenchmarkDocument/tree_split_gc_100 - ns/op
2607363
ns/op2611696
ns/op1.00
BenchmarkDocument/tree_split_gc_100 - B/op
2386889
B/op2386898
B/op1.00
BenchmarkDocument/tree_split_gc_100 - allocs/op
10343
allocs/op10343
allocs/op1
BenchmarkDocument/tree_split_gc_1000 - ns/op
196740737
ns/op196739556
ns/op1.00
BenchmarkDocument/tree_split_gc_1000 - B/op
221990957
B/op221991590
B/op1.00
BenchmarkDocument/tree_split_gc_1000 - allocs/op
112257
allocs/op112260
allocs/op1.00
BenchmarkRPC/client_to_server - ns/op
357990239
ns/op356144469
ns/op1.01
BenchmarkRPC/client_to_server - B/op
16397432
B/op17801216
B/op0.92
BenchmarkRPC/client_to_server - allocs/op
166829
allocs/op166911
allocs/op1.00
BenchmarkRPC/client_to_client_via_server - ns/op
609975532
ns/op613079232
ns/op0.99
BenchmarkRPC/client_to_client_via_server - B/op
32121164
B/op31722656
B/op1.01
BenchmarkRPC/client_to_client_via_server - allocs/op
313046
allocs/op313048
allocs/op1.00
BenchmarkRPC/attach_large_document - ns/op
1190009625
ns/op1479934941
ns/op0.80
BenchmarkRPC/attach_large_document - B/op
1890020088
B/op1890029520
B/op1.00
BenchmarkRPC/attach_large_document - allocs/op
7563
allocs/op7567
allocs/op1.00
BenchmarkRPC/adminCli_to_server - ns/op
536781843
ns/op537051132
ns/op1.00
BenchmarkRPC/adminCli_to_server - B/op
35980868
B/op36806452
B/op0.98
BenchmarkRPC/adminCli_to_server - allocs/op
289645
allocs/op289659
allocs/op1.00
BenchmarkLocker - ns/op
63.95
ns/op65.34
ns/op0.98
BenchmarkLocker - B/op
16
B/op16
B/op1
BenchmarkLocker - allocs/op
1
allocs/op1
allocs/op1
BenchmarkLockerParallel - ns/op
39.98
ns/op38.48
ns/op1.04
BenchmarkLockerParallel - B/op
0
B/op0
B/opNaN
BenchmarkLockerParallel - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkLockerMoreKeys - ns/op
144.7
ns/op145.1
ns/op1.00
BenchmarkLockerMoreKeys - B/op
15
B/op15
B/op1
BenchmarkLockerMoreKeys - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkChange/Push_10_Changes - ns/op
3777241
ns/op3768343
ns/op1.00
BenchmarkChange/Push_10_Changes - B/op
126100
B/op126223
B/op1.00
BenchmarkChange/Push_10_Changes - allocs/op
1253
allocs/op1254
allocs/op1.00
BenchmarkChange/Push_100_Changes - ns/op
14002735
ns/op14005221
ns/op1.00
BenchmarkChange/Push_100_Changes - B/op
640864
B/op648654
B/op0.99
BenchmarkChange/Push_100_Changes - allocs/op
6538
allocs/op6539
allocs/op1.00
BenchmarkChange/Push_1000_Changes - ns/op
112237043
ns/op114047673
ns/op0.98
BenchmarkChange/Push_1000_Changes - B/op
6198815
B/op6036337
B/op1.03
BenchmarkChange/Push_1000_Changes - allocs/op
62159
allocs/op62157
allocs/op1.00
BenchmarkChange/Pull_10_Changes - ns/op
2827571
ns/op2839363
ns/op1.00
BenchmarkChange/Pull_10_Changes - B/op
100726
B/op100881
B/op1.00
BenchmarkChange/Pull_10_Changes - allocs/op
952
allocs/op952
allocs/op1
BenchmarkChange/Pull_100_Changes - ns/op
4296685
ns/op4308547
ns/op1.00
BenchmarkChange/Pull_100_Changes - B/op
258248
B/op258255
B/op1.00
BenchmarkChange/Pull_100_Changes - allocs/op
3154
allocs/op3154
allocs/op1
BenchmarkChange/Pull_1000_Changes - ns/op
8517863
ns/op8372656
ns/op1.02
BenchmarkChange/Pull_1000_Changes - B/op
1395231
B/op1396187
B/op1.00
BenchmarkChange/Pull_1000_Changes - allocs/op
26873
allocs/op26871
allocs/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - ns/op
16798728
ns/op16777319
ns/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - B/op
796917
B/op809995
B/op0.98
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op
6540
allocs/op6542
allocs/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - ns/op
117051562
ns/op117069671
ns/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - B/op
6300091
B/op6250016
B/op1.01
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op
62249
allocs/op62161
allocs/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op
6521850
ns/op6563310
ns/op0.99
BenchmarkSnapshot/Pull_3KB_snapshot - B/op
905814
B/op905174
B/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op
14886
allocs/op14882
allocs/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op
15320667
ns/op15000336
ns/op1.02
BenchmarkSnapshot/Pull_30KB_snapshot - B/op
6979824
B/op6977754
B/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op
144147
allocs/op144148
allocs/op1.00
BenchmarkSync/memory_sync_10_test - ns/op
6841
ns/op6824
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
51778
ns/op51635
ns/op1.00
BenchmarkSync/memory_sync_100_test - B/op
8655
B/op8659
B/op1.00
BenchmarkSync/memory_sync_100_test - allocs/op
274
allocs/op274
allocs/op1
BenchmarkSync/memory_sync_1000_test - ns/op
586615
ns/op582724
ns/op1.01
BenchmarkSync/memory_sync_1000_test - B/op
74630
B/op74925
B/op1.00
BenchmarkSync/memory_sync_1000_test - allocs/op
2122
allocs/op2141
allocs/op0.99
BenchmarkSync/memory_sync_10000_test - ns/op
7204570
ns/op7320373
ns/op0.98
BenchmarkSync/memory_sync_10000_test - B/op
762001
B/op761425
B/op1.00
BenchmarkSync/memory_sync_10000_test - allocs/op
20587
allocs/op20593
allocs/op1.00
BenchmarkTextEditing - ns/op
18814863867
ns/op18585017456
ns/op1.01
BenchmarkTextEditing - B/op
9042198864
B/op9037385240
B/op1.00
BenchmarkTextEditing - allocs/op
19923595
allocs/op19920435
allocs/op1.00
This comment was automatically generated by workflow using github-action-benchmark.