-
-
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.
Change ref key of Clients from _id into (key, _id)
- Loading branch information
Showing
17 changed files
with
762 additions
and
153 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
Oops, something went wrong.
81bebc4
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
1340
ns/op1356
ns/op0.99
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
761.9
ns/op786.3
ns/op0.97
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
6977
ns/op7138
ns/op0.98
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
15979
ns/op16201
ns/op0.99
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
21851
ns/op22198
ns/op0.98
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
8239
ns/op10199
ns/op0.81
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
34736
ns/op29641
ns/op1.17
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
30418
ns/op31320
ns/op0.97
BenchmarkDocument/text_test - B/op
14795
B/op14795
B/op1
BenchmarkDocument/text_test - allocs/op
468
allocs/op468
allocs/op1
BenchmarkDocument/text_composition_test - ns/op
28343
ns/op29237
ns/op0.97
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
80721
ns/op82849
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
16541
ns/op16861
ns/op0.98
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
2863552
ns/op2985130
ns/op0.96
BenchmarkDocument/text_edit_gc_100 - B/op
1655199
B/op1655239
B/op1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op
17091
allocs/op17092
allocs/op1.00
BenchmarkDocument/text_edit_gc_1000 - ns/op
229176460
ns/op234174280
ns/op0.98
BenchmarkDocument/text_edit_gc_1000 - B/op
144355809
B/op144368132
B/op1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op
200957
allocs/op201011
allocs/op1.00
BenchmarkDocument/text_split_gc_100 - ns/op
3392513
ns/op3436736
ns/op0.99
BenchmarkDocument/text_split_gc_100 - B/op
2313953
B/op2313433
B/op1.00
BenchmarkDocument/text_split_gc_100 - allocs/op
16196
allocs/op16193
allocs/op1.00
BenchmarkDocument/text_split_gc_1000 - ns/op
288441486
ns/op292485836
ns/op0.99
BenchmarkDocument/text_split_gc_1000 - B/op
228899628
B/op228890592
B/op1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op
203981
allocs/op203938
allocs/op1.00
BenchmarkDocument/text_delete_all_10000 - ns/op
11078876
ns/op11958204
ns/op0.93
BenchmarkDocument/text_delete_all_10000 - B/op
5810895
B/op5811760
B/op1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op
40676
allocs/op40681
allocs/op1.00
BenchmarkDocument/text_delete_all_100000 - ns/op
215328651
ns/op192054829
ns/op1.12
BenchmarkDocument/text_delete_all_100000 - B/op
81885301
B/op81904042
B/op1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op
411559
allocs/op411636
allocs/op1.00
BenchmarkDocument/text_100 - ns/op
217652
ns/op233920
ns/op0.93
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
2452789
ns/op2472786
ns/op0.99
BenchmarkDocument/text_1000 - B/op
1153069
B/op1153071
B/op1.00
BenchmarkDocument/text_1000 - allocs/op
50084
allocs/op50084
allocs/op1
BenchmarkDocument/array_1000 - ns/op
1183737
ns/op1226516
ns/op0.97
BenchmarkDocument/array_1000 - B/op
1091298
B/op1091288
B/op1.00
BenchmarkDocument/array_1000 - allocs/op
11826
allocs/op11826
allocs/op1
BenchmarkDocument/array_10000 - ns/op
13259770
ns/op13448793
ns/op0.99
BenchmarkDocument/array_10000 - B/op
9799976
B/op9798818
B/op1.00
BenchmarkDocument/array_10000 - allocs/op
120292
allocs/op120286
allocs/op1.00
BenchmarkDocument/array_gc_100 - ns/op
147837
ns/op153630
ns/op0.96
BenchmarkDocument/array_gc_100 - B/op
132496
B/op132479
B/op1.00
BenchmarkDocument/array_gc_100 - allocs/op
1248
allocs/op1248
allocs/op1
BenchmarkDocument/array_gc_1000 - ns/op
1394451
ns/op1430382
ns/op0.97
BenchmarkDocument/array_gc_1000 - B/op
1158914
B/op1158905
B/op1.00
BenchmarkDocument/array_gc_1000 - allocs/op
12864
allocs/op12864
allocs/op1
BenchmarkDocument/counter_1000 - ns/op
203713
ns/op212571
ns/op0.96
BenchmarkDocument/counter_1000 - B/op
192851
B/op192851
B/op1
BenchmarkDocument/counter_1000 - allocs/op
5765
allocs/op5765
allocs/op1
BenchmarkDocument/counter_10000 - ns/op
2187971
ns/op2224184
ns/op0.98
BenchmarkDocument/counter_10000 - B/op
2087766
B/op2087765
B/op1.00
BenchmarkDocument/counter_10000 - allocs/op
59772
allocs/op59772
allocs/op1
BenchmarkDocument/object_1000 - ns/op
1349493
ns/op1424367
ns/op0.95
BenchmarkDocument/object_1000 - B/op
1428220
B/op1428068
B/op1.00
BenchmarkDocument/object_1000 - allocs/op
9846
allocs/op9845
allocs/op1.00
BenchmarkDocument/object_10000 - ns/op
14779626
ns/op14642658
ns/op1.01
BenchmarkDocument/object_10000 - B/op
12165431
B/op12167843
B/op1.00
BenchmarkDocument/object_10000 - allocs/op
100558
allocs/op100562
allocs/op1.00
BenchmarkDocument/tree_100 - ns/op
685782
ns/op744469
ns/op0.92
BenchmarkDocument/tree_100 - B/op
442885
B/op442890
B/op1.00
BenchmarkDocument/tree_100 - allocs/op
4506
allocs/op4506
allocs/op1
BenchmarkDocument/tree_1000 - ns/op
47347718
ns/op50380066
ns/op0.94
BenchmarkDocument/tree_1000 - B/op
35222831
B/op35222527
B/op1.00
BenchmarkDocument/tree_1000 - allocs/op
44119
allocs/op44118
allocs/op1.00
BenchmarkDocument/tree_10000 - ns/op
6172779582
ns/op6537517333
ns/op0.94
BenchmarkDocument/tree_10000 - B/op
3439183536
B/op3438881024
B/op1.00
BenchmarkDocument/tree_10000 - allocs/op
440191
allocs/op440197
allocs/op1.00
BenchmarkDocument/tree_delete_all_1000 - ns/op
47010507
ns/op50383873
ns/op0.93
BenchmarkDocument/tree_delete_all_1000 - B/op
35687528
B/op35686781
B/op1.00
BenchmarkDocument/tree_delete_all_1000 - allocs/op
51744
allocs/op51744
allocs/op1
BenchmarkDocument/tree_edit_gc_100 - ns/op
2532484
ns/op2640190
ns/op0.96
BenchmarkDocument/tree_edit_gc_100 - B/op
2099468
B/op2100192
B/op1.00
BenchmarkDocument/tree_edit_gc_100 - allocs/op
11165
allocs/op11165
allocs/op1
BenchmarkDocument/tree_edit_gc_1000 - ns/op
187036820
ns/op203482588
ns/op0.92
BenchmarkDocument/tree_edit_gc_1000 - B/op
180290998
B/op180290254
B/op1.00
BenchmarkDocument/tree_edit_gc_1000 - allocs/op
113345
allocs/op113352
allocs/op1.00
BenchmarkDocument/tree_split_gc_100 - ns/op
1868797
ns/op1956842
ns/op0.96
BenchmarkDocument/tree_split_gc_100 - B/op
1363448
B/op1363460
B/op1.00
BenchmarkDocument/tree_split_gc_100 - allocs/op
8735
allocs/op8735
allocs/op1
BenchmarkDocument/tree_split_gc_1000 - ns/op
123461215
ns/op135715287
ns/op0.91
BenchmarkDocument/tree_split_gc_1000 - B/op
120284968
B/op120284779
B/op1.00
BenchmarkDocument/tree_split_gc_1000 - allocs/op
96193
allocs/op96190
allocs/op1.00
BenchmarkRPC/client_to_server - ns/op
362522322
ns/op359703488
ns/op1.01
BenchmarkRPC/client_to_server - B/op
12492378
B/op12458544
B/op1.00
BenchmarkRPC/client_to_server - allocs/op
178372
allocs/op176321
allocs/op1.01
BenchmarkRPC/client_to_client_via_server - ns/op
608227848
ns/op603988013
ns/op1.01
BenchmarkRPC/client_to_client_via_server - B/op
23175464
B/op23259432
B/op1.00
BenchmarkRPC/client_to_client_via_server - allocs/op
334606
allocs/op331024
allocs/op1.01
BenchmarkRPC/attach_large_document - ns/op
1243688017
ns/op1381620656
ns/op0.90
BenchmarkRPC/attach_large_document - B/op
1819992568
B/op1820736296
B/op1.00
BenchmarkRPC/attach_large_document - allocs/op
10966
allocs/op10374
allocs/op1.06
BenchmarkRPC/adminCli_to_server - ns/op
503108676
ns/op506711988
ns/op0.99
BenchmarkRPC/adminCli_to_server - B/op
20174324
B/op20155856
B/op1.00
BenchmarkRPC/adminCli_to_server - allocs/op
318189
allocs/op317226
allocs/op1.00
BenchmarkLocker - ns/op
71.19
ns/op67.15
ns/op1.06
BenchmarkLocker - B/op
16
B/op16
B/op1
BenchmarkLocker - allocs/op
1
allocs/op1
allocs/op1
BenchmarkLockerParallel - ns/op
38.78
ns/op41.59
ns/op0.93
BenchmarkLockerParallel - B/op
0
B/op0
B/opNaN
BenchmarkLockerParallel - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkLockerMoreKeys - ns/op
153.7
ns/op160.5
ns/op0.96
BenchmarkLockerMoreKeys - B/op
15
B/op15
B/op1
BenchmarkLockerMoreKeys - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkChange/Push_10_Changes - ns/op
4157887
ns/op4228009
ns/op0.98
BenchmarkChange/Push_10_Changes - B/op
147330
B/op147011
B/op1.00
BenchmarkChange/Push_10_Changes - allocs/op
1316
allocs/op1305
allocs/op1.01
BenchmarkChange/Push_100_Changes - ns/op
15739049
ns/op15569560
ns/op1.01
BenchmarkChange/Push_100_Changes - B/op
711190
B/op714288
B/op1.00
BenchmarkChange/Push_100_Changes - allocs/op
6866
allocs/op6857
allocs/op1.00
BenchmarkChange/Push_1000_Changes - ns/op
123886162
ns/op122971913
ns/op1.01
BenchmarkChange/Push_1000_Changes - B/op
6075441
B/op6319134
B/op0.96
BenchmarkChange/Push_1000_Changes - allocs/op
64376
allocs/op64364
allocs/op1.00
BenchmarkChange/Pull_10_Changes - ns/op
3243826
ns/op3266944
ns/op0.99
BenchmarkChange/Pull_10_Changes - B/op
123945
B/op123436
B/op1.00
BenchmarkChange/Pull_10_Changes - allocs/op
1016
allocs/op1006
allocs/op1.01
BenchmarkChange/Pull_100_Changes - ns/op
5220038
ns/op5267253
ns/op0.99
BenchmarkChange/Pull_100_Changes - B/op
326329
B/op325367
B/op1.00
BenchmarkChange/Pull_100_Changes - allocs/op
3485
allocs/op3475
allocs/op1.00
BenchmarkChange/Pull_1000_Changes - ns/op
10332025
ns/op10054426
ns/op1.03
BenchmarkChange/Pull_1000_Changes - B/op
1637043
B/op1636062
B/op1.00
BenchmarkChange/Pull_1000_Changes - allocs/op
29846
allocs/op29837
allocs/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - ns/op
19826088
ns/op19612724
ns/op1.01
BenchmarkSnapshot/Push_3KB_snapshot - B/op
957263
B/op947220
B/op1.01
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op
6876
allocs/op6862
allocs/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - ns/op
129809089
ns/op128964020
ns/op1.01
BenchmarkSnapshot/Push_30KB_snapshot - B/op
6455982
B/op6446989
B/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op
64189
allocs/op64177
allocs/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op
7835878
ns/op7629068
ns/op1.03
BenchmarkSnapshot/Pull_3KB_snapshot - B/op
1014275
B/op1013744
B/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op
15504
allocs/op15499
allocs/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op
16449868
ns/op16093336
ns/op1.02
BenchmarkSnapshot/Pull_30KB_snapshot - B/op
7329603
B/op7331584
B/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op
150122
allocs/op150113
allocs/op1.00
BenchmarkSync/memory_sync_10_test - ns/op
6737
ns/op7126
ns/op0.95
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
51582
ns/op55219
ns/op0.93
BenchmarkSync/memory_sync_100_test - B/op
8650
B/op8990
B/op0.96
BenchmarkSync/memory_sync_100_test - allocs/op
273
allocs/op295
allocs/op0.93
BenchmarkSync/memory_sync_1000_test - ns/op
587394
ns/op440383
ns/op1.33
BenchmarkSync/memory_sync_1000_test - B/op
74627
B/op83572
B/op0.89
BenchmarkSync/memory_sync_1000_test - allocs/op
2126
allocs/op2682
allocs/op0.79
BenchmarkSync/memory_sync_10000_test - ns/op
7195890
ns/op4564967
ns/op1.58
BenchmarkSync/memory_sync_10000_test - B/op
753745
B/op818933
B/op0.92
BenchmarkSync/memory_sync_10000_test - allocs/op
20500
allocs/op24458
allocs/op0.84
BenchmarkTextEditing - ns/op
19411895915
ns/op19066495451
ns/op1.02
BenchmarkTextEditing - B/op
9038107008
B/op9038245440
B/op1.00
BenchmarkTextEditing - allocs/op
19923992
allocs/op19924611
allocs/op1.00
This comment was automatically generated by workflow using github-action-benchmark.