-
-
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.
Fix RHT.Remove returns empty string when key is already removed
- Loading branch information
1 parent
d453721
commit 43ed8d2
Showing
1 changed file
with
6 additions
and
1 deletion.
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
43ed8d2
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
1342
ns/op1542
ns/op0.87
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
885.8
ns/op780
ns/op1.14
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
7092
ns/op7138
ns/op0.99
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
16001
ns/op16248
ns/op0.98
BenchmarkDocument/nested_update_test - B/op
11963
B/op11963
B/op1
BenchmarkDocument/nested_update_test - allocs/op
254
allocs/op254
allocs/op1
BenchmarkDocument/delete_test - ns/op
21732
ns/op22078
ns/op0.98
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
8294
ns/op8387
ns/op0.99
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
28536
ns/op28691
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
30586
ns/op31234
ns/op0.98
BenchmarkDocument/text_test - B/op
15411
B/op15412
B/op1.00
BenchmarkDocument/text_test - allocs/op
479
allocs/op479
allocs/op1
BenchmarkDocument/text_composition_test - ns/op
28805
ns/op28838
ns/op1.00
BenchmarkDocument/text_composition_test - B/op
18588
B/op18590
B/op1.00
BenchmarkDocument/text_composition_test - allocs/op
481
allocs/op481
allocs/op1
BenchmarkDocument/rich_text_test - ns/op
84526
ns/op84725
ns/op1.00
BenchmarkDocument/rich_text_test - B/op
47959
B/op47959
B/op1
BenchmarkDocument/rich_text_test - allocs/op
1216
allocs/op1216
allocs/op1
BenchmarkDocument/counter_test - ns/op
16561
ns/op16633
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
2872818
ns/op2896824
ns/op0.99
BenchmarkDocument/text_edit_gc_100 - B/op
1658865
B/op1658595
B/op1.00
BenchmarkDocument/text_edit_gc_100 - allocs/op
17094
allocs/op17092
allocs/op1.00
BenchmarkDocument/text_edit_gc_1000 - ns/op
228761790
ns/op232593749
ns/op0.98
BenchmarkDocument/text_edit_gc_1000 - B/op
144369795
B/op144379059
B/op1.00
BenchmarkDocument/text_edit_gc_1000 - allocs/op
200889
allocs/op200906
allocs/op1.00
BenchmarkDocument/text_split_gc_100 - ns/op
3371033
ns/op3420377
ns/op0.99
BenchmarkDocument/text_split_gc_100 - B/op
2316810
B/op2316994
B/op1.00
BenchmarkDocument/text_split_gc_100 - allocs/op
16195
allocs/op16196
allocs/op1.00
BenchmarkDocument/text_split_gc_1000 - ns/op
288987060
ns/op291333302
ns/op0.99
BenchmarkDocument/text_split_gc_1000 - B/op
228927384
B/op228919328
B/op1.00
BenchmarkDocument/text_split_gc_1000 - allocs/op
203971
allocs/op203934
allocs/op1.00
BenchmarkDocument/text_delete_all_10000 - ns/op
11176426
ns/op11818492
ns/op0.95
BenchmarkDocument/text_delete_all_10000 - B/op
5810216
B/op5810678
B/op1.00
BenchmarkDocument/text_delete_all_10000 - allocs/op
40673
allocs/op40675
allocs/op1.00
BenchmarkDocument/text_delete_all_100000 - ns/op
208250940
ns/op201368223
ns/op1.03
BenchmarkDocument/text_delete_all_100000 - B/op
81896408
B/op81900570
B/op1.00
BenchmarkDocument/text_delete_all_100000 - allocs/op
411593
allocs/op411626
allocs/op1.00
BenchmarkDocument/text_100 - ns/op
230112
ns/op220270
ns/op1.04
BenchmarkDocument/text_100 - B/op
120107
B/op120107
B/op1
BenchmarkDocument/text_100 - allocs/op
5080
allocs/op5080
allocs/op1
BenchmarkDocument/text_1000 - ns/op
2488787
ns/op2429840
ns/op1.02
BenchmarkDocument/text_1000 - B/op
1169078
B/op1169078
B/op1
BenchmarkDocument/text_1000 - allocs/op
50084
allocs/op50084
allocs/op1
BenchmarkDocument/array_1000 - ns/op
1231080
ns/op1191138
ns/op1.03
BenchmarkDocument/array_1000 - B/op
1091299
B/op1091341
B/op1.00
BenchmarkDocument/array_1000 - allocs/op
11826
allocs/op11826
allocs/op1
BenchmarkDocument/array_10000 - ns/op
13151872
ns/op13214012
ns/op1.00
BenchmarkDocument/array_10000 - B/op
9799942
B/op9800667
B/op1.00
BenchmarkDocument/array_10000 - allocs/op
120290
allocs/op120294
allocs/op1.00
BenchmarkDocument/array_gc_100 - ns/op
150749
ns/op144166
ns/op1.05
BenchmarkDocument/array_gc_100 - B/op
132498
B/op132489
B/op1.00
BenchmarkDocument/array_gc_100 - allocs/op
1248
allocs/op1248
allocs/op1
BenchmarkDocument/array_gc_1000 - ns/op
1438027
ns/op1375392
ns/op1.05
BenchmarkDocument/array_gc_1000 - B/op
1158851
B/op1158914
B/op1.00
BenchmarkDocument/array_gc_1000 - allocs/op
12864
allocs/op12864
allocs/op1
BenchmarkDocument/counter_1000 - ns/op
209412
ns/op198354
ns/op1.06
BenchmarkDocument/counter_1000 - B/op
192852
B/op192853
B/op1.00
BenchmarkDocument/counter_1000 - allocs/op
5765
allocs/op5765
allocs/op1
BenchmarkDocument/counter_10000 - ns/op
2225119
ns/op2157794
ns/op1.03
BenchmarkDocument/counter_10000 - B/op
2087769
B/op2087766
B/op1.00
BenchmarkDocument/counter_10000 - allocs/op
59772
allocs/op59772
allocs/op1
BenchmarkDocument/object_1000 - ns/op
1422144
ns/op1354096
ns/op1.05
BenchmarkDocument/object_1000 - B/op
1427883
B/op1428036
B/op1.00
BenchmarkDocument/object_1000 - allocs/op
9844
allocs/op9845
allocs/op1.00
BenchmarkDocument/object_10000 - ns/op
15207886
ns/op15028111
ns/op1.01
BenchmarkDocument/object_10000 - B/op
12168266
B/op12166744
B/op1.00
BenchmarkDocument/object_10000 - allocs/op
100563
allocs/op100559
allocs/op1.00
BenchmarkDocument/tree_100 - ns/op
1074734
ns/op1049112
ns/op1.02
BenchmarkDocument/tree_100 - B/op
943677
B/op943678
B/op1.00
BenchmarkDocument/tree_100 - allocs/op
6099
allocs/op6099
allocs/op1
BenchmarkDocument/tree_1000 - ns/op
79013052
ns/op79782715
ns/op0.99
BenchmarkDocument/tree_1000 - B/op
86460445
B/op86460627
B/op1.00
BenchmarkDocument/tree_1000 - allocs/op
60113
allocs/op60114
allocs/op1.00
BenchmarkDocument/tree_10000 - ns/op
9877844688
ns/op9957562898
ns/op0.99
BenchmarkDocument/tree_10000 - B/op
8580991480
B/op8580990424
B/op1.00
BenchmarkDocument/tree_10000 - allocs/op
600238
allocs/op600232
allocs/op1.00
BenchmarkDocument/tree_delete_all_1000 - ns/op
78873167
ns/op77379744
ns/op1.02
BenchmarkDocument/tree_delete_all_1000 - B/op
86990661
B/op86990891
B/op1.00
BenchmarkDocument/tree_delete_all_1000 - allocs/op
67750
allocs/op67751
allocs/op1.00
BenchmarkDocument/tree_edit_gc_100 - ns/op
3900044
ns/op3743356
ns/op1.04
BenchmarkDocument/tree_edit_gc_100 - B/op
4121031
B/op4120983
B/op1.00
BenchmarkDocument/tree_edit_gc_100 - allocs/op
14356
allocs/op14356
allocs/op1
BenchmarkDocument/tree_edit_gc_1000 - ns/op
324385908
ns/op311312288
ns/op1.04
BenchmarkDocument/tree_edit_gc_1000 - B/op
383467172
B/op383465558
B/op1.00
BenchmarkDocument/tree_edit_gc_1000 - allocs/op
145413
allocs/op145406
allocs/op1.00
BenchmarkDocument/tree_split_gc_100 - ns/op
2628297
ns/op2564917
ns/op1.02
BenchmarkDocument/tree_split_gc_100 - B/op
2386869
B/op2386900
B/op1.00
BenchmarkDocument/tree_split_gc_100 - allocs/op
10341
allocs/op10341
allocs/op1
BenchmarkDocument/tree_split_gc_1000 - ns/op
199099024
ns/op194397785
ns/op1.02
BenchmarkDocument/tree_split_gc_1000 - B/op
221992480
B/op221990026
B/op1.00
BenchmarkDocument/tree_split_gc_1000 - allocs/op
112263
allocs/op112248
allocs/op1.00
BenchmarkRPC/client_to_server - ns/op
361166727
ns/op364396329
ns/op0.99
BenchmarkRPC/client_to_server - B/op
18072890
B/op18067424
B/op1.00
BenchmarkRPC/client_to_server - allocs/op
166886
allocs/op165863
allocs/op1.01
BenchmarkRPC/client_to_client_via_server - ns/op
655641048
ns/op625660123
ns/op1.05
BenchmarkRPC/client_to_client_via_server - B/op
32075216
B/op32815272
B/op0.98
BenchmarkRPC/client_to_client_via_server - allocs/op
312423
allocs/op310207
allocs/op1.01
BenchmarkRPC/attach_large_document - ns/op
1324092100
ns/op1355198048
ns/op0.98
BenchmarkRPC/attach_large_document - B/op
1888379968
B/op1868233624
B/op1.01
BenchmarkRPC/attach_large_document - allocs/op
7506
allocs/op7466
allocs/op1.01
BenchmarkRPC/adminCli_to_server - ns/op
554697697
ns/op549909416
ns/op1.01
BenchmarkRPC/adminCli_to_server - B/op
37722360
B/op36780108
B/op1.03
BenchmarkRPC/adminCli_to_server - allocs/op
289791
allocs/op288662
allocs/op1.00
BenchmarkLocker - ns/op
66.85
ns/op65.86
ns/op1.02
BenchmarkLocker - B/op
16
B/op16
B/op1
BenchmarkLocker - allocs/op
1
allocs/op1
allocs/op1
BenchmarkLockerParallel - ns/op
38.8
ns/op38.59
ns/op1.01
BenchmarkLockerParallel - B/op
0
B/op0
B/opNaN
BenchmarkLockerParallel - allocs/op
0
allocs/op0
allocs/opNaN
BenchmarkLockerMoreKeys - ns/op
149.1
ns/op148.9
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
3833899
ns/op3838436
ns/op1.00
BenchmarkChange/Push_10_Changes - B/op
126133
B/op125677
B/op1.00
BenchmarkChange/Push_10_Changes - allocs/op
1253
allocs/op1254
allocs/op1.00
BenchmarkChange/Push_100_Changes - ns/op
14295904
ns/op14440415
ns/op0.99
BenchmarkChange/Push_100_Changes - B/op
642446
B/op647975
B/op0.99
BenchmarkChange/Push_100_Changes - allocs/op
6540
allocs/op6540
allocs/op1
BenchmarkChange/Push_1000_Changes - ns/op
114310991
ns/op115497921
ns/op0.99
BenchmarkChange/Push_1000_Changes - B/op
6168109
B/op6151829
B/op1.00
BenchmarkChange/Push_1000_Changes - allocs/op
62162
allocs/op62159
allocs/op1.00
BenchmarkChange/Pull_10_Changes - ns/op
2864205
ns/op2909758
ns/op0.98
BenchmarkChange/Pull_10_Changes - B/op
100462
B/op100076
B/op1.00
BenchmarkChange/Pull_10_Changes - allocs/op
952
allocs/op952
allocs/op1
BenchmarkChange/Pull_100_Changes - ns/op
4359968
ns/op4414877
ns/op0.99
BenchmarkChange/Pull_100_Changes - B/op
257227
B/op256121
B/op1.00
BenchmarkChange/Pull_100_Changes - allocs/op
3154
allocs/op3154
allocs/op1
BenchmarkChange/Pull_1000_Changes - ns/op
8446801
ns/op8566513
ns/op0.99
BenchmarkChange/Pull_1000_Changes - B/op
1397716
B/op1392837
B/op1.00
BenchmarkChange/Pull_1000_Changes - allocs/op
26870
allocs/op26865
allocs/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - ns/op
16979890
ns/op17384863
ns/op0.98
BenchmarkSnapshot/Push_3KB_snapshot - B/op
798844
B/op802328
B/op1.00
BenchmarkSnapshot/Push_3KB_snapshot - allocs/op
6543
allocs/op6549
allocs/op1.00
BenchmarkSnapshot/Push_30KB_snapshot - ns/op
117894205
ns/op118971166
ns/op0.99
BenchmarkSnapshot/Push_30KB_snapshot - B/op
6245989
B/op6156721
B/op1.01
BenchmarkSnapshot/Push_30KB_snapshot - allocs/op
62201
allocs/op62158
allocs/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - ns/op
6547205
ns/op6602183
ns/op0.99
BenchmarkSnapshot/Pull_3KB_snapshot - B/op
904462
B/op902235
B/op1.00
BenchmarkSnapshot/Pull_3KB_snapshot - allocs/op
14878
allocs/op14878
allocs/op1
BenchmarkSnapshot/Pull_30KB_snapshot - ns/op
14894058
ns/op14754933
ns/op1.01
BenchmarkSnapshot/Pull_30KB_snapshot - B/op
6990603
B/op6981411
B/op1.00
BenchmarkSnapshot/Pull_30KB_snapshot - allocs/op
144145
allocs/op144131
allocs/op1.00
BenchmarkSync/memory_sync_10_test - ns/op
6886
ns/op6984
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
51643
ns/op51752
ns/op1.00
BenchmarkSync/memory_sync_100_test - B/op
8652
B/op8655
B/op1.00
BenchmarkSync/memory_sync_100_test - allocs/op
273
allocs/op274
allocs/op1.00
BenchmarkSync/memory_sync_1000_test - ns/op
583929
ns/op593943
ns/op0.98
BenchmarkSync/memory_sync_1000_test - B/op
74802
B/op74410
B/op1.01
BenchmarkSync/memory_sync_1000_test - allocs/op
2138
allocs/op2113
allocs/op1.01
BenchmarkSync/memory_sync_10000_test - ns/op
7110422
ns/op7699568
ns/op0.92
BenchmarkSync/memory_sync_10000_test - B/op
753396
B/op761656
B/op0.99
BenchmarkSync/memory_sync_10000_test - allocs/op
20428
allocs/op20495
allocs/op1.00
BenchmarkTextEditing - ns/op
19445546182
ns/op19296651559
ns/op1.01
BenchmarkTextEditing - B/op
9041785016
B/op9041594456
B/op1.00
BenchmarkTextEditing - allocs/op
19921565
allocs/op19920775
allocs/op1.00
This comment was automatically generated by workflow using github-action-benchmark.