-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test code for concurrently style with distinct/common key and Fix…
… RHT to support concurrency
- Loading branch information
1 parent
13329e4
commit e6a3284
Showing
3 changed files
with
104 additions
and
2 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
e6a3284
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
1369
ns/op1336
ns/op1.02
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
782.7
ns/op785.2
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
7135
ns/op7092
ns/op1.01
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
16092
ns/op16151
ns/op1.00
BenchmarkDocument/nested_update_test - B/op
11962
B/op11963
B/op1.00
BenchmarkDocument/nested_update_test - allocs/op
254
allocs/op254
allocs/op1
BenchmarkDocument/delete_test - ns/op
21828
ns/op21933
ns/op1.00
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
8332
ns/op8361
ns/op1.00
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
28392
ns/op32610
ns/op0.87
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
34735
ns/op30219
ns/op1.15
BenchmarkDocument/text_test - B/op
14884
B/op14795
B/op1.01
BenchmarkDocument/text_test - allocs/op
468
allocs/op468
allocs/op1
BenchmarkDocument/text_composition_test - ns/op
28886
ns/op28748
ns/op1.00
BenchmarkDocument/text_composition_test - B/op
18398
B/op18278
B/op1.01
BenchmarkDocument/text_composition_test - allocs/op
477
allocs/op477
allocs/op1
BenchmarkDocument/rich_text_test - ns/op
79714
ns/op79589
ns/op1.00
BenchmarkDocument/rich_text_test - B/op
38645
B/op38540
B/op1.00
BenchmarkDocument/rich_text_test - allocs/op
1147
allocs/op1147
allocs/op1
BenchmarkDocument/counter_test - ns/op
16569
ns/op16595
ns/op1.00
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
2868401
ns/op2884438
ns/op0.99
BenchmarkDocument/text_edit_gc_100 - B/op
1658573
B/op1655268
B/op1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op
17093
allocs/op17093
allocs/op1
BenchmarkDocument/text_edit_gc_1000 - ns/op
229096174
ns/op230271811
ns/op0.99
BenchmarkDocument/text_edit_gc_1000 - B/op
144402339
B/op144376180
B/op1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op
201031
allocs/op201058
allocs/op1.00
BenchmarkDocument/text_split_gc_100 - ns/op
3383593
ns/op3383745
ns/op1.00
BenchmarkDocument/text_split_gc_100 - B/op
2316594
B/op2314004
B/op1.00
BenchmarkDocument/text_split_gc_100 - allocs/op
16192
allocs/op16197
allocs/op1.00
BenchmarkDocument/text_split_gc_1000 - ns/op
288177070
ns/op288385837
ns/op1.00
BenchmarkDocument/text_split_gc_1000 - B/op
228937908
B/op228887600
B/op1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op
204042
allocs/op203930
allocs/op1.00
BenchmarkDocument/text_delete_all_10000 - ns/op
10800239
ns/op11000897
ns/op0.98
BenchmarkDocument/text_delete_all_10000 - B/op
5811589
B/op5809330
B/op1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op
40680
allocs/op40669
allocs/op1.00
BenchmarkDocument/text_delete_all_100000 - ns/op
175983937
ns/op182534409
ns/op0.96
BenchmarkDocument/text_delete_all_100000 - B/op
81888338
B/op81903677
B/op1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op
411573
allocs/op411647
allocs/op1.00
BenchmarkDocument/text_100 - ns/op
218880
ns/op218449
ns/op1.00
BenchmarkDocument/text_100 - B/op
120107
B/op118483
B/op1.01
BenchmarkDocument/text_100 - allocs/op
5080
allocs/op5080
allocs/op1
BenchmarkDocument/text_1000 - ns/op
2386014
ns/op2374004
ns/op1.01
BenchmarkDocument/text_1000 - B/op
1169092
B/op1153070
B/op1.01
BenchmarkDocument/text_1000 - allocs/op
50084
allocs/op50084
allocs/op1
BenchmarkDocument/array_1000 - ns/op
1172600
ns/op1196526
ns/op0.98
BenchmarkDocument/array_1000 - B/op
1091281
B/op1091301
B/op1.00
BenchmarkDocument/array_1000 - allocs/op
11826
allocs/op11826
allocs/op1
BenchmarkDocument/array_10000 - ns/op
12910013
ns/op13416629
ns/op0.96
BenchmarkDocument/array_10000 - B/op
9799370
B/op9799640
B/op1.00
BenchmarkDocument/array_10000 - allocs/op
120288
allocs/op120291
allocs/op1.00
BenchmarkDocument/array_gc_100 - ns/op
142597
ns/op143463
ns/op0.99
BenchmarkDocument/array_gc_100 - B/op
132491
B/op132481
B/op1.00
BenchmarkDocument/array_gc_100 - allocs/op
1248
allocs/op1248
allocs/op1
BenchmarkDocument/array_gc_1000 - ns/op
1359641
ns/op1378307
ns/op0.99
BenchmarkDocument/array_gc_1000 - B/op
1158964
B/op1158986
B/op1.00
BenchmarkDocument/array_gc_1000 - allocs/op
12865
allocs/op12865
allocs/op1
BenchmarkDocument/counter_1000 - ns/op
196837
ns/op198075
ns/op0.99
BenchmarkDocument/counter_1000 - B/op
192853
B/op192851
B/op1.00
BenchmarkDocument/counter_1000 - allocs/op
5765
allocs/op5765
allocs/op1
BenchmarkDocument/counter_10000 - ns/op
2127368
ns/op2156556
ns/op0.99
BenchmarkDocument/counter_10000 - B/op
2087768
B/op2087769
B/op1.00
BenchmarkDocument/counter_10000 - allocs/op
59772
allocs/op59772
allocs/op1
BenchmarkDocument/object_1000 - ns/op
1310565
ns/op1317018
ns/op1.00
BenchmarkDocument/object_1000 - B/op
1427980
B/op1427906
B/op1.00
BenchmarkDocument/object_1000 - allocs/op
9845
allocs/op9845
allocs/op1
BenchmarkDocument/object_10000 - ns/op
14249549
ns/op14690867
ns/op0.97
BenchmarkDocument/object_10000 - B/op
12165926
B/op12166752
B/op1.00
BenchmarkDocument/object_10000 - allocs/op
100557
allocs/op100562
allocs/op1.00
BenchmarkDocument/tree_100 - ns/op
996702
ns/op1009303
ns/op0.99
BenchmarkDocument/tree_100 - B/op
943673
B/op943675
B/op1.00
BenchmarkDocument/tree_100 - allocs/op
6099
allocs/op6099
allocs/op1
BenchmarkDocument/tree_1000 - ns/op
73554597
ns/op72072982
ns/op1.02
BenchmarkDocument/tree_1000 - B/op
86460395
B/op86459854
B/op1.00
BenchmarkDocument/tree_1000 - allocs/op
60113
allocs/op60114
allocs/op1.00
BenchmarkDocument/tree_10000 - ns/op
9260221728
ns/op9443141797
ns/op0.98
BenchmarkDocument/tree_10000 - B/op
8580981880
B/op8580991992
B/op1.00
BenchmarkDocument/tree_10000 - allocs/op
600238
allocs/op600248
allocs/op1.00
BenchmarkDocument/tree_delete_all_1000 - ns/op
71533036
ns/op71663719
ns/op1.00
BenchmarkDocument/tree_delete_all_1000 - B/op
86990238
B/op86990239
B/op1.00
BenchmarkDocument/tree_delete_all_1000 - allocs/op
67749
allocs/op67749
allocs/op1
BenchmarkDocument/tree_edit_gc_100 - ns/op
3600533
ns/op3632525
ns/op0.99
BenchmarkDocument/tree_edit_gc_100 - B/op
4120990
B/op4121046
B/op1.00
BenchmarkDocument/tree_edit_gc_100 - allocs/op
14356
allocs/op14356
allocs/op1
BenchmarkDocument/tree_edit_gc_1000 - ns/op
296150432
ns/op295614209
ns/op1.00
BenchmarkDocument/tree_edit_gc_1000 - B/op
383467356
B/op383467646
B/op1.00
BenchmarkDocument/tree_edit_gc_1000 - allocs/op
145400
allocs/op145413
allocs/op1.00
BenchmarkDocument/tree_split_gc_100 - ns/op
2424754
ns/op2433512
ns/op1.00
BenchmarkDocument/tree_split_gc_100 - B/op
2386819
B/op2386869
B/op1.00
BenchmarkDocument/tree_split_gc_100 - allocs/op
10341
allocs/op10341
allocs/op1
BenchmarkDocument/tree_split_gc_1000 - ns/op
177156471
ns/op183611128
ns/op0.96
BenchmarkDocument/tree_split_gc_1000 - B/op
221989945
B/op221991942
B/op1.00
BenchmarkDocument/tree_split_gc_1000 - allocs/op
112244
allocs/op112259
allocs/op1.00
BenchmarkRPC/client_to_server - ns/op
357659078
ns/op355717978
ns/op1.01
BenchmarkRPC/client_to_server - B/op
17794869
B/op17228981
B/op1.03
BenchmarkRPC/client_to_server - allocs/op
166876
allocs/op166831
allocs/op1.00
BenchmarkRPC/client_to_client_via_server - ns/op
609989606
ns/op606482578
ns/op1.01
BenchmarkRPC/client_to_client_via_server - B/op
31229984
B/op32116544
B/op0.97
BenchmarkRPC/client_to_client_via_server - allocs/op
312399
allocs/op312901
allocs/op1.00
BenchmarkRPC/attach_large_document - ns/op
1234060163
ns/op1170164855
ns/op1.05
BenchmarkRPC/attach_large_document - B/op
1869051616
B/op1888403296
B/op0.99
BenchmarkRPC/attach_large_document - allocs/op
7547
allocs/op7527
allocs/op1.00
BenchmarkRPC/adminCli_to_server - ns/op
540020885
ns/op542495623
ns/op1.00
BenchmarkRPC/adminCli_to_server - B/op
35981596
B/op36802124
B/op0.98
BenchmarkRPC/adminCli_to_server - allocs/op
289651
allocs/op289677
allocs/op1.00
BenchmarkLocker - ns/op
65.84
ns/op65.96
ns/op1.00
BenchmarkLocker - B/op
16
B/op16
B/op1
BenchmarkLocker - allocs/op
1
allocs/op1
allocs/op1
BenchmarkLockerParallel - ns/op
38.76
ns/op38.94
ns/op1.00
BenchmarkLockerParallel - B/op
0
B/op0
B/opNaN
BenchmarkLockerParallel - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkLockerMoreKeys - ns/op
147.5
ns/op141.9
ns/op1.04
BenchmarkLockerMoreKeys - B/op
15
B/op15
B/op1
BenchmarkLockerMoreKeys - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkChange/Push_10_Changes - ns/op
3785059
ns/op3782260
ns/op1.00
BenchmarkChange/Push_10_Changes - B/op
125713
B/op125995
B/op1.00
BenchmarkChange/Push_10_Changes - allocs/op
1254
allocs/op1253
allocs/op1.00
BenchmarkChange/Push_100_Changes - ns/op
14065727
ns/op14268879
ns/op0.99
BenchmarkChange/Push_100_Changes - B/op
649640
B/op639349
B/op1.02
BenchmarkChange/Push_100_Changes - allocs/op
6539
allocs/op6540
allocs/op1.00
BenchmarkChange/Push_1000_Changes - ns/op
112545946
ns/op114005417
ns/op0.99
BenchmarkChange/Push_1000_Changes - B/op
5902491
B/op6146349
B/op0.96
BenchmarkChange/Push_1000_Changes - allocs/op
62155
allocs/op62158
allocs/op1.00
BenchmarkChange/Pull_10_Changes - ns/op
2860311
ns/op2883610
ns/op0.99
BenchmarkChange/Pull_10_Changes - B/op
100633
B/op100810
B/op1.00
BenchmarkChange/Pull_10_Changes - allocs/op
951
allocs/op952
allocs/op1.00
BenchmarkChange/Pull_100_Changes - ns/op
4311423
ns/op4323201
ns/op1.00
BenchmarkChange/Pull_100_Changes - B/op
257907
B/op258124
B/op1.00
BenchmarkChange/Pull_100_Changes - allocs/op
3154
allocs/op3153
allocs/op1.00
BenchmarkChange/Pull_1000_Changes - ns/op
8300351
ns/op8208312
ns/op1.01
BenchmarkChange/Pull_1000_Changes - B/op
1394700
B/op1395853
B/op1.00
BenchmarkChange/Pull_1000_Changes - allocs/op
26872
allocs/op26874
allocs/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - ns/op
16598198
ns/op16781594
ns/op0.99
BenchmarkSnapshot/Push_3KB_snapshot - B/op
807232
B/op806918
B/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op
6543
allocs/op6543
allocs/op1
BenchmarkSnapshot/Push_30KB_snapshot - ns/op
117060348
ns/op117538584
ns/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - B/op
6320404
B/op6293910
B/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op
62163
allocs/op62159
allocs/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op
6547132
ns/op6555276
ns/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - B/op
904604
B/op905327
B/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op
14876
allocs/op14879
allocs/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op
14760490
ns/op14921599
ns/op0.99
BenchmarkSnapshot/Pull_30KB_snapshot - B/op
6979816
B/op6982547
B/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op
144142
allocs/op144138
allocs/op1.00
BenchmarkSync/memory_sync_10_test - ns/op
6851
ns/op6869
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
51440
ns/op51839
ns/op0.99
BenchmarkSync/memory_sync_100_test - B/op
8650
B/op8646
B/op1.00
BenchmarkSync/memory_sync_100_test - allocs/op
273
allocs/op273
allocs/op1
BenchmarkSync/memory_sync_1000_test - ns/op
584778
ns/op597671
ns/op0.98
BenchmarkSync/memory_sync_1000_test - B/op
74624
B/op74301
B/op1.00
BenchmarkSync/memory_sync_1000_test - allocs/op
2125
allocs/op2106
allocs/op1.01
BenchmarkSync/memory_sync_10000_test - ns/op
6987984
ns/op7337210
ns/op0.95
BenchmarkSync/memory_sync_10000_test - B/op
761163
B/op759441
B/op1.00
BenchmarkSync/memory_sync_10000_test - allocs/op
20612
allocs/op20499
allocs/op1.01
BenchmarkTextEditing - ns/op
18573575789
ns/op18812245791
ns/op0.99
BenchmarkTextEditing - B/op
9041928944
B/op9038099880
B/op1.00
BenchmarkTextEditing - allocs/op
19922422
allocs/op19923868
allocs/op1.00
This comment was automatically generated by workflow using github-action-benchmark.